User Query Documentation¶
UserQuery
¶
This class represents a user Query in the AniLink API.
| ATTRIBUTE | DESCRIPTION |
|---|---|
base_url |
The base URL for the AniLink API.
TYPE:
|
auth_token |
The authentication token.
TYPE:
|
| PARAMETER | DESCRIPTION |
|---|---|
auth_token |
The authentication token.
TYPE:
|
Source code in AniLinkPy/apis/anilist/query/user.py
user
¶
This method is used to send a user Query.
| PARAMETER | DESCRIPTION |
|---|---|
variables |
The variables for the Query.
TYPE:
|
| RAISES | DESCRIPTION |
|---|---|
ValueError
|
If no variables are provided. |
| RETURNS | DESCRIPTION |
|---|---|
dict
|
The response from the user Query.
TYPE:
|