Open NeddTheRedd opened 12 hours ago
Related to this, we were wondering about using API (ORCID's and ours) to allow site members to add their HSS Commons publications to their ORCID accounts. Currently, syncing is only possible in the other direction, using the ORCID import tools Archie created for profile info and publications.
In case it's helpful, I know of at least two other sites that allow members to push data to ORCID: MLA International Bibliography’s MLA BibLink tool (https://biblink.mla.org/) and HeinOnline for Law (https://home.heinonline.org/blog/2020/01/heinonline-has-integrated-with-orcid/). Perhaps looking at their sites/code could give us some ideas?
When attempted, the HSS Commons API gave a 500 server error, but it is worth seeing if this can be resolved as it would be a better way to pull publication data (and other information) from HSS Commons than a database dump.
Graham may be able to assist with admin settings and will look to see if he sees any he believes might be relevant.
Graham passed us this link to publication metadata and it sort of appears to be an API--the 500 I received on previous attempts was part of registering an application to use the API, which is the first step in getting access to the API--but maybe it's not really the case and we can just step around this for queries. Worth poking at a bit more at any rate.
Previous comments from Drew on Gitlab:
Might not need an application API key for the queries we're attempting.
curl 'https://hsscommons.ca/api/publications/list'
returns a bunch of data--not sure how many entries though yet; haven't unpacked the JSON (first off, might be paginated).Endpoint documentation