Skip to content

Update to work with the new Crossref API #14

Description

@ronaldtse

return "https://data.crossref.org/%s" % doi

Crossref API seems to have changed its hostname from data.crossref.org to api.crossref.org.

e.g. https://api.crossref.org/v1/works/10.6028/nist.sp.800-183

{
  "status": "ok",
  "message-type": "work",
  "message-version": "1.0.0",
  "message": {
    "institution": [
      {
        "name": "National Institute of Standards and Technology",
        "acronym": [
          "NIST"
        ],
        "place": [
          "Gaithersburg, MD"
        ]
      }
    ],
    "indexed": {
      "date-parts": [
        [
          2021,
          12,
          14
        ]
      ],
      "date-time": "2021-12-14T05:30:53Z",
      "timestamp": 1639459853842
    },
    "publisher-location": "Gaithersburg, MD",
    "reference-count": 0,
    "publisher": "National Institute of Standards and Technology",
    "content-domain": {
      "domain": [

      ],
      "crossmark-restriction": false
    },
    "short-container-title": [

    ],
    "DOI": "10.6028/nist.sp.800-183",
    "type": "report",
    "created": {
      "date-parts": [
        [
          2016,
          7,
          19
        ]
      ],
      "date-time": "2016-07-19T21:41:31Z",
      "timestamp": 1468964491000
    },
    "source": "Crossref",
    "is-referenced-by-count": 36,
    "title": [
      "Networks of 'things'"
    ],
    "prefix": "10.6028",
    "author": [
      {
        "given": "Jeffrey M",
        "family": "Voas",
        "sequence": "first",
        "affiliation": [

        ]
      }
    ],
    "member": "4068",
    "published-online": {
      "date-parts": [
        [
          2016
        ]
      ]
    },
    "container-title": [

    ],
    "original-title": [

    ],
    "deposited": {
      "date-parts": [
        [
          2018,
          3,
          6
        ]
      ],
      "date-time": "2018-03-06T09:44:48Z",
      "timestamp": 1520329488000
    },
    "score": 1,
    "subtitle": [
      ""
    ],
    "short-title": [

    ],
    "issued": {
      "date-parts": [
        [
          2016
        ]
      ]
    },
    "references-count": 0,
    "URL": "http://dx.doi.org/10.6028/nist.sp.800-183",
    "relation": {
    },
    "published": {
      "date-parts": [
        [
          2016
        ]
      ]
    }
  }
}

And https://data.crossref.org/10.6028/NIST.SP.800-183 :
Screenshot 2021-12-17 at 9 52 15 AM

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

  • Status
    Urgent

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions