Skip to content

Allow handling of DataCite (e.g.) DOIs in addition to Crossref #9

Description

@kyleniemeyer

Currently the DOI validator (in branch doi-validator, to be merged via PR #4 ) only supports Crossref DOIs. While most journal papers will have these, we also need to support other DOI registration agencies, in particular DataCite, since paper & data repositories such as Figshare and Zenodo provide DataCite DOIs.

Fortunately, there is a Python package for accessing the DataCite API: http://datacite.readthedocs.io/en/latest/.

This should be added to _validate_isvalid_reference() in chemked/validation.py as a fallback option if the Crossref API returns an HTTPError.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions