lab-website-template icon indicating copy to clipboard operation
lab-website-template copied to clipboard

Auto-cite plugins for NCBI and Google Scholar

Open vincerubinetti opened this issue 4 years ago • 4 comments
trafficstars

vincerubinetti avatar Mar 03 '21 21:03 vincerubinetti

Last I checked, the ORCID api is no longer open to anonymous requests. You need to sign up for an API key. So, each lab that uses this template will need to register their own key.

How I envision this working is that the user signs up for their key, and puts the keys/tokens/secrets in their github repo's secret. Then the auto citations script will receive those secrets (github secrets are available to github actions and scripts running in them) and use them to authenticate with ORCID and pull papers.

vincerubinetti avatar Apr 07 '21 17:04 vincerubinetti

Useful other sources besides ORCID:

  • https://www.ncbi.nlm.nih.gov/sites/myncbi/14ygpzWQyXU5Y/bibliography/48560332/public/?sort=date&direction=descending
  • https://serpapi.com/google-scholar-author-api

vincerubinetti avatar Apr 21 '21 19:04 vincerubinetti

@cgreene FYI, I emailed ORCID about this yesterday. Haven't received a response yet.

... On one of your pages, it says that you have to register an application to be able to use the public api, but just testing out some of the end points, it seems like no credentials/authentication is necessary. If I use the public endpoint without credentials, do I (or rather the users of my template) run the risk of being rate-limited or ip-banned from the API? Do you intend to keep the public API open/credential-less forever? If you do recommend creating credentials, do I have to have each of my users set one up for themselves (a somewhat big burden on them), or is it acceptable to have just one set of credentials for the template itself and store that in plain text in the template repo?

vincerubinetti avatar Apr 30 '21 19:04 vincerubinetti

Is the goal to have the entire process automated and then generate a PR with new pubs from these sources? There is an existing R package that can be used to do this with Google Scholar.

trife avatar Jul 07 '22 22:07 trife