Class: CrossRef

CrossRef()

Handles querying CrossRef API for metadata about a DOI.

Constructor

new CrossRef()

Since:
  • 2.32.0
Source:

Extends

  • Backbone.Model
  • Backbone.Model

Members

type

Source:

Methods

cacheResponse(doi, response)

Cache the response from the CrossRef API
Parameters:
Name Type Description
doi string The DOI for the response
response object The response from the CrossRef API
Source:

clearCache()

Clear the cache of CrossRef responses
Source:

defaults()

Defaults for the CrossRef model.
Properties:
Name Type Description
baseURL string The base URL for the CrossRef API.
email string The email address to use for "polite" requests. See https://github.com/CrossRef/rest-api-doc#good-manners--more-reliable-service).
Source:

fetch()

Source:

getCachedResponse(doi) → {object|null}

Get the cached response for a DOI
Parameters:
Name Type Description
doi string The DOI to get the cached response for
Source:
Returns:
The cached response or null if there is no cached response
Type
object | null

url()

Source: