Skip to content

Instantly share code, notes, and snippets.

jacoblevine

Block or report user

Report or block jacoblevine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@jrsmith3
jrsmith3 / doi2bib.py
Last active Aug 12, 2019
Python method to access crossref.org DOI bibtex metadata resolver
View doi2bib.py
import requests
def doi2bib(doi):
"""
Return a bibTeX string of metadata for a given DOI.
"""
url = "http://dx.doi.org/" + doi
headers = {"accept": "application/x-bibtex"}
You can’t perform that action at this time.