Preparing search index...
The search index is not available
@jamesgopsill/crossref-client
@jamesgopsill/crossref-client
CrossrefClient
Class CrossrefClient
Hierarchy
CrossrefClient
Index
Constructors
constructor
Properties
_debug
_fetch
_mailto
_plus
Token
_url
funder
funders
funders
Works
journal
journal
Works
journals
licenses
member
member
Works
members
prefix
prefix
Works
type
type
Works
types
work
works
works
Agency
Methods
ping
Constructors
constructor
new
Crossref
Client
(
mailto
?
,
plusToken
?
,
debug
?
)
:
CrossrefClient
Parameters
mailto
:
string
= ""
plusToken
:
string
= ""
debug
:
boolean
= false
Returns
CrossrefClient
Properties
Protected
_debug
_debug
:
boolean
= false
Protected
_fetch
_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
>
>
Protected
_mailto
_mailto
:
string
= ""
Protected
_plus
Token
_plus
Token
:
string
= ""
Protected
_url
_url
:
string
= "https://api.crossref.org"
funder
funder
:
(
(
this
,
id
)
=>
Promise
<
HttpResponse
<
Item
<
Funder
>
>
>
)
= Funders.funder
Type declaration
(
this
,
id
)
:
Promise
<
HttpResponse
<
Item
<
Funder
>
>
>
Parameters
this
:
CrossrefClient
id
:
string
Returns
Promise
<
HttpResponse
<
Item
<
Funder
>
>
>
funders
funders
:
(
(
this
,
query
,
location
?
,
rows
?
,
offset
?
)
=>
Promise
<
HttpResponse
<
Items
<
Funders
>
>
>
)
= Funders.funders
Type declaration
(
this
,
query
,
location
?
,
rows
?
,
offset
?
)
:
Promise
<
HttpResponse
<
Items
<
Funders
>
>
>
Parameters
this
:
CrossrefClient
query
:
string
location
:
string
= ""
rows
:
number
= 20
offset
:
number
= 0
Returns
Promise
<
HttpResponse
<
Items
<
Funders
>
>
>
funders
Works
funders
Works
:
(
(
this
,
id
,
query
?
)
=>
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
)
= Funders.fundersWorks
Type declaration
(
this
,
id
,
query
?
)
:
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
Parameters
this
:
CrossrefClient
id
:
string
query
:
undefined
|
QueryWorksParams
= undefined
Returns
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
journal
journal
:
(
(
this
,
issn
)
=>
Promise
<
HttpResponse
<
Item
<
Journal
>
>
>
)
= Journals.journal
Type declaration
(
this
,
issn
)
:
Promise
<
HttpResponse
<
Item
<
Journal
>
>
>
Parameters
this
:
CrossrefClient
issn
:
string
Returns
Promise
<
HttpResponse
<
Item
<
Journal
>
>
>
journal
Works
journal
Works
:
(
(
this
,
issn
,
query
?
)
=>
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
)
= Journals.journalWorks
Type declaration
(
this
,
issn
,
query
?
)
:
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
Parameters
this
:
CrossrefClient
issn
:
string
query
:
undefined
|
QueryWorksParams
= undefined
Returns
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
journals
journals
:
(
(
this
,
query
,
rows
?
,
offset
?
)
=>
Promise
<
HttpResponse
<
Items
<
Journal
>
>
>
)
= Journals.journals
Type declaration
(
this
,
query
,
rows
?
,
offset
?
)
:
Promise
<
HttpResponse
<
Items
<
Journal
>
>
>
Parameters
this
:
CrossrefClient
query
:
string
rows
:
number
= 20
offset
:
number
= 0
Returns
Promise
<
HttpResponse
<
Items
<
Journal
>
>
>
licenses
licenses
:
(
(
this
,
query
,
rows
?
,
offset
?
)
=>
Promise
<
HttpResponse
<
Items
<
LicenseSearchResult
>
>
>
)
= Licenses.licenses
Type declaration
(
this
,
query
,
rows
?
,
offset
?
)
:
Promise
<
HttpResponse
<
Items
<
LicenseSearchResult
>
>
>
Parameters
this
:
CrossrefClient
query
:
string
rows
:
number
= 20
offset
:
number
= 0
Returns
Promise
<
HttpResponse
<
Items
<
LicenseSearchResult
>
>
>
member
member
:
(
(
this
,
id
)
=>
Promise
<
HttpResponse
<
Item
<
Member
>
>
>
)
= Members.member
Type declaration
(
this
,
id
)
:
Promise
<
HttpResponse
<
Item
<
Member
>
>
>
Parameters
this
:
CrossrefClient
id
:
string
Returns
Promise
<
HttpResponse
<
Item
<
Member
>
>
>
member
Works
member
Works
:
(
(
this
,
id
,
query
?
)
=>
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
)
= Members.memberWorks
Type declaration
(
this
,
id
,
query
?
)
:
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
Parameters
this
:
CrossrefClient
id
:
string
query
:
undefined
|
QueryWorksParams
= undefined
Returns
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
members
members
:
(
(
this
,
query
)
=>
Promise
<
HttpResponse
<
Items
<
Member
>
>
>
)
= Members.members
Type declaration
(
this
,
query
)
:
Promise
<
HttpResponse
<
Items
<
Member
>
>
>
Parameters
this
:
CrossrefClient
query
:
string
Returns
Promise
<
HttpResponse
<
Items
<
Member
>
>
>
prefix
prefix
:
(
(
this
,
prefix
)
=>
Promise
<
HttpResponse
<
Item
<
Prefix
>
>
>
)
= Prefixes.prefix
Type declaration
(
this
,
prefix
)
:
Promise
<
HttpResponse
<
Item
<
Prefix
>
>
>
Parameters
this
:
CrossrefClient
prefix
:
string
Returns
Promise
<
HttpResponse
<
Item
<
Prefix
>
>
>
prefix
Works
prefix
Works
:
(
(
this
,
prefix
,
query
?
)
=>
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
)
= Prefixes.prefixWorks
Type declaration
(
this
,
prefix
,
query
?
)
:
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
Parameters
this
:
CrossrefClient
prefix
:
string
query
:
undefined
|
QueryWorksParams
= undefined
Returns
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
type
type
:
(
(
this
,
id
)
=>
Promise
<
HttpResponse
<
Item
<
Type
>
>
>
)
= Types.type
Type declaration
(
this
,
id
)
:
Promise
<
HttpResponse
<
Item
<
Type
>
>
>
Parameters
this
:
CrossrefClient
id
:
string
Returns
Promise
<
HttpResponse
<
Item
<
Type
>
>
>
type
Works
type
Works
:
(
(
this
,
id
,
query
?
)
=>
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
)
= Types.typeWorks
Type declaration
(
this
,
id
,
query
?
)
:
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
Parameters
this
:
CrossrefClient
id
:
string
query
:
undefined
|
QueryWorksParams
= undefined
Returns
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
types
types
:
(
(
this
,
query
,
rows
?
,
offset
?
)
=>
Promise
<
HttpResponse
<
Items
<
Type
>
>
>
)
= Types.types
Type declaration
(
this
,
query
,
rows
?
,
offset
?
)
:
Promise
<
HttpResponse
<
Items
<
Type
>
>
>
Parameters
this
:
CrossrefClient
query
:
string
rows
:
number
= 20
offset
:
number
= 0
Returns
Promise
<
HttpResponse
<
Items
<
Type
>
>
>
work
work
:
(
(
this
,
doi
)
=>
Promise
<
HttpResponse
<
Item
<
Work
>
>
>
)
= Works.work
Type declaration
(
this
,
doi
)
:
Promise
<
HttpResponse
<
Item
<
Work
>
>
>
Parameters
this
:
CrossrefClient
doi
:
string
Returns
Promise
<
HttpResponse
<
Item
<
Work
>
>
>
works
works
:
(
(
this
,
query
?
)
=>
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
)
= Works.works
Type declaration
(
this
,
query
?
)
:
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
Parameters
this
:
CrossrefClient
query
:
undefined
|
QueryWorksParams
= undefined
Returns
Promise
<
HttpResponse
<
Items
<
Work
>
>
>
works
Agency
works
Agency
:
(
(
this
,
doi
)
=>
Promise
<
HttpResponse
<
Items
<
Agency
>
>
>
)
= Works.worksAgency
Type declaration
(
this
,
doi
)
:
Promise
<
HttpResponse
<
Items
<
Agency
>
>
>
Parameters
this
:
CrossrefClient
doi
:
string
Returns
Promise
<
HttpResponse
<
Items
<
Agency
>
>
>
Methods
ping
ping
(
)
:
string
Returns
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
_debug
_fetch
_mailto
_plus
Token
_url
funder
funders
funders
Works
journal
journal
Works
journals
licenses
member
member
Works
members
prefix
prefix
Works
type
type
Works
types
work
works
works
Agency
ping
@jamesgopsill/crossref-
client
Sort
Order
Work
Select
Options
Work
Sort
Options
Crossref
Client
Agency
Assertion
Author
Counts
Coverage
Coverage
Type
Date
Obj
Date
Parts
Flags
Funder
Funders
Issn
Type
Item
Items
Journal
License
License
Search
Result
Link
Member
Prefix
Query
Works
Params
Reference
Search
Query
Params
Type
Work
Work
Clinical
Trial
Number
Work
Free
To
Read
Work
Institution
Work
Review
Work
Standards
Body
Work
Update
Works
Funder
Http
Response
Generated using
TypeDoc