Try this: curl 'http://lx2.loc.gov:210/lcdb?version=1.1&operation=searchRetrieve&query=bath.isbn=0691036349&maximumRecords=1&recordSchema=dc'
Without the single quotes around the URL you'll need to figure out how to quote the ampersands. I took the lazy route. On Tue, Jun 15, 2021 at 2:34 PM Russell Senior <[email protected]> wrote: > > On Tue, Jun 15, 2021 at 1:06 PM Russell Senior > <[email protected]> wrote: > > > > On Mon, Jun 14, 2021 at 9:35 PM Dick Steffens <[email protected]> wrote: > > > > > > On 6/14/21 7:49 PM, Keith Lofstrom wrote: > > > > On Mon, Jun 14, 2021 at 10:00:49AM -0700, John Sechrest wrote: > > > >> I once thought that I could convert my pile of old Science Fiction > > > >> books > > > >> into a list with barcodes.... > > > >> Sadly... None of them had barcodes.... > > > > Indeed, most of the books that I will donate to Internet > > > > Archive don't have bar codes, many don't have ISBNs, and > > > > a few are old enough to be in the public domain. > > > > > > > > But if I segregate the bar-coded books onto some boxes, > > > > and the older books into others, and the public domain > > > > books into a third, their handling and authentication > > > > tasks are simpler. > > > > > > > > Keith > > > > > > I have no idea if this is possible, but can one search the Library of > > > Congress online and find, at a minimum, the LOC code, and would that be > > > helpful? > > > > https://catalog.loc.gov/vwebv/ui/en_US/htdocs/help/searchBrowse.html > 0691036349 > https://catalog.loc.gov/browse > > Change the search type from TITLES (or whatever it is) to STANDARD > NUMBERS using the dropdown box, type your ISBN in the adjacent field, > click Search, and you should get the LOC record. > > For example: 0691036349 got me Geophysical Inverse Theory by Robert L. Parker. > > The response URL looks like this: > > > https://catalog.loc.gov/vwebv/search?searchCode=STNO&searchArg=0691036349&searchType=1&limitTo=none&fromYear=&toYear=&limitTo=LOCA%3Dall&limitTo=PLAC%3Dall&limitTo=TYPE%3Dall&limitTo=LANG%3Dall&recCount=1 > > Note in particular "searchCode=STNO" and "searchArg=0691036349". From > that, it might be possible to script this, particularly if you can ask > it for a machine readable response. > > > > > -- > > Russell Senior > > [email protected]
