Take a look at Mike's email below, which may have quickly fell down the inbox, helped along by an unhelpful reply. It has the suggest pattern, but to repeat the general pattern:
This will provide auto-suggestions for Subjects, ChildrensSubjects, GenreForms, and Names:
This will provide auto-suggestions for Subjects only (replace "subjects"
with "names" for only names and so on):
Network Development and MARC Standards Office
Library of Congress
> -----Original Message-----
> From: Code for Libraries [mailto:[log in to unmask]] On Behalf Of
> Michael J. Giarlo
> Sent: Tuesday, June 04, 2013 8:05 PM
> To: [log in to unmask]
> Subject: Re: [CODE4LIB] LOC Subject Headings API
> How about id.loc.gov's OpenSearch-powered autosuggest feature?
> mjg@moby:~$ curl http://id.loc.gov/authorities/suggest/?q=Biology
> ["Biology",["Biology","Biology Colloquium","Biology Curators'
> Group","Biology Databook Editorial Board (U.S.)","Biology and Earth
> Sciences Teaching Institute","Biology and Management of True Fir in the
> Pacific Northwest Symposium (1981 : Seattle, Wash.)","Biology and
> Resource Management Program (Alaska Cooperative Park Studies
> Unit)","Biology and behavior series","Biology and environment
> (Macmillan Press)","Biology and management of old-growth forests"],["1
> result","1 result","1 result","1
> result","1 result","1 result","1 result","1 result","1 result","1
> On Tue, Jun 4, 2013 at 7:51 PM, Joshua Welker <[log in to unmask]>
> > I did see that, and it will work in a pinch. But the authority file
> > pretty massive--almost 1GB-- and would be difficult to handle in an
> > automated way and without completely killing my web app due to memory
> > constraints while searching the file. Thanks, though.
> > Josh Welker
> > -----Original Message-----
> > From: Bryan Baldus [mailto:[log in to unmask]]
> > Sent: Tuesday, June 04, 2013 6:39 PM
> > To: Code for Libraries; Joshua Welker
> > Subject: RE: LOC Subject Headings API
> > On Tuesday, June 04, 2013 6:31 PM, Joshua Welker [[log in to unmask]]
> > wrote:
> > >I am building an auto-suggest feature into our library's search box,
> > >and
> > I am wanting to include LOC subject headings in my suggestions list.
> > Does anyone know of any web service that allows for automated
> > harvesting of LOC Subject Headings? I am also looking for name
> authorities, for that matter.
> > Any format will be acceptable to me: RDF, XML, JSON, HTML, CSV... I
> > have spent a while Googling with no luck, but this seems like the
> > of general-purpose thing that a lot of people would be interested in.
> > I feel like I must be missing something. Any help is appreciated.
> > Have you seen http://id.loc.gov/ with bulk downloads in various
> > formats at http://id.loc.gov/download/
> > I hope this helps,
> > Bryan Baldus
> > Senior Cataloger
> > Quality Books Inc.
> > The Best of America's Independent Presses
> > 1-800-323-4241x402
> > [log in to unmask]
> > [log in to unmask]
> > http://home.comcast.net/~eijabb/