Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieve records from the OCLC Metadata API based on OCLC number #35

Open
4 tasks
mzelesky opened this issue Dec 20, 2024 · 0 comments
Open
4 tasks

Retrieve records from the OCLC Metadata API based on OCLC number #35

mzelesky opened this issue Dec 20, 2024 · 0 comments

Comments

@mzelesky
Copy link
Member

As part of the work to update series handling to current standards, I need to be able to retrieve MARC records from OCLC via the Metadata API based on OCLC number.

See https://developer.api.oclc.org/wc-metadata-v2#/Manage%20Bibliographic%20Records/bib-read for more details on the Metadata API.

This API uses OAuth2 authentication.

Acceptance criteria:

  • A class is created to authenticate via OAuth2 authentication based on an OCLC WSKey combined with a client secret
  • A class is created to retrieve a MARC record from the Metadata API
  • A class is created to retrieve MARC records from OCLC for an arbitrary number of OCLC numbers.
    • The class handles reauthorizing OAuth based on time elapsed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant