Last active
May 23, 2023 18:27
-
-
Save jvwong/2a18ed724a8e7fdd9fe06c16283aedf7 to your computer and use it in GitHub Desktop.
Crossref: Query
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QUERY="Inositol pyrophosphate dynamics reveals control of the yeast PHO starvation program through 1,5-IP8 and the SPX domain of Pho81" | |
curl --get --data-urlencode "query.bibliographic=${QUERY}" "https://api.crossref.org/works/?filter=type:journal-article,type:posted-content&rows=1" | jq '. | { title: .message.items[0].title[0], abstract: .message.items[0].abstract, doi: .message.items[0].DOI, publisher: .message.items[0].publisher }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment