Pymoe.helpers¶
-
class
Pymoe.helpers.
anilistWrapper
(data: list, json: dict, headers: dict, base_url: str)[source]¶ This is a search wrapper for anilist. It does not inherit from the subclass of SearchWrapper because the GraphQL interface is too different from the other apis.
Variables: - json – The JSON Parameters to send with the request
- header – The Headers to send with the request
- base_url – The base API Url
- isNext – Simple switch for denoting no more results
-
class
Pymoe.helpers.
kitsuWrapper
(data: list, link: str, headers: dict)[source]¶ This is an API aware iterator that subclasses list. This is for Kitsu.
Variables: - _url – Link to the next set of results
- header – Headers needed for API calls
-
class
Pymoe.helpers.
malWrapper
(data: list, link: str, headers: dict)[source]¶ This is an API aware iterator that subclasses list. This is for MAL.
Variables: - _url – Link to the next set of results
- header – Headers needed for API calls