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

Identify all OpenAlex work ID's for the selected items #3

Open
mtillman14 opened this issue Feb 13, 2025 · 1 comment
Open

Identify all OpenAlex work ID's for the selected items #3

mtillman14 opened this issue Feb 13, 2025 · 1 comment
Assignees

Comments

@mtillman14
Copy link
Owner

mtillman14 commented Feb 13, 2025

Inputs:

  1. collection name (if none, then use "My Library", i.e. all)

Steps:

  1. Get the list of Zotero keys for items in the specified collection using the Zotero local API (if none: [])
  2. Check for "OpenAlex Work ID: {workID}" in the "extras" field of the work using Zotero local API
  3. If OpenAlex work ID not present in "extras", use the DOI to query the OpenAlex API for the work ID.
  4. Store new OpenAlex work ID's in the "extras" field for the respective Zotero item using the Zotero local API.
  • Store the work ID's to a list
  • Store the work objects to a list
  1. If no DOI present, then what?

Outputs:

  1. Updated "extras" field
  2. Comprehensive OpenAlex work ID's list (from steps 2 & 3)
  3. New OpenAlex work ID's list
  4. New OpenAlex work objects list
@mtillman14 mtillman14 self-assigned this Feb 13, 2025
@mtillman14
Copy link
Owner Author

#5 next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant