Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for anime/manga list of a user #11

Closed
m4st3rP opened this issue Oct 15, 2018 · 2 comments
Closed

Support for anime/manga list of a user #11

m4st3rP opened this issue Oct 15, 2018 · 2 comments
Assignees

Comments

@m4st3rP
Copy link

m4st3rP commented Oct 15, 2018

Hello,
I would suggest adding the possibility to get the anime and/or manga of a user (so basically this JSON: https://api.jikan.moe/v3/user/masterP/animelist).
If this already exists, then I am really sorry, I searched for it but couldn't find it.
Thank you very much!

@abhinavk99 abhinavk99 self-assigned this Oct 15, 2018
@abhinavk99
Copy link
Owner

Thanks for making the issue. Jikanpy currently adheres to Jikan REST v3.0, so I need to update it to adhere to v3.1, which added anime and manga lists of a user.

@abhinavk99
Copy link
Owner

Just added support in 6035f9b.

Use it as such:

anime = jikan.user(username='masterP', request='animelist')
manga = jikan.user(username='masterP', request='mangalist')
anime_ptw = jikan.user(username='masterP', request='animelist', argument='ptw')
pg_number = jikan.user(username='masterP', request='mangalist', argument='reading', page=2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants