View on GitHub

Repository-crossref

Repository-crossref

Crossref on wikipedia

Searches

They return json they can be made in a browser with

https://api.crossref.org/works?query.author=richard+feynman

or from a unix shell with curl:

curl "https://api.crossref.org/works?query.author=richard+feynman"

TO get just the header:

curl --head "https://api.crossref.org/works?query.author=richard+feynman"

A nice format may be more readable

curl "https://api.crossref.org/works?query.author=richard+feynman" | json_pp -json_opt pretty,canonical

Information about the API

Only Crossref DOIs can be tested. Examples:

https://api.crossref.org/works/10.1037/0003-066X.59.1.29/agency

To determine if member ID 98 exists:

curl --head "https://api.crossref.org/members/98"

To determine if a journal with ISSN 1549-7712 exists:

curl --head "https://api.crossref.org/journals/1549-7712"

To select a subset of elements

curl "https://api.crossref.org/works?sample=10&select=DOI,title"

Info on components

Info on components

More documentation on https://github.com/CrossRef/rest-api-doc#crossref-rest-api

The following search are good and the python script are not satisfactory.

 curl "https://api.crossref.org/works?query.author=Geoffrey+Bodenhausen&rows=1000" | json_pp -json_opt pretty,canonical>data/bodenhausen_all.json
 python3 data/filter.py bodenhausen_all.json zenodo
 python3 find.py data/bodenhausen_all.json zenodo

for javascript version a html file is also produced install with

npm install yargs
node src/filter.js --file_path data/bodenhausen_all.json --keyword zenodo```