Using the auth token to access API data
curl -L -H "Content-Type: application/json" \
-H "Authorization: Bearer $ORCID_ACCESS_TOKEN" \
-X GET "https://pub.orcid.org/v1.2/0000-0003-0248-0813/orcid-works" > example.json
- Note we’re using the public ORCID API v1.2
- ORCID id we are searching for is 0000-0003-0248-0813 (it’s in that middle of the URL in quotes)
- We’re piping the result into example.json