Hierarchy

  • CrossrefClient

Constructors

Properties

_debug: boolean = false
_fetch: (<T>(this, method, url, params?) => Promise<HttpResponse<T>>) = _fetch

Type declaration

    • <T>(this, method, url, params?): Promise<HttpResponse<T>>
    • Type Parameters

      • T

      Parameters

      • this: CrossrefClient
      • method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH"
      • url: string
      • params: undefined | {
            [k: string]: any;
        } = undefined

      Returns Promise<HttpResponse<T>>

_mailto: string = ""
_plusToken: string = ""
_url: string = "https://api.crossref.org"
funder: ((this, id) => Promise<HttpResponse<Item<Funder>>>) = Funders.funder

Type declaration

funders: ((this, query, location?, rows?, offset?) => Promise<HttpResponse<Items<Funders>>>) = Funders.funders

Type declaration

fundersWorks: ((this, id, query?) => Promise<HttpResponse<Items<Work>>>) = Funders.fundersWorks

Type declaration

journal: ((this, issn) => Promise<HttpResponse<Item<Journal>>>) = Journals.journal

Type declaration

journalWorks: ((this, issn, query?) => Promise<HttpResponse<Items<Work>>>) = Journals.journalWorks

Type declaration

journals: ((this, query, rows?, offset?) => Promise<HttpResponse<Items<Journal>>>) = Journals.journals

Type declaration

licenses: ((this, query, rows?, offset?) => Promise<HttpResponse<Items<LicenseSearchResult>>>) = Licenses.licenses

Type declaration

member: ((this, id) => Promise<HttpResponse<Item<Member>>>) = Members.member

Type declaration

memberWorks: ((this, id, query?) => Promise<HttpResponse<Items<Work>>>) = Members.memberWorks

Type declaration

members: ((this, query) => Promise<HttpResponse<Items<Member>>>) = Members.members

Type declaration

prefix: ((this, prefix) => Promise<HttpResponse<Item<Prefix>>>) = Prefixes.prefix

Type declaration

prefixWorks: ((this, prefix, query?) => Promise<HttpResponse<Items<Work>>>) = Prefixes.prefixWorks

Type declaration

type: ((this, id) => Promise<HttpResponse<Item<Type>>>) = Types.type

Type declaration

typeWorks: ((this, id, query?) => Promise<HttpResponse<Items<Work>>>) = Types.typeWorks

Type declaration

types: ((this, query, rows?, offset?) => Promise<HttpResponse<Items<Type>>>) = Types.types

Type declaration

work: ((this, doi) => Promise<HttpResponse<Item<Work>>>) = Works.work

Type declaration

works: ((this, query?) => Promise<HttpResponse<Items<Work>>>) = Works.works

Type declaration

worksAgency: ((this, doi) => Promise<HttpResponse<Items<Agency>>>) = Works.worksAgency

Type declaration

Methods

Generated using TypeDoc