Skip to content

Person

The person section (GET /{orcid}/person) holds the name, other names, biography, researcher URLs, emails, addresses, keywords, and external identifiers. client.person.get(orcid) validates it into Person, and each part also has its own route reader. The snippets of this page run top to bottom with top-level await, and the first block creates the client and the ORCID value every later block reuses.

Get the person section

from bibliofabric.orcid import OrcidClient

ORCID = "0000-0002-1694-233X"
client = OrcidClient()

person = await client.person.get(ORCID)
print(person.name.given_names.text, person.name.family_name.text)
print("other names:", [name.content for name in person.other_names.other_name])
Thomas B. Hickey
other names: ['Thom Hickey']

Every element carries put-code, path, visibility, and its source, so that you can tell a researcher-asserted claim from one imported by a client (source.source_client_id).

Read one sub-section

Each sub-section reader hits its own route and returns None when the record has none of that kind; see upstream quirks for the 404 behavior behind that.

Method Route Notes
personal_details(orcid) /{orcid}/personal-details name, other names, biography
biography(orcid) /{orcid}/biography None when the record has none
researcher_urls(orcid) /{orcid}/researcher-urls
emails(orcid) /{orcid}/emails None when the record has none
addresses(orcid) /{orcid}/address two-letter countries
keywords(orcid) /{orcid}/keywords empty list when unset
external_identifiers(orcid) /{orcid}/external-identifiers Scopus, ISNI, and so on
other_names(orcid) /{orcid}/other-names
item(orcid, kind, put_code) /{orcid}/{kind}/{put-code} one item as a typed model
details = await client.person.personal_details(ORCID)
print(details.name.given_names.text, details.name.family_name.text)

biography = await client.person.biography(ORCID)
print("biography:", biography.content if biography else None)

emails = await client.person.emails(ORCID)
print("emails:", emails)

addresses = await client.person.addresses(ORCID)
print("countries:", [a.country.text for a in addresses.address])
Thomas B. Hickey
biography: None
emails: None
countries: ['US']

This record has no biography and no public email, so both readers return None. Keywords and addresses answer 200 with content when set and an empty structure when not; the same record printed an empty keyword list.

External identifiers

Each external identifier carries type and value, plus normalized (ORCID's canonical spelling) and normalized_error (why ORCID could not compute one), the same two fields the work and funding identifiers expose.

identifiers = await client.person.external_identifiers(ORCID)
for ext in identifiers.external_identifier:
    print(ext.type, ext.value, "| url:", ext.url.text if ext.url else None)
Scopus Author ID 7005100180 | url: http://www.scopus.com/inward/authorDetails.url?authorID=7005100180&partnerID=MN8TOARS

Read one item by put code

item() reads one entry of address, keywords, other-names, researcher-urls, or external-identifiers by its put code, and returns a typed model: PersonAddress, Keyword, OtherName, ResearcherUrl, or ExternalIdentifier. The fields are attributes, so you read one.url.text instead of walking a dictionary. The section routes return the same entries in their lists.

urls = await client.person.researcher_urls(ORCID)
for url in urls.researcher_url:
    print(url.url_name, url.url.text)

one = await client.person.item(
    ORCID, "researcher-urls", urls.researcher_url[0].put_code
)
print(type(one).__name__, "| put-code:", one.put_code, "|", one.url.text)
ISNI ID http://isni.org/isni/0000000023688144
Blog http://outgoing.typepad.com
VIAF ID http://viaf.org/viaf/72734757
ResearcherUrl | put-code: 727738 | http://isni.org/isni/0000000023688144

Name spelling differs between sections

The person section uses given-names and family-name (singular), while expanded search uses given-names and family-names (plural). The models follow the API spelling and alias it to snake_case attributes.