API reference

Note

There is currently nothing logged on the backend of Pyanimelist; This is planned to be added in future commits.

Note

The use of BeautifulSoup will soon be depreciated and will switch to an lxml backend for the one function that uses BeautifulSoup.

Find out the version of Pyanimelist you have

pyanimelist.__version__

A string that represents the version of Pyanimelist you’re using, for example "1.0.0"

Client

Exceptions

Dataclasses

Note

These are not for creating yourself, these are handled and given to you from the libraries backend.

Enumerations

The API returns integers which we plug into our enumerations for easy filtering

class pyanimelist.enumerations.AnimeStatus

Specifies the status of the Anime.

WATCHING

The anime is currently being watched

COMPLETED

The anime has been completely watched

ON_HOLD

The anime is currently on hold

DROPPED

The anime was dropped mid way through watching

PLAN_TO_WATCH

The anime has been planned to be watched

class pyanimelist.enumerations.MangaStatus

Specifies the status of the Manga.

READING

The manga is currently being read

COMPLETED

The manga has been completely read

ON_HOLD

The manga is currently on hold

DROPPED

The manga was dropped mid way through reading

PLAN_TO_READ

The manga has been planned to be read

Abstractions

Note

These are used in the backend of the library and are not for using outside it!