filter
FilterCapabilities
¶
Bases: Flag
A Flag class that describes the filter capabilities of a provider. Look here to learn how to use this.
Attributes:
Name | Type | Description |
---|---|---|
YEAR |
The provider is able to filter by year. |
|
SEASON |
The provider is able to filter by season. |
|
STATUS |
The provider is able to filter by status of anime. |
|
MEDIA_TYPE |
The provider is able to filter by media type of anime. |
|
NO_QUERY |
The provider accepts a empty query, this is useful if you
want to for example get all anime in a specific season, you do not
want to provide a query for that because then you will only get
shown the anime in that specific season that match the query. If a provider
supports |
|
ALL |
The provider supports all of the capabilities above. |
Filters(year=None, season=None, status=None, media_type=None)
dataclass
¶
MediaType
¶
Bases: Enum
A enum of mediatypes to filter by
Attributes:
Name | Type | Description |
---|---|---|
TV |
|
|
MOVIE |
|
|
OVA |
|
|
ONA |
|
|
SPECIAL |
|
|
MUSIC |
|
Season
¶
Bases: Enum
A enum of seasons to filter by
Attributes:
Name | Type | Description |
---|---|---|
SPRING |
|
|
SUMMER |
|
|
FALL |
|
|
WINTER |
|
Status
¶
Bases: Enum
A enum of anime states to filter by
Attributes:
Name | Type | Description |
---|---|---|
UPCOMING |
|
|
ONGOING |
|
|
COMPLETED |
|