LibraryOfCongress / data-exploration

Tutorials for working with Library of Congress collections data
https://libraryofcongress.github.io/data-exploration/
Creative Commons Zero v1.0 Universal
188 stars 52 forks source link

Using the /search/ API to search by MARC 21 codes #35

Closed UromPLAt closed 1 year ago

UromPLAt commented 2 years ago

Hi guys, Is that possible?

Talking about this: https://libraryofcongress.github.io/data-exploration/requests.html#searching From the GUI, I can generate queries like this: 650A Computer AND 650A networks NOT K650 Neural NOT 650V Congresses

Searching MARC 21 tags directly.

ptrourke commented 1 year ago

Sorry, this issue was missed. Can you provide a URL with the query you're talking about so I can test? When I try the same query in the search box, I'm not getting any results. I suspect you're querying catalog.loc.gov, which isn't accessible through the loc.gov API, but rather through the Z39.50 SRU interface (https://www.loc.gov/z3950/lcserver.html).

UromPLAt commented 1 year ago

I guess so, but this was so long ago that I don't remember what I was running. I'll close this, thanks!