pip3 install crossref-commons
>>> import cross_ref
>>> cross_ref.get_pub(doi) #doi can be in any format with or without http://doi.org
Returns a Python dictionary with structure:
{
'author': [
{'ORCID':
'http: //orcid.org/0000-0001-5966-6083',
'authenticated-orcid': True,
'given': 'Harrison J.',
'family': 'Cox',
'sequence': 'first',
'affiliation': [
{'name': 'Department of Chemistry, Durham University, Durham DH1 3LE, England, U.K.'
}
]
},
{'given': 'Gary J.',
'family': 'Sharples',
'sequence':
'additional',
'affiliation': [
{'name': 'Department of Biosciences, Durham University, Durham DH1 3LE, England, U.K.'
}
]
},
{'ORCID':
'http: //orcid.org/0000-0002-5086-5737',
'authenticated-orcid': True,
'given': 'Jas Pal S.',
'family': 'Badyal',
'sequence': 'additional',
'affiliation': [
{'name': 'Department of Chemistry, Durham University, Durham DH1 3LE, England, U.K.'
}
]
}
],
'title': ['Tea–Essential Oil–Metal Hybrid Nanocoatings for Bacterial and Viral Inactivation'
],
'journal': ['ACS Applied Nano Materials'
],
'issue': '11',
'volume': '4',
'pages': '12619-12628',
'pub_year': 2021
}
python3 cross_ref.py doi
python3 cross_ref.py 10.1021/acsanm.1c03151
Returns dictionary above.
python3 cross_ref.py http://doi.org/10.25250/thescbr.brk569
{
'author': [
{'given': 'Stefan', 'family': 'Szyniszewski', 'sequence': 'first', 'affiliation': []},
{'given': 'Miranda', 'family': 'Anderson', 'sequence': 'additional' , 'affiliation': []}],
'title': ['Non-cuttable material inspired by seashells'],
'journal': ['TheScienceBreaker'],
'issue': '03',
'volume': '07',
'pages': '',
'pub_year': 2021
}
python3 cross_ref.py https://doi.org/10.1016/j.mtcomm.2023.105616
{
'author': [
{'given': 'O.', 'family': 'Duncan', 'sequence': 'first', 'affiliation': []},
{'given': 'M.', 'family': 'Chester', 'sequence': 'additional', 'affiliation': []},
{'given': 'W.', 'family': 'Wang', 'sequence': 'additional', 'affiliation': []},
{'given': 'A.', 'family': 'Alderson', 'sequence': 'additional', 'affiliation': []},
{'given': 'T.', 'family': 'Allen', 'sequence': 'additional', 'affiliation': []}],
'title': ['Effect of twist on indentation resistance'],
'journal': ['Materials Today Communications'],
'issue': '',
'volume': '35',
'pages': '105616',
'pub_year': 2023
}