Skip to content

Instantly share code, notes, and snippets.



Forked from jrsmith3/
Created Feb 26, 2016
What would you like to do?
Python method to access DOI bibtex metadata resolver
import requests
def doi2bib(doi):
Return a bibTeX string of metadata for a given DOI.
url = "" + doi
headers = {"accept": "application/x-bibtex"}
r = requests.get(url, headers = headers)
return r.text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.