24
ORCID API An introduc+on with samples Andrea Bollini (CTIO) <[email protected]> November 2016

4Science presentes: ORCiD API Tutorial

Embed Size (px)

Citation preview

Page 1: 4Science presentes: ORCiD API Tutorial

ORCID API Anintroduc+onwithsamples

AndreaBollini(CTIO)<[email protected]>

November 2016

Page 2: 4Science presentes: ORCiD API Tutorial

• ORCIDdatamodel

•  Securitymodel

• ORCID-XMLstructure

•  ExampleofuseofAPIsfromDSpace-CRIS

Agenda

Page 3: 4Science presentes: ORCiD API Tutorial

Research centric data model

Affilia+ons-  Educa+on-  Employment

Fundings

Start/Enddates;Role+tle;Departmentname;Organiza+on(withIDasmuchaspossible)

WorksTitle,Journal,Abstract,Cita+on,Type,publica+ondate,iden+fiers,url,contributors,language,country

Start/Enddates;Title,Descrip+on,inves+gators,Types,iden+fiers,Funder(withIDasmuchaspossible)

Page 4: 4Science presentes: ORCiD API Tutorial

Common proper9es

Put-code:aninternalIDforsuchdataintheORCIDdatabasetouseforupdate(inv2)Visibility:public/private/protectedLast-Modified/CreatedDateSource:whohasaddedsuchinforma+on(theresearcheritselforatrustedapplica+on)

Page 5: 4Science presentes: ORCiD API Tutorial

Visibility

Public:theinforma+onisshowninthepublicORCIDprofileeveryonecanaccessitalsoviaAPI

Protected:theinforma+onisavailableonlytoapplica+onstrustedbytheresearcherviaAPI(andtheresearcheritself)

Private:theinforma+onisavailableonlytotheresearcher,thetrustedindividual(delegate)andeventuallytotheapplica+onthathaveaddedtheinforma+onviaAPI

Page 6: 4Science presentes: ORCiD API Tutorial

SlidecourtesyofORCID

Page 7: 4Science presentes: ORCiD API Tutorial

h\p://orcid.org/organiza+ons/integrators/API

Page 8: 4Science presentes: ORCiD API Tutorial

How to get the API

• PublicAPIcanberequestedforfreebyanypersonwhoholdsanORCIDID•  Demonstra+on:

[email protected]/t3s\3sth\ps://sandbox.orcid.org/developer-tools

• MemberAPIarereservedtoORCIDmembers,canberequestedusingawebformh\ps://orcid.org/content/register-client-applica+on-produc+on-trusted-party

• Asandboxenvironmentisavailableforanyonealsototestmember&premiumAPI

h\ps://orcid.org/content/register-client-applica+on-sandbox

Page 9: 4Science presentes: ORCiD API Tutorial

Authoriza9on and security

•  TheORCIDAPIusesOAUTH2asauthoriza+onmodel•  Clientisauthen+catedusingclient_id&client_secret•  Askauthoriza+ontotheresearchertoperformsomeac+ons(scopes/read-limited,/orcid-bio/update,etc.)

•  Receiveanauthen+ca+ontokentouseinthesubsequentAPIcalls

• Howitlooksliketotheuser:h\p://dspacecris.eurocris.org/h\ps://dspace-cris.4science.it

Page 10: 4Science presentes: ORCiD API Tutorial

SlidecourtesyofORCID

Page 11: 4Science presentes: ORCiD API Tutorial

SlidecourtesyofORCID

Page 12: 4Science presentes: ORCiD API Tutorial

The request URI structure

h\ps://members.orcid.org/api/explore-orcid-api-google-oauth-playground

Page 13: 4Science presentes: ORCiD API Tutorial

How to READ informa9on

h\ps://members.orcid.org/api/tutorial-retrieve-data-orcid-record

Page 14: 4Science presentes: ORCiD API Tutorial

ORCID Message Schema

Currentversion1.2Releasecandidate2.0ORCID–XMLhave4sec+ons•  <orcid-iden+fier>&<orcid-history>reservedtoinforma+onmanagedbytheregistry•  <orcid-bio>containsthepersonalinforma+onoftheresearcher•  <orcid-ac+vi+es>containstheinforma+onrelatedtoalltheac+vi+esoftheresearcher:works,affilia+on,funding

Page 15: 4Science presentes: ORCiD API Tutorial

h\ps://members.orcid.org/api/record-xml-structure

Page 16: 4Science presentes: ORCiD API Tutorial

h\ps://members.orcid.org/api/record-xml-structure

Page 17: 4Science presentes: ORCiD API Tutorial

h\ps://members.orcid.org/api/record-xml-structure

Page 18: 4Science presentes: ORCiD API Tutorial

h\ps://members.orcid.org/api/record-xml-structure

Page 19: 4Science presentes: ORCiD API Tutorial

h\ps://members.orcid.org/api/record-xml-structure

Page 20: 4Science presentes: ORCiD API Tutorial

How to use it

• Demo:h\ps://dspace-cris.4science.it

Page 21: 4Science presentes: ORCiD API Tutorial

•  YouneedmemberAPIforthat!•  YoucanPOSTorPUT•  POST:createaddi+onalinforma+onàappend•  PUT:replacealltheinforma+onownedbyyourapplica+on

•  Youcanupdate/createspecificsec+onorsubparts•  <ORCID-ID>/orcid-bio•  <ORCID-ID>/affilia+ons•  <ORCID-ID>/orcid-works•  <ORCID-ID>/finding•  Moredetailsh\ps://members.orcid.org/api/api-calls

How to update informa9on

Page 22: 4Science presentes: ORCiD API Tutorial

How to use it

• Demo:h\ps://dspace-cris.4science.it

Page 23: 4Science presentes: ORCiD API Tutorial

How to get support & more informa9on

•  Extendedonlinedocumenta+on:h\p://members.orcid.org/api

• GitHubORCIDrepositoryh\ps://github.com/ORCID/ORCID-Source

• Googlegroup: h\ps://groups.google.com/forum/#!forum/orcid-api-users

• ORCIDSupport:[email protected]

Page 24: 4Science presentes: ORCiD API Tutorial

AndreaBollini(CTIO)<[email protected]>

mobile:+393339341808

skype:a.bollini

linkedin:andreabollini

orcid:0000-0002-9029-1854

Thanks for your aJen9on