SlideShare a Scribd company logo
1 of 40
Download to read offline
orcid.org | support@orcid.org
Introduction to the ORCID APIs
Technical Workshop Ÿ OR2015
orcid.org | support@orcid.org
Today’s Topics
1.  About the ORCID APIs
2.  Searching & Retrieving ORCID Records
3.  Getting Authenticated ORCID iDs
4.  Adding Information to ORCID Records
5.  Creating New ORCID Records
orcid.org | support@orcid.org
ABOUT THE ORCID APIS
API Access Features
Public API Free available to anyone •  Authenticate
Get a user’s authenticated ORCID iD
•  Read (Public)
Search/retrieve public data
Member
API
ORCID member organizations •  Read (Limited)
Search/retrieve "limited-access" data
•  Add
Post new items to a record
•  Update
Edit or delete items you previously added
•  Create
Create new ORCID records (via on-
demand process)
orcid.org | support@orcid.org
Sandbox Test Environment
•  Test versions of Registry & Public/Member APIs
•  Same behavior as live environment, except:
» Emails only to @mailinator.com addresses
» Search & Link tools don’t work
» Menu links don’t work
ABOUT THE ORCID APIS
sandbox.orcid.org/signin
orcid.org | support@orcid.org
ORCID API Technologies
•  REST Interact via HTTP calls
•  Oauth Authorization process
•  XML/JSON Data exchange formats
ABOUT THE ORCID APIS
orcid.org | support@orcid.org
ORCID API Tools
•  Web Browser Chrome/Firefox preferred
•  Plain Text Editor Notepad++,TextEdit, etc
•  Software Capable of Making HTTP Requests
»  Desktop apps (cURL)
»  OnlineTools (Google OAuth Playground, hurl.it)
»  Your Own Web Application (Java, Ruby, Python, PHP, etc)
ABOUT THE ORCID APIS
orcid.org | support@orcid.org
Public API:
Searching & Retrieving ORCID Records
orcid.org | support@orcid.org
Create a Sandbox User Account
sandbox.orcid.org/signin
•  Click Register for an ORCID iD
•  Use an @mailinator.com address
•  Visit mailinator.com to verify your email
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Accessing the APIs
•  To Access the APIs, you’ll need credentials
» Client ID APP-F6TMYF419CVYMSNE
» Client Secret f40a4c7d-2306-44f1-b8af-a0e464e2bc37
•  Public API
» Register through your ORCID user account
•  Member API
» Register at orcid.org/content/register-client-application
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Get Public API Credentials
•  sandbox.orcid.org/my-orcid èDeveloper Tools
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Retrieving a Record
•  Get any user’s full ORCID record
•  Public data only
» Name/ORCID iD + w/privacy set to “everyone”
•  XML or JSON format
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Google OAuth Playground
developers.google.com/oauthplayground/
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Searching Records
•  Return all records with matches in publicly-
visible data
» Keyword: Search entire record
» Fielded: Search specific fields
•  Returns bio section of matching records -
use separate API call to view entire record
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Searching Records
Base URL:
http://pub.sandbox.orcid.org/v1.2/
search/orcid-bio/?q
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Searching Records
Fielded Search Fields
» ORCID iD
» Names
» Email Address
» WorkTitles
» External Identifiers
» Creation/Last Modified Dates
SEARCHING & RETRIEVING
orcid.org | support@orcid.org
Public API:
Getting Authenticated ORCID iDs
orcid.org | support@orcid.org
“Authenticated” ORCID iDs
•  Users typing in ORCID iDs = Great Sadness : (
•  “Authenticated” = prompt user to log into ORCID;
your systems receive iD automagically via OAuth
AUTHENTICATED iDs
orcid.org | support@orcid.org
OAuth
•  Standard protocol used across the Web
•  Allows users to share some account info across sites
without sharing all info (ie: passwords)
•  OAuth process:
»  Prompt user to log into ORCID (link/button)
»  Get Authorization Code
»  Exchange Authorization Code for ORCID iD
AUTHENTICATED iDs
orcid.org | support@orcid.org
Back to the Playground!
developers.google.com/oauthplayground/
AUTHENTICATED iDs
orcid.org | support@orcid.org
Member API:
Adding Information to ORCID Records
orcid.org | support@orcid.org
Accessing the Member API
•  New credentials needed!
» For this workshop, see label on your printed handout
» For future, register at:
orcid.org/content/register-client-application
ADDING INFORMATION
orcid.org | support@orcid.org
Access Tokens
•  Users control their records
•  Permission needed in order to edit
•  Permission granted via OAuth Access Token
» 8623f26a-41b5-433f-be2f-b7865020c71a
ADDING INFORMATION
orcid.org | support@orcid.org
Access Tokens
•  Same OAuth process as for Authenticated iDs:
»  Prompt user to log into ORCID (link/button)
»  Get Authorization Code
»  Exchange Authorization Code for AccessToken
ADDING INFORMATION
orcid.org | support@orcid.org
Scopes
•  Scopes = Actions you can take on a user’s
ORCID record
»  Read record
»  Add works
»  Update works
»  Etc…
•  Access Tokens can only be used for scopes that you
have requested permission for
ADDING INFORMATION
orcid.org | support@orcid.org
Work XML
http://git.io/vITI9
»  Sample Work
»  Sample Work Updated
ADDING INFORMATION
orcid.org | support@orcid.org
Member API:
Creating New ORCID Records
orcid.org | support@orcid.org
Create-on-Demand Process
•  Create new records and get read/write permission
in one step
•  Users who have an existing ORCID iD can send
their ORCID iD to your system  grant permission
CREATING NEW RECORDS
orcid.org | support@orcid.org
1. Prompt users to click a link/button with your
Authorization URL
CREATING NEW RECORDS
https://orcid.org/oauth/authorize?
client_id=0000-0003-2996-8827response_type=code
scope=/orcid-profile/read-limitedredirect_uri=https://yoursite.org
orcid.org | support@orcid.org
2. Users directed to ORCID
registration/signin form
»  Users create new record and
grant read/write permission in
one step
»  Users who already have an
ORCID iD can sign into their
account to grant permission
CREATING NEW RECORDS
orcid.org | support@orcid.org
3. Users taken to a page on your site (Redirect URI);
OAuth Authorization Code appended to URL
CREATING NEW RECORDS
orcid.org | support@orcid.org
4.Your system captures Authorization Code 
exchanges for Access Token
CREATING NEW RECORDS
curl -i -L -H 'Accept: application/json' --data
'client_id=0000-0002-9189-9909client_secret=719b5c31-5681-4dce
-a317-
ff1bc1e94277grant_type=authorization_codecode=GU0yrCredirect
_uri=https://developers.google.com/oauthplayground' 'https://
api.qa.orcid.org/oauth/token' -k
HTTP/1.1 200 OK
{access_token:0a3ac65f-f8a7-4257-b605-aff0ab37d464,
token_type:bearer,
refresh_token:16d75d2d-bb75-4087-8a01-685e5f03faf8,
expires_in:631138518,
scope:/orcid-profile/read-limited,
orcid:0000-0003-4153-0078”}
orcid.org | support@orcid.org
5.Your system stores Access Tokens and ORCID iDs
CREATING NEW RECORDS
orcid.org | support@orcid.org
6. Use stored Access Tokens to read from/write to
ORCID records (now or later – valid 20 yrs)
»  Read information from the user’s ORCID record and copy it
into your system
»  Add information from your system to the user’s ORCID record
- affiliations, works, etc
»  Update the user’s ORCID record when new information is
available in your system
»  Update your system when new information is added to the
user’s ORCID record
CREATING NEW RECORDS
orcid.org | support@orcid.org
Try it out!
orcid-create-on-demand.herokuapp.com
CREATING NEW RECORDS
orcid.org | support@orcid.org
Authorization URL
Base URL:
https://sandbox.orcid.org/
oauth/authorize?
CREATING NEW RECORDS
orcid.org | support@orcid.org
Authorization URL
Required Parameters:
https://sandbox.orcid.org/oauth/authorize?

client_id=APP-F6TMYF419CVYMSNE

scope=/orcid-works/create%20/orcid-works/
update

response_type=code

redirect_uri=https://developers.google.com/
oauthplayground
CREATING NEW RECORDS
orcid.org | support@orcid.org
Authorization URL
Optional Parameters
»  Pre-fill registration/signin form (name, email)
»  Specify language
»  Show signin form vs registration form
CREATING NEW RECORDS
orcid.org | support@orcid.org
Authorization URL
Optional Parameters:
https://sandbox.orcid.org/oauth/authorize?

client_id=APP-F6TMYF419CVYMSNE

scope=/orcid-works/create%20/orcid-works/update

response_type=code

redirect_uri=https://developers.google.com/
oauthplayground

family_names=Orcidson

given_names=Orc

email=orcidson@mailinator.com
CREATING NEW RECORDS
orcid.org | support@orcid.org
Resources
•  Examples/Workflow Guides: members.orcid.org
•  Technical Documentation: members.orcid.org/api
•  API Users Group
groups.google.com/forum/#!forum/orcidapiusers
•  Technical Webinars: members.orcid.org/eventlist
•  ORCID Support: support@orcid.org
orcid.org | support@orcid.org
THANKYOU!

More Related Content

Similar to ORCID API Workshop OR2015

ORCID Member Site Integration: Using the API
ORCID Member Site Integration: Using the APIORCID Member Site Integration: Using the API
ORCID Member Site Integration: Using the APIORCID, Inc
 
ORCID Technical Intro - English
ORCID Technical Intro - EnglishORCID Technical Intro - English
ORCID Technical Intro - EnglishORCID, Inc
 
ORCID API (M. Buys)
 ORCID API (M. Buys) ORCID API (M. Buys)
ORCID API (M. Buys)ORCID, Inc
 
ORCID API in Action (A. Wrigley)
ORCID API in Action (A. Wrigley)ORCID API in Action (A. Wrigley)
ORCID API in Action (A. Wrigley)ORCID, Inc
 
ORCID API in action (A. Wrigley)
ORCID API in action (A. Wrigley)ORCID API in action (A. Wrigley)
ORCID API in action (A. Wrigley)ORCID, Inc
 
ORCID Support & ORCID Support Advance
ORCID Support & ORCID Support AdvanceORCID Support & ORCID Support Advance
ORCID Support & ORCID Support AdvanceJisc
 
Mobile Authentication - Onboarding, best practices & anti-patterns
Mobile Authentication - Onboarding, best practices & anti-patternsMobile Authentication - Onboarding, best practices & anti-patterns
Mobile Authentication - Onboarding, best practices & anti-patternsPieter Ennes
 
Linkedin & OAuth
Linkedin & OAuthLinkedin & OAuth
Linkedin & OAuthUmang Goyal
 
Webinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID APIWebinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID APIARDC
 
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 HaakCrossref
 
Introduction to sitecore identity
Introduction to sitecore identityIntroduction to sitecore identity
Introduction to sitecore identityGopikrishna Gujjula
 
Keycloak for Science Gateways - SGCI Technology Sampler Webinar
Keycloak for Science Gateways - SGCI Technology Sampler WebinarKeycloak for Science Gateways - SGCI Technology Sampler Webinar
Keycloak for Science Gateways - SGCI Technology Sampler Webinarmarcuschristie
 
Application Security in ASP.NET Core
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET CoreNETUserGroupBern
 
What's New at ORCID?
What's New at ORCID?What's New at ORCID?
What's New at ORCID?ORCID, Inc
 
OAuth 2.0 refresher Talk
OAuth 2.0 refresher TalkOAuth 2.0 refresher Talk
OAuth 2.0 refresher Talkmarcwan
 
Beyond what is ORCID... using the API (L. Paglione)
Beyond what is ORCID... using the API (L. Paglione)Beyond what is ORCID... using the API (L. Paglione)
Beyond what is ORCID... using the API (L. Paglione)ORCID, Inc
 
Paglione outreach tech presentation
Paglione outreach tech presentationPaglione outreach tech presentation
Paglione outreach tech presentationORCID, Inc
 
Understanding SharePoint Apps, authentication and authorization infrastructur...
Understanding SharePoint Apps, authentication and authorization infrastructur...Understanding SharePoint Apps, authentication and authorization infrastructur...
Understanding SharePoint Apps, authentication and authorization infrastructur...SPC Adriatics
 
Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...
Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...
Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...Envision IT
 

Similar to ORCID API Workshop OR2015 (20)

ORCID Member Site Integration: Using the API
ORCID Member Site Integration: Using the APIORCID Member Site Integration: Using the API
ORCID Member Site Integration: Using the API
 
ORCID Technical Intro - English
ORCID Technical Intro - EnglishORCID Technical Intro - English
ORCID Technical Intro - English
 
ORCID API (M. Buys)
 ORCID API (M. Buys) ORCID API (M. Buys)
ORCID API (M. Buys)
 
ORCID API in Action (A. Wrigley)
ORCID API in Action (A. Wrigley)ORCID API in Action (A. Wrigley)
ORCID API in Action (A. Wrigley)
 
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"
 
ORCID API in action (A. Wrigley)
ORCID API in action (A. Wrigley)ORCID API in action (A. Wrigley)
ORCID API in action (A. Wrigley)
 
ORCID Support & ORCID Support Advance
ORCID Support & ORCID Support AdvanceORCID Support & ORCID Support Advance
ORCID Support & ORCID Support Advance
 
Mobile Authentication - Onboarding, best practices & anti-patterns
Mobile Authentication - Onboarding, best practices & anti-patternsMobile Authentication - Onboarding, best practices & anti-patterns
Mobile Authentication - Onboarding, best practices & anti-patterns
 
Linkedin & OAuth
Linkedin & OAuthLinkedin & OAuth
Linkedin & OAuth
 
Webinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID APIWebinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID API
 
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
 
Introduction to sitecore identity
Introduction to sitecore identityIntroduction to sitecore identity
Introduction to sitecore identity
 
Keycloak for Science Gateways - SGCI Technology Sampler Webinar
Keycloak for Science Gateways - SGCI Technology Sampler WebinarKeycloak for Science Gateways - SGCI Technology Sampler Webinar
Keycloak for Science Gateways - SGCI Technology Sampler Webinar
 
Application Security in ASP.NET Core
Application Security in ASP.NET CoreApplication Security in ASP.NET Core
Application Security in ASP.NET Core
 
What's New at ORCID?
What's New at ORCID?What's New at ORCID?
What's New at ORCID?
 
OAuth 2.0 refresher Talk
OAuth 2.0 refresher TalkOAuth 2.0 refresher Talk
OAuth 2.0 refresher Talk
 
Beyond what is ORCID... using the API (L. Paglione)
Beyond what is ORCID... using the API (L. Paglione)Beyond what is ORCID... using the API (L. Paglione)
Beyond what is ORCID... using the API (L. Paglione)
 
Paglione outreach tech presentation
Paglione outreach tech presentationPaglione outreach tech presentation
Paglione outreach tech presentation
 
Understanding SharePoint Apps, authentication and authorization infrastructur...
Understanding SharePoint Apps, authentication and authorization infrastructur...Understanding SharePoint Apps, authentication and authorization infrastructur...
Understanding SharePoint Apps, authentication and authorization infrastructur...
 
Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...
Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...
Envision it SharePoint Extranet Webinar Series - Federation and SharePoint On...
 

More from ORCID, Inc

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 ...ORCID, Inc
 
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)ORCID, Inc
 
ORCID at UniKL (P. Hamzah)
ORCID at UniKL (P. Hamzah)ORCID at UniKL (P. Hamzah)
ORCID at UniKL (P. Hamzah)ORCID, Inc
 
ORCID Integration Videos
ORCID Integration VideosORCID Integration Videos
ORCID Integration VideosORCID, Inc
 
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)ORCID, Inc
 
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, Inc
 
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)ORCID, Inc
 
Spreading the ORCID Word: ORCID Communications Webinar (2016.12)
Spreading the ORCID Word: ORCID Communications Webinar (2016.12)Spreading the ORCID Word: ORCID Communications Webinar (2016.12)
Spreading the ORCID Word: ORCID Communications Webinar (2016.12)ORCID, Inc
 
ORCID @ Khalifa University
ORCID @ Khalifa UniversityORCID @ Khalifa University
ORCID @ Khalifa UniversityORCID, Inc
 
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, Inc
 
Research in a world where machines read (M. Buys)
Research in a world where machines read (M. Buys)Research in a world where machines read (M. Buys)
Research in a world where machines read (M. Buys)ORCID, Inc
 
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, Inc
 
Research Management & Publishing (M. Jagerhorn)
Research Management & Publishing (M. Jagerhorn)Research Management & Publishing (M. Jagerhorn)
Research Management & Publishing (M. Jagerhorn)ORCID, Inc
 
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 ...ORCID, Inc
 
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)ORCID, Inc
 
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, Inc
 
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, Inc
 
ORCID Integration Videos
ORCID Integration VideosORCID Integration Videos
ORCID Integration VideosORCID, Inc
 
The Latest on ORCID API v2
The Latest on ORCID API v2 The Latest on ORCID API v2
The Latest on ORCID API v2 ORCID, Inc
 
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, Inc
 

More from ORCID, Inc (20)

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 ...
 
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)
 
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)
 
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)
 
Spreading the ORCID Word: ORCID Communications Webinar (2016.12)
Spreading the ORCID Word: ORCID Communications Webinar (2016.12)Spreading the ORCID Word: ORCID Communications Webinar (2016.12)
Spreading the ORCID Word: ORCID Communications Webinar (2016.12)
 
ORCID @ Khalifa University
ORCID @ Khalifa UniversityORCID @ Khalifa University
ORCID @ Khalifa University
 
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)
 
Research in a world where machines read (M. Buys)
Research in a world where machines read (M. Buys)Research in a world where machines read (M. Buys)
Research in a world where machines read (M. Buys)
 
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)
 
Research Management & Publishing (M. Jagerhorn)
Research Management & Publishing (M. Jagerhorn)Research Management & Publishing (M. Jagerhorn)
Research Management & Publishing (M. Jagerhorn)
 
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 ...
 
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)
 

Recently uploaded

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 

ORCID API Workshop OR2015

  • 1. orcid.org | support@orcid.org Introduction to the ORCID APIs Technical Workshop Ÿ OR2015
  • 2. orcid.org | support@orcid.org Today’s Topics 1.  About the ORCID APIs 2.  Searching & Retrieving ORCID Records 3.  Getting Authenticated ORCID iDs 4.  Adding Information to ORCID Records 5.  Creating New ORCID Records
  • 3. orcid.org | support@orcid.org ABOUT THE ORCID APIS API Access Features Public API Free available to anyone •  Authenticate Get a user’s authenticated ORCID iD •  Read (Public) Search/retrieve public data Member API ORCID member organizations •  Read (Limited) Search/retrieve "limited-access" data •  Add Post new items to a record •  Update Edit or delete items you previously added •  Create Create new ORCID records (via on- demand process)
  • 4. orcid.org | support@orcid.org Sandbox Test Environment •  Test versions of Registry & Public/Member APIs •  Same behavior as live environment, except: » Emails only to @mailinator.com addresses » Search & Link tools don’t work » Menu links don’t work ABOUT THE ORCID APIS sandbox.orcid.org/signin
  • 5. orcid.org | support@orcid.org ORCID API Technologies •  REST Interact via HTTP calls •  Oauth Authorization process •  XML/JSON Data exchange formats ABOUT THE ORCID APIS
  • 6. orcid.org | support@orcid.org ORCID API Tools •  Web Browser Chrome/Firefox preferred •  Plain Text Editor Notepad++,TextEdit, etc •  Software Capable of Making HTTP Requests »  Desktop apps (cURL) »  OnlineTools (Google OAuth Playground, hurl.it) »  Your Own Web Application (Java, Ruby, Python, PHP, etc) ABOUT THE ORCID APIS
  • 7. orcid.org | support@orcid.org Public API: Searching & Retrieving ORCID Records
  • 8. orcid.org | support@orcid.org Create a Sandbox User Account sandbox.orcid.org/signin •  Click Register for an ORCID iD •  Use an @mailinator.com address •  Visit mailinator.com to verify your email SEARCHING & RETRIEVING
  • 9. orcid.org | support@orcid.org Accessing the APIs •  To Access the APIs, you’ll need credentials » Client ID APP-F6TMYF419CVYMSNE » Client Secret f40a4c7d-2306-44f1-b8af-a0e464e2bc37 •  Public API » Register through your ORCID user account •  Member API » Register at orcid.org/content/register-client-application SEARCHING & RETRIEVING
  • 10. orcid.org | support@orcid.org Get Public API Credentials •  sandbox.orcid.org/my-orcid èDeveloper Tools SEARCHING & RETRIEVING
  • 11. orcid.org | support@orcid.org Retrieving a Record •  Get any user’s full ORCID record •  Public data only » Name/ORCID iD + w/privacy set to “everyone” •  XML or JSON format SEARCHING & RETRIEVING
  • 12. orcid.org | support@orcid.org Google OAuth Playground developers.google.com/oauthplayground/ SEARCHING & RETRIEVING
  • 13. orcid.org | support@orcid.org Searching Records •  Return all records with matches in publicly- visible data » Keyword: Search entire record » Fielded: Search specific fields •  Returns bio section of matching records - use separate API call to view entire record SEARCHING & RETRIEVING
  • 14. orcid.org | support@orcid.org Searching Records Base URL: http://pub.sandbox.orcid.org/v1.2/ search/orcid-bio/?q SEARCHING & RETRIEVING
  • 15. orcid.org | support@orcid.org Searching Records Fielded Search Fields » ORCID iD » Names » Email Address » WorkTitles » External Identifiers » Creation/Last Modified Dates SEARCHING & RETRIEVING
  • 16. orcid.org | support@orcid.org Public API: Getting Authenticated ORCID iDs
  • 17. orcid.org | support@orcid.org “Authenticated” ORCID iDs •  Users typing in ORCID iDs = Great Sadness : ( •  “Authenticated” = prompt user to log into ORCID; your systems receive iD automagically via OAuth AUTHENTICATED iDs
  • 18. orcid.org | support@orcid.org OAuth •  Standard protocol used across the Web •  Allows users to share some account info across sites without sharing all info (ie: passwords) •  OAuth process: »  Prompt user to log into ORCID (link/button) »  Get Authorization Code »  Exchange Authorization Code for ORCID iD AUTHENTICATED iDs
  • 19. orcid.org | support@orcid.org Back to the Playground! developers.google.com/oauthplayground/ AUTHENTICATED iDs
  • 20. orcid.org | support@orcid.org Member API: Adding Information to ORCID Records
  • 21. orcid.org | support@orcid.org Accessing the Member API •  New credentials needed! » For this workshop, see label on your printed handout » For future, register at: orcid.org/content/register-client-application ADDING INFORMATION
  • 22. orcid.org | support@orcid.org Access Tokens •  Users control their records •  Permission needed in order to edit •  Permission granted via OAuth Access Token » 8623f26a-41b5-433f-be2f-b7865020c71a ADDING INFORMATION
  • 23. orcid.org | support@orcid.org Access Tokens •  Same OAuth process as for Authenticated iDs: »  Prompt user to log into ORCID (link/button) »  Get Authorization Code »  Exchange Authorization Code for AccessToken ADDING INFORMATION
  • 24. orcid.org | support@orcid.org Scopes •  Scopes = Actions you can take on a user’s ORCID record »  Read record »  Add works »  Update works »  Etc… •  Access Tokens can only be used for scopes that you have requested permission for ADDING INFORMATION
  • 25. orcid.org | support@orcid.org Work XML http://git.io/vITI9 »  Sample Work »  Sample Work Updated ADDING INFORMATION
  • 26. orcid.org | support@orcid.org Member API: Creating New ORCID Records
  • 27. orcid.org | support@orcid.org Create-on-Demand Process •  Create new records and get read/write permission in one step •  Users who have an existing ORCID iD can send their ORCID iD to your system grant permission CREATING NEW RECORDS
  • 28. orcid.org | support@orcid.org 1. Prompt users to click a link/button with your Authorization URL CREATING NEW RECORDS https://orcid.org/oauth/authorize? client_id=0000-0003-2996-8827response_type=code scope=/orcid-profile/read-limitedredirect_uri=https://yoursite.org
  • 29. orcid.org | support@orcid.org 2. Users directed to ORCID registration/signin form »  Users create new record and grant read/write permission in one step »  Users who already have an ORCID iD can sign into their account to grant permission CREATING NEW RECORDS
  • 30. orcid.org | support@orcid.org 3. Users taken to a page on your site (Redirect URI); OAuth Authorization Code appended to URL CREATING NEW RECORDS
  • 31. orcid.org | support@orcid.org 4.Your system captures Authorization Code exchanges for Access Token CREATING NEW RECORDS curl -i -L -H 'Accept: application/json' --data 'client_id=0000-0002-9189-9909client_secret=719b5c31-5681-4dce -a317- ff1bc1e94277grant_type=authorization_codecode=GU0yrCredirect _uri=https://developers.google.com/oauthplayground' 'https:// api.qa.orcid.org/oauth/token' -k HTTP/1.1 200 OK {access_token:0a3ac65f-f8a7-4257-b605-aff0ab37d464, token_type:bearer, refresh_token:16d75d2d-bb75-4087-8a01-685e5f03faf8, expires_in:631138518, scope:/orcid-profile/read-limited, orcid:0000-0003-4153-0078”}
  • 32. orcid.org | support@orcid.org 5.Your system stores Access Tokens and ORCID iDs CREATING NEW RECORDS
  • 33. orcid.org | support@orcid.org 6. Use stored Access Tokens to read from/write to ORCID records (now or later – valid 20 yrs) »  Read information from the user’s ORCID record and copy it into your system »  Add information from your system to the user’s ORCID record - affiliations, works, etc »  Update the user’s ORCID record when new information is available in your system »  Update your system when new information is added to the user’s ORCID record CREATING NEW RECORDS
  • 34. orcid.org | support@orcid.org Try it out! orcid-create-on-demand.herokuapp.com CREATING NEW RECORDS
  • 35. orcid.org | support@orcid.org Authorization URL Base URL: https://sandbox.orcid.org/ oauth/authorize? CREATING NEW RECORDS
  • 36. orcid.org | support@orcid.org Authorization URL Required Parameters: https://sandbox.orcid.org/oauth/authorize?
 client_id=APP-F6TMYF419CVYMSNE
 scope=/orcid-works/create%20/orcid-works/ update
 response_type=code
 redirect_uri=https://developers.google.com/ oauthplayground CREATING NEW RECORDS
  • 37. orcid.org | support@orcid.org Authorization URL Optional Parameters »  Pre-fill registration/signin form (name, email) »  Specify language »  Show signin form vs registration form CREATING NEW RECORDS
  • 38. orcid.org | support@orcid.org Authorization URL Optional Parameters: https://sandbox.orcid.org/oauth/authorize?
 client_id=APP-F6TMYF419CVYMSNE
 scope=/orcid-works/create%20/orcid-works/update
 response_type=code
 redirect_uri=https://developers.google.com/ oauthplayground
 family_names=Orcidson
 given_names=Orc
 email=orcidson@mailinator.com CREATING NEW RECORDS
  • 39. orcid.org | support@orcid.org Resources •  Examples/Workflow Guides: members.orcid.org •  Technical Documentation: members.orcid.org/api •  API Users Group groups.google.com/forum/#!forum/orcidapiusers •  Technical Webinars: members.orcid.org/eventlist •  ORCID Support: support@orcid.org