SlideShare a Scribd company logo
1 of 24
Download to read offline
What is the
ORCID API and
what you can do
with it?
Robert Peters
Technology Operations Director
http://orcid.org/0000-0002-0036-9460
Let’s start by defining some common phrases
● API
● OAuth2
● RESTful service
● Persistent identifier
● Unique identifier
I lied - these are not common at all....
I’ll try to translate:
Very exact programming terms :-(
Into high level abstractions in plain English :-)
API
An application programming interface (API) is a set of routines, protocols, and
tools for building software and applications.
Translation:
If your software gives my software one of these instructions I’ve defined, it
will perform this action, or return this information.
OAuth2
OAuth is an open standard for authorization, commonly used as a way for Internet users to log in to third party websites
using their Microsoft, Google, Facebook, Twitter, One Network etc. accounts without exposing their password. Generally,
OAuth provides to clients a "secure delegated access" to server resources on behalf of a resource owner. It specifies a
process for resource owners to authorize third-party access to their server resources without sharing their credentials.
Designed specifically to work with Hypertext Transfer Protocol (HTTP), OAuth essentially allows access tokens to be issued
to third-party clients by an authorization server, with the approval of the resource owner. The third party then uses the
access token to access the protected resources hosted by the resource server.
OAuth 2.0 is the next evolution of the OAuth protocol and is not backwards compatible with OAuth 1.0. OAuth 2.0 focuses
on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile
phones, and living room devices. The specification and associated RFCs are developed by the IETF OAuth WG; the main
framework was published in October 2012.
Translation:
A standard set of rules which resource owners (commonly users) to grant
access to APIs SECURELY.
RESTful Service
In computing, representational state transfer (REST) is the software architectural style of the World Wide Web. More
precisely, REST is an architectural style consisting of a coordinated set of architectural constraints applied to components,
connectors, and data elements, within a distributed hypermedia system. REST ignores the details of component
implementation and protocol syntax in order to focus on the roles of components, the constraints upon their interaction with
other components, and their interpretation of significant data elements. Through the application of REST architectural
constraints certain architectural properties are induced: Performance, Scalability, Simplicity, Modifiability, Visibility,
Portability, and Reliability………………………………...
………….To the extent that systems conform to the constraints of REST they can be called RESTful. RESTful systems
typically, but not always, communicate over Hypertext Transfer Protocol (HTTP) with the same HTTP verbs (GET, POST,
PUT, DELETE, etc.) that web browsers use to retrieve web pages and to send data to remote servers. REST systems
interface with external systems as web resources identified by Uniform Resource Identifiers (URIs), for example
/people/tom, which can be operated upon using standard verbs such as DELETE /people/tom.
Translation:
A web API that implements a popular and simple set of instructions in the
same way as a whole bunch of other web APIs do.
Persistent Identifier
A persistent identifier (PID) is a long-lasting reference to a digital object—a single
file or set of files. Noted persistent identifier systems include: Archival Resource
Keys (ARKs), Digital Object Identifiers (DOIs), the Handle System, Persistent
Uniform Resource Locators (PURLs), Uniform Resource Names (URNs), and
Extensible Resource Identifiers (XRIs).
Translation:
An identifier that exists for a long long long time and points at data.
Unique Identifier
With reference to a given (possibly implicit) set of objects, a unique identifier (UID)
is any identifier which is guaranteed to be unique among all identifiers used for
those objects and for a specific purpose.
Translation:
Being the only one of its kind, a set of letters and numbers that identifies
one thing and only that thing.
Great! To review:
API - If your software gives my software one of these instructions I’ve defined, it
will perform this action, or return this information.
OAuth2 - A standard set of rules which resource owners (commonly users) to
grant access to APIs SECURELY.
RESTful Service - A web API that implements a popular and simple set of
instructions in the same way as a whole bunch of other web APIs do.
Persistent Identifier - An identifier that exists for a long long long time and points
at data.
Unique Identifier - Being the only one of its kind, a set of letters and numbers that
identifies one thing and only that thing.
½ done - why don’t we talk about ORCID?
What is an ORCID iD?
An ORCID iD is a unique persistent identifier which resolves to data about a
researcher. Researchers control data associated with their record.
It looks like this:
http://orcid.org/0000-0001-5727-2427
And returns things like this!
XML Data
JSON Data
HTML
What are the ORCID APIs?
Public API - Free and available to anyone
○ Authenticate
○ Read Public
Member API - Only available to member organizations
○ Read Limited (non-public information a researcher chooses to share with a member
organization)
○ Add and update records (requires users permission)
○ Webhooks
○ Researcher Notifications
What’s in a ORCID record?
Organized into two sections.
Person:
Names, Countries, Keywords, Websites, Person Identifiers
Activities:
Education, Employment, Funding, Peer Reviews, and Works
Sample OAuth2 flow and API calls
1. User is sent from your website to ORCID’s authorization page. URL specifies
permission your application is requesting from the user.
2. User approves and is sent to a URL you specify (redirect_url); ORCID API
attaches an authorization code to the end of this URL
1
2
3. Your site checks the redirect url for the authorization code
4. Your site exchanges the authorization code (using your API client ID and
secret) for the user’s authenticated ORCID iD, name and an API access token
5. Token can used to make API calls, per the permissions that you requested
curl -Sk -H 'Content-Type: application/json' -H 'Authorization: Bearer https://api.qa.orcid.org/v1.
2_rc6/0000-0001-6356-0580
{"message-version":"1.2_rc6","orcid-profile":{"orcid":null,"orcid-id":null,"orcid-identifier":{"value":null,"uri":"http://qa.orcid.org/0000-0001-6356-0580","
path":"0000-0001-6356-0580","host":"qa.orcid.org"},"orcid-deprecated":null,"orcid-preferences":{"locale":"EN"},"orcid-history":{"creation-method":"
WEBSITE","completion-date":{"value":1358374706031},"submission-date":{"value":1357936637938},"last-modified-date":{"value":1463177638836},"
claimed":{"value":true},"source":null,"deactivation-date"...................................
Ok, that was a little scary. Let’s simplify:
Read the record or
Update the record
Get researcher’s
permission and
ORCID iD
Do you have
permission to do
what you want to do?
Enough tech!
What can you do & build using the ORCID APIs?
● Authenticate a user’s ORCID iD
● Push a person identifier to ORCID
● Push work metadata or other activity to the API
● Insights into researcher impact
Authenticating a user’s ORCID iD (Nature)
…..
…..
Nature Journal uses
ORCID’s OAuth2 flow to
authenticate a
researcher’s ORCID iD.
This prevents user-
driven errors such as
typos.
Pushing a person identifier to ORCID (Loop)
Loop pushes their identifier to ORCID
via the API, and a link to Loop is shown.
Pushing a work citation to the API (Crossref)
Insights into researcher impact (Impactstory)
ORCID serves as the
infrastructure for
Impactstory provide
insights into researcher
impact.
The true power of our APIs is the flexibility to use
them in ways we haven’t even dreamed of!
TODO:
One big screenshot of websites that use ORCI
Where to go from here?
Technical documentation: http://members.orcid.org/api
API users group: https://groups.google.com/forum/#!forum/orcid-api-users
Technical webinars: http://members.orcid.org/eventlist
Vendor documentation: https://members.orcid.org/orcid-enabled-systems
ORCID support team, they know everything! support@orcid.org
Thanks! Feel free to contact me directly at
R.Peters@orcid.org

More Related Content

What's hot

CrossRef Annual Meeting 2012 ORCID Laure Haak
CrossRef Annual Meeting 2012 ORCID Laure HaakCrossRef Annual Meeting 2012 ORCID Laure Haak
CrossRef Annual Meeting 2012 ORCID Laure Haak
Crossref
 

What's hot (20)

ORCID Integration with Institutional Repositories (D. Grenz)
ORCID Integration with Institutional Repositories (D. Grenz)ORCID Integration with Institutional Repositories (D. Grenz)
ORCID Integration with Institutional Repositories (D. Grenz)
 
ORCID identifiers in research workflows - ACM (B. Rous)
ORCID identifiers in research workflows - ACM (B. Rous)ORCID identifiers in research workflows - ACM (B. Rous)
ORCID identifiers in research workflows - ACM (B. Rous)
 
Enabling information interoperability with identifiers (L. Haak)
Enabling information interoperability with identifiers  (L. Haak)Enabling information interoperability with identifiers  (L. Haak)
Enabling information interoperability with identifiers (L. Haak)
 
Identifying Springer's Author (with ORCID iD) on SpringerLink (H. Aziz)
Identifying Springer's Author (with ORCID iD) on SpringerLink (H. Aziz)Identifying Springer's Author (with ORCID iD) on SpringerLink (H. Aziz)
Identifying Springer's Author (with ORCID iD) on SpringerLink (H. Aziz)
 
Research Management & Publishing (M. Jagerhorn)
Research Management & Publishing (M. Jagerhorn)Research Management & Publishing (M. Jagerhorn)
Research Management & Publishing (M. Jagerhorn)
 
ORCID Implementation in Open Access Repositories and Institutional Research I...
ORCID Implementation in Open Access Repositories and Institutional Research I...ORCID Implementation in Open Access Repositories and Institutional Research I...
ORCID Implementation in Open Access Repositories and Institutional Research I...
 
ORCID identifiers in research workflows - PLOS (V. Kiermer)
ORCID identifiers in research workflows - PLOS (V. Kiermer)ORCID identifiers in research workflows - PLOS (V. Kiermer)
ORCID identifiers in research workflows - PLOS (V. Kiermer)
 
ORCID in platform research lifecycle products - Digital Science (A. Higgs)
ORCID in platform research lifecycle products - Digital Science (A. Higgs)ORCID in platform research lifecycle products - Digital Science (A. Higgs)
ORCID in platform research lifecycle products - Digital Science (A. Higgs)
 
ORCID updates (N. Miyairi)
ORCID updates (N. Miyairi)ORCID updates (N. Miyairi)
ORCID updates (N. Miyairi)
 
ORCID in the research lifecycle, Elsevier: Scopus, PURE, SciVal (L. Schoombee)
ORCID in the research lifecycle, Elsevier: Scopus, PURE, SciVal (L. Schoombee)ORCID in the research lifecycle, Elsevier: Scopus, PURE, SciVal (L. Schoombee)
ORCID in the research lifecycle, Elsevier: Scopus, PURE, SciVal (L. Schoombee)
 
ORCID identifiers in research workflows (E. Pentz)
ORCID identifiers in research workflows (E. Pentz)ORCID identifiers in research workflows (E. Pentz)
ORCID identifiers in research workflows (E. Pentz)
 
ORCID identifiers in research workflows - Wellcome Trust (R. Kiley)
ORCID identifiers in research workflows - Wellcome Trust (R. Kiley)ORCID identifiers in research workflows - Wellcome Trust (R. Kiley)
ORCID identifiers in research workflows - Wellcome Trust (R. Kiley)
 
CrossRef Annual Meeting 2012 ORCID Laure Haak
CrossRef Annual Meeting 2012 ORCID Laure HaakCrossRef Annual Meeting 2012 ORCID Laure Haak
CrossRef Annual Meeting 2012 ORCID Laure Haak
 
MyRID: ORCID Integration in Malaysia (T. Dharmalingam)
MyRID: ORCID Integration in Malaysia (T. Dharmalingam)MyRID: ORCID Integration in Malaysia (T. Dharmalingam)
MyRID: ORCID Integration in Malaysia (T. Dharmalingam)
 
Panel on ORCID integrations by publishers
Panel on ORCID integrations by publishersPanel on ORCID integrations by publishers
Panel on ORCID integrations by publishers
 
ORCID API in action (A. Wrigley)
ORCID API in action (A. Wrigley)ORCID API in action (A. Wrigley)
ORCID API in action (A. Wrigley)
 
Your Work is Distinctive: What About Your Name? (M. Buys)
Your Work is Distinctive: What About Your Name? (M. Buys)Your Work is Distinctive: What About Your Name? (M. Buys)
Your Work is Distinctive: What About Your Name? (M. Buys)
 
Why, What & How: The role of ORCID in Research Management (M. Buys)
Why, What & How: The role of ORCID in Research Management (M. Buys)Why, What & How: The role of ORCID in Research Management (M. Buys)
Why, What & How: The role of ORCID in Research Management (M. Buys)
 
ORCID in Platforms and Services - Thomson Reuters (J. Prinsen)
ORCID in Platforms and Services - Thomson Reuters (J. Prinsen)ORCID in Platforms and Services - Thomson Reuters (J. Prinsen)
ORCID in Platforms and Services - Thomson Reuters (J. Prinsen)
 
ORCID overview: why your lifelong identifier is important in the digital age ...
ORCID overview: why your lifelong identifier is important in the digital age ...ORCID overview: why your lifelong identifier is important in the digital age ...
ORCID overview: why your lifelong identifier is important in the digital age ...
 

Similar to What is the ORCID API and what you can do with it? (R. Peters)

Single-Page-Application & REST security
Single-Page-Application & REST securitySingle-Page-Application & REST security
Single-Page-Application & REST security
Igor Bossenko
 

Similar to What is the ORCID API and what you can do with it? (R. Peters) (20)

ORCID Query API Phase 1
ORCID Query API Phase 1ORCID Query API Phase 1
ORCID Query API Phase 1
 
Holt "Working with Scholarly APIs: A NISO Training Series, Session Two: ORCID"
Holt "Working with Scholarly APIs: A NISO Training Series, Session Two: ORCID"Holt "Working with Scholarly APIs: A NISO Training Series, Session Two: ORCID"
Holt "Working with Scholarly APIs: A NISO Training Series, Session Two: ORCID"
 
API Testing Basics.pptx
API Testing Basics.pptxAPI Testing Basics.pptx
API Testing Basics.pptx
 
GHC18 Abstract - API Security, a Grail Quest
GHC18 Abstract - API Security, a Grail QuestGHC18 Abstract - API Security, a Grail Quest
GHC18 Abstract - API Security, a Grail Quest
 
Five Things You Gotta Know About Modern Identity
Five Things You Gotta Know About Modern IdentityFive Things You Gotta Know About Modern Identity
Five Things You Gotta Know About Modern Identity
 
Build your APIs with apigility
Build your APIs with apigilityBuild your APIs with apigility
Build your APIs with apigility
 
Identity Manager Opensource OpenIDM Architecture
Identity Manager Opensource OpenIDM ArchitectureIdentity Manager Opensource OpenIDM Architecture
Identity Manager Opensource OpenIDM Architecture
 
SWXG 2010.6.9 v2
SWXG 2010.6.9 v2SWXG 2010.6.9 v2
SWXG 2010.6.9 v2
 
How RESTful Is Your REST?
How RESTful Is Your REST?How RESTful Is Your REST?
How RESTful Is Your REST?
 
REST API Design & Development
REST API Design & DevelopmentREST API Design & Development
REST API Design & Development
 
ORCID Update - AAP PSP Annual Meeting February 2011
ORCID Update - AAP PSP Annual Meeting February 2011ORCID Update - AAP PSP Annual Meeting February 2011
ORCID Update - AAP PSP Annual Meeting February 2011
 
ざっくり解説 LINE ログイン
ざっくり解説 LINE ログインざっくり解説 LINE ログイン
ざっくり解説 LINE ログイン
 
Rest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API SecurityRest API Security - A quick understanding of Rest API Security
Rest API Security - A quick understanding of Rest API Security
 
Single-Page-Application & REST security
Single-Page-Application & REST securitySingle-Page-Application & REST security
Single-Page-Application & REST security
 
Mobile Cloud Identity
Mobile Cloud IdentityMobile Cloud Identity
Mobile Cloud Identity
 
Securing RESTful API
Securing RESTful APISecuring RESTful API
Securing RESTful API
 
OpenID Connect Explained
OpenID Connect ExplainedOpenID Connect Explained
OpenID Connect Explained
 
Facebook_Oauth
Facebook_OauthFacebook_Oauth
Facebook_Oauth
 
Facebook_Oauth
Facebook_OauthFacebook_Oauth
Facebook_Oauth
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 

More from ORCID, Inc

More from ORCID, Inc (20)

ORCID at UniKL (P. Hamzah)
ORCID at UniKL (P. Hamzah)ORCID at UniKL (P. Hamzah)
ORCID at UniKL (P. Hamzah)
 
ORCID Integration Videos
ORCID Integration VideosORCID Integration Videos
ORCID Integration Videos
 
ORCID as a Community Initiative (N. Miyairi)
ORCID as a Community Initiative (N. Miyairi)ORCID as a Community Initiative (N. Miyairi)
ORCID as a Community Initiative (N. Miyairi)
 
Introduction and Welcome to the 2017 ORCID Malaysia Workshop (N. Miyairi)
Introduction and Welcome to the 2017 ORCID Malaysia Workshop (N. Miyairi)Introduction and Welcome to the 2017 ORCID Malaysia Workshop (N. Miyairi)
Introduction and Welcome to the 2017 ORCID Malaysia Workshop (N. Miyairi)
 
ORCID @ Khalifa University
ORCID @ Khalifa UniversityORCID @ Khalifa University
ORCID @ Khalifa University
 
Benefits to researchers who use ORCID (P. Purnell)
Benefits to researchers who use ORCID (P. Purnell)Benefits to researchers who use ORCID (P. Purnell)
Benefits to researchers who use ORCID (P. Purnell)
 
ORCID in the Publishing Workflow (Mochammad Tanzil Multazam)
ORCID in the Publishing Workflow (Mochammad Tanzil Multazam)ORCID in the Publishing Workflow (Mochammad Tanzil Multazam)
ORCID in the Publishing Workflow (Mochammad Tanzil Multazam)
 
What in the World is ORCID? (Haak)
What in the World is ORCID? (Haak)What in the World is ORCID? (Haak)
What in the World is ORCID? (Haak)
 
ORCID as a Community Initiative (Miyairi)
ORCID as a Community Initiative (Miyairi)ORCID as a Community Initiative (Miyairi)
ORCID as a Community Initiative (Miyairi)
 
ORCID Integration Videos
ORCID Integration VideosORCID Integration Videos
ORCID Integration Videos
 
The Latest on ORCID API v2
The Latest on ORCID API v2 The Latest on ORCID API v2
The Latest on ORCID API v2
 
What’s New in ORCID Tech 2016 (Robert Peters)
What’s New in ORCID Tech 2016 (Robert Peters)What’s New in ORCID Tech 2016 (Robert Peters)
What’s New in ORCID Tech 2016 (Robert Peters)
 
ORCID API Perks & Pitfalls
ORCID API Perks & PitfallsORCID API Perks & Pitfalls
ORCID API Perks & Pitfalls
 
Raising Awareness & Encouraging ORCID Registrations as an Author Services Pro...
Raising Awareness & Encouraging ORCID Registrations as an Author Services Pro...Raising Awareness & Encouraging ORCID Registrations as an Author Services Pro...
Raising Awareness & Encouraging ORCID Registrations as an Author Services Pro...
 
Convey ORCID Integration Presentation (Heather Pierce)
Convey ORCID Integration Presentation (Heather Pierce)Convey ORCID Integration Presentation (Heather Pierce)
Convey ORCID Integration Presentation (Heather Pierce)
 
ORCID and Peer Review in EJPress (Anna Jester)
ORCID and Peer Review in EJPress (Anna Jester)ORCID and Peer Review in EJPress (Anna Jester)
ORCID and Peer Review in EJPress (Anna Jester)
 
CHORUS: A Story About Efficiencies (Howard Ratner)
CHORUS: A Story About Efficiencies (Howard Ratner)CHORUS: A Story About Efficiencies (Howard Ratner)
CHORUS: A Story About Efficiencies (Howard Ratner)
 
Digital Science Presentation at ORCID Outreach Meeting (Ashlea Higgs)
Digital Science Presentation at ORCID Outreach Meeting (Ashlea Higgs)Digital Science Presentation at ORCID Outreach Meeting (Ashlea Higgs)
Digital Science Presentation at ORCID Outreach Meeting (Ashlea Higgs)
 
ORCID Update: American Geophysical Union (Brooks Hanson)
ORCID Update: American Geophysical Union (Brooks Hanson)ORCID Update: American Geophysical Union (Brooks Hanson)
ORCID Update: American Geophysical Union (Brooks Hanson)
 
ORCID Update (October 2016)
ORCID Update (October 2016)ORCID Update (October 2016)
ORCID Update (October 2016)
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

What is the ORCID API and what you can do with it? (R. Peters)

  • 1. What is the ORCID API and what you can do with it? Robert Peters Technology Operations Director http://orcid.org/0000-0002-0036-9460
  • 2. Let’s start by defining some common phrases ● API ● OAuth2 ● RESTful service ● Persistent identifier ● Unique identifier
  • 3. I lied - these are not common at all.... I’ll try to translate: Very exact programming terms :-( Into high level abstractions in plain English :-)
  • 4. API An application programming interface (API) is a set of routines, protocols, and tools for building software and applications. Translation: If your software gives my software one of these instructions I’ve defined, it will perform this action, or return this information.
  • 5. OAuth2 OAuth is an open standard for authorization, commonly used as a way for Internet users to log in to third party websites using their Microsoft, Google, Facebook, Twitter, One Network etc. accounts without exposing their password. Generally, OAuth provides to clients a "secure delegated access" to server resources on behalf of a resource owner. It specifies a process for resource owners to authorize third-party access to their server resources without sharing their credentials. Designed specifically to work with Hypertext Transfer Protocol (HTTP), OAuth essentially allows access tokens to be issued to third-party clients by an authorization server, with the approval of the resource owner. The third party then uses the access token to access the protected resources hosted by the resource server. OAuth 2.0 is the next evolution of the OAuth protocol and is not backwards compatible with OAuth 1.0. OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and living room devices. The specification and associated RFCs are developed by the IETF OAuth WG; the main framework was published in October 2012. Translation: A standard set of rules which resource owners (commonly users) to grant access to APIs SECURELY.
  • 6. RESTful Service In computing, representational state transfer (REST) is the software architectural style of the World Wide Web. More precisely, REST is an architectural style consisting of a coordinated set of architectural constraints applied to components, connectors, and data elements, within a distributed hypermedia system. REST ignores the details of component implementation and protocol syntax in order to focus on the roles of components, the constraints upon their interaction with other components, and their interpretation of significant data elements. Through the application of REST architectural constraints certain architectural properties are induced: Performance, Scalability, Simplicity, Modifiability, Visibility, Portability, and Reliability………………………………... ………….To the extent that systems conform to the constraints of REST they can be called RESTful. RESTful systems typically, but not always, communicate over Hypertext Transfer Protocol (HTTP) with the same HTTP verbs (GET, POST, PUT, DELETE, etc.) that web browsers use to retrieve web pages and to send data to remote servers. REST systems interface with external systems as web resources identified by Uniform Resource Identifiers (URIs), for example /people/tom, which can be operated upon using standard verbs such as DELETE /people/tom. Translation: A web API that implements a popular and simple set of instructions in the same way as a whole bunch of other web APIs do.
  • 7. Persistent Identifier A persistent identifier (PID) is a long-lasting reference to a digital object—a single file or set of files. Noted persistent identifier systems include: Archival Resource Keys (ARKs), Digital Object Identifiers (DOIs), the Handle System, Persistent Uniform Resource Locators (PURLs), Uniform Resource Names (URNs), and Extensible Resource Identifiers (XRIs). Translation: An identifier that exists for a long long long time and points at data.
  • 8. Unique Identifier With reference to a given (possibly implicit) set of objects, a unique identifier (UID) is any identifier which is guaranteed to be unique among all identifiers used for those objects and for a specific purpose. Translation: Being the only one of its kind, a set of letters and numbers that identifies one thing and only that thing.
  • 9. Great! To review: API - If your software gives my software one of these instructions I’ve defined, it will perform this action, or return this information. OAuth2 - A standard set of rules which resource owners (commonly users) to grant access to APIs SECURELY. RESTful Service - A web API that implements a popular and simple set of instructions in the same way as a whole bunch of other web APIs do. Persistent Identifier - An identifier that exists for a long long long time and points at data. Unique Identifier - Being the only one of its kind, a set of letters and numbers that identifies one thing and only that thing.
  • 10. ½ done - why don’t we talk about ORCID?
  • 11. What is an ORCID iD? An ORCID iD is a unique persistent identifier which resolves to data about a researcher. Researchers control data associated with their record. It looks like this: http://orcid.org/0000-0001-5727-2427
  • 12. And returns things like this! XML Data JSON Data HTML
  • 13. What are the ORCID APIs? Public API - Free and available to anyone ○ Authenticate ○ Read Public Member API - Only available to member organizations ○ Read Limited (non-public information a researcher chooses to share with a member organization) ○ Add and update records (requires users permission) ○ Webhooks ○ Researcher Notifications
  • 14. What’s in a ORCID record? Organized into two sections. Person: Names, Countries, Keywords, Websites, Person Identifiers Activities: Education, Employment, Funding, Peer Reviews, and Works
  • 15. Sample OAuth2 flow and API calls 1. User is sent from your website to ORCID’s authorization page. URL specifies permission your application is requesting from the user. 2. User approves and is sent to a URL you specify (redirect_url); ORCID API attaches an authorization code to the end of this URL 1 2
  • 16. 3. Your site checks the redirect url for the authorization code 4. Your site exchanges the authorization code (using your API client ID and secret) for the user’s authenticated ORCID iD, name and an API access token 5. Token can used to make API calls, per the permissions that you requested curl -Sk -H 'Content-Type: application/json' -H 'Authorization: Bearer https://api.qa.orcid.org/v1. 2_rc6/0000-0001-6356-0580 {"message-version":"1.2_rc6","orcid-profile":{"orcid":null,"orcid-id":null,"orcid-identifier":{"value":null,"uri":"http://qa.orcid.org/0000-0001-6356-0580"," path":"0000-0001-6356-0580","host":"qa.orcid.org"},"orcid-deprecated":null,"orcid-preferences":{"locale":"EN"},"orcid-history":{"creation-method":" WEBSITE","completion-date":{"value":1358374706031},"submission-date":{"value":1357936637938},"last-modified-date":{"value":1463177638836}," claimed":{"value":true},"source":null,"deactivation-date"...................................
  • 17. Ok, that was a little scary. Let’s simplify: Read the record or Update the record Get researcher’s permission and ORCID iD Do you have permission to do what you want to do?
  • 18. Enough tech! What can you do & build using the ORCID APIs? ● Authenticate a user’s ORCID iD ● Push a person identifier to ORCID ● Push work metadata or other activity to the API ● Insights into researcher impact
  • 19. Authenticating a user’s ORCID iD (Nature) ….. ….. Nature Journal uses ORCID’s OAuth2 flow to authenticate a researcher’s ORCID iD. This prevents user- driven errors such as typos.
  • 20. Pushing a person identifier to ORCID (Loop) Loop pushes their identifier to ORCID via the API, and a link to Loop is shown.
  • 21. Pushing a work citation to the API (Crossref)
  • 22. Insights into researcher impact (Impactstory) ORCID serves as the infrastructure for Impactstory provide insights into researcher impact.
  • 23. The true power of our APIs is the flexibility to use them in ways we haven’t even dreamed of! TODO: One big screenshot of websites that use ORCI
  • 24. Where to go from here? Technical documentation: http://members.orcid.org/api API users group: https://groups.google.com/forum/#!forum/orcid-api-users Technical webinars: http://members.orcid.org/eventlist Vendor documentation: https://members.orcid.org/orcid-enabled-systems ORCID support team, they know everything! support@orcid.org Thanks! Feel free to contact me directly at R.Peters@orcid.org