aniql
GitHub
S0n1c
Preparing search index...
AniQLClient
Class AniQLClient
Index
Constructors
constructor
Properties
base_
url
_
opts
Accessors
auth_
url
Methods
query
mutation
_
fetcher
auth_
exchange
Constructors
constructor
new
AniQLClient
(
opts
:
AniQLOptions
)
:
AniQLClient
Parameters
opts
:
AniQLOptions
Returns
AniQLClient
Properties
Static
base_
url
base_url
:
string
= 'https://graphql.anilist.co'
_
opts
_opts
:
AniQLOptions
Accessors
auth_
url
get
auth_url
()
:
string
Returns
string
Methods
query
query
<
R
extends
QueryGenqlSelection
>
(
request
:
R
&
{
__name
?:
string
}
,
opts
?:
AniQLRequestOptions
,
)
:
Promise
<
FieldsSelection
<
Query
,
R
>
>
Type Parameters
R
extends
QueryGenqlSelection
Parameters
request
:
R
&
{
__name
?:
string
}
Optional
opts
:
AniQLRequestOptions
Returns
Promise
<
FieldsSelection
<
Query
,
R
>
>
mutation
mutation
<
R
extends
MutationGenqlSelection
>
(
request
:
R
&
{
__name
?:
string
}
,
opts
?:
AniQLRequestOptions
,
)
:
Promise
<
FieldsSelection
<
Mutation
,
R
>
>
Type Parameters
R
extends
MutationGenqlSelection
Parameters
request
:
R
&
{
__name
?:
string
}
Optional
opts
:
AniQLRequestOptions
Returns
Promise
<
FieldsSelection
<
Mutation
,
R
>
>
_
fetcher
_fetcher
(
_token
?:
string
)
:
Fetcher
Parameters
Optional
_token
:
string
Returns
Fetcher
auth_
exchange
auth_exchange
(
code
:
string
,
)
:
Promise
<
{
access_token
:
string
;
token_type
:
string
;
expires_in
:
number
;
refresh_token
:
string
;
}
,
>
Parameters
code
:
string
Returns
Promise
<
{
access_token
:
string
;
token_type
:
string
;
expires_in
:
number
;
refresh_token
:
string
;
}
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
base_
url
_
opts
Accessors
auth_
url
Methods
query
mutation
_
fetcher
auth_
exchange
GitHub
S0n1c
aniql
Loading...