Open sfolsom opened 11 months ago
@sfolsom This is ready for you to test on lookup-int! Direct lookup results use the id.loc.gov api (same results as what you'd find here: https://id.loc.gov/search/?q=cs:http://id.loc.gov/authorities/genreForms). Each result has an id, label, and uri parsed from: https://id.loc.gov/search/?q=cs:http://id.loc.gov/authorities/genreForms&format=json
Please let me know if you'd like any changes!
LC genres lookup endpoint example: https://lookup-int.ld4l.org/authorities/search/loc/genreForms?q=rondels
These look good! It's nice to see that LOC's indexing allows searching variant headings, not just preferred headings.
Create direct lookups for the following LC Genre.
The Samvera QA Code seems to offer search for LC Genres: https://github.com/samvera/questioning_authority/wiki/Connecting-to-Library-of-Congress-%28LOC%29.
Related links: See https://id.loc.gov/techcenter/searching.html for API documentation.
Example of a direct search config to base new config off: https://github.com/cul-it/qa_server/blob/f3083a8f1392e72890f8d6e6a763c9e0ace1ea0c/config/authorities/linked_data/oclcfast_direct.json#L32
Data to bring in and translate, if available in the API: https://docs.google.com/spreadsheets/d/1rPvEoP9iYNkxJ0eWC8gXe3ci7e6mhW0da59xkGhadi0/edit#gid=696491968