JikanAuth is a PHP API for MyAnimeList.net. It allows you to login and manage your anime and manga lists. It satisfies MyAnimeList's lack of API.
This library is a sister project initiative of the Jikan API - which covers MyAnimeList entirely for GET/read requests only.
This library is not production ready and may be updated frequently, use at your own risk
JikanAuth will not be a part of the Jikan REST API.
Right now it's more or less a proof of concept due to limitations from MyAnimeList.
- MyAnimeList will block the IP after multiple failed login attempts.
- Having a plethora amount of logins through a singular IP will raise suspicion. As you probably know, MyAnimeList has banned a huge number of proxies/VPN IPs.
- Use as a private API for your app
- Use a pool of proxies that work by injecting your own Guzzle Client
- Request MyAnimeList to whitelist your IP ๐ค
- Use the PoC to come up with a client-side solution
A short preface; I'm not the first one to come up with this. I've only implemented the idea. There's quite a number of 3rd party apps that have been using this method to manage user lists since MyAnimeList's API went down.
JikanAuth uses MyAnimeList's login for to authenticate the user and uses the session data to perform further requests such as updating the user's list.
The user's list can be updated through MyAnimeList's undocumented internal API which is used via XHR on their website.
Yes, you can read messages, send messages, send friend requests, read notifcations, etc.
But I see no point in implementing these features because I currently don't see this being practical on a larger scale as a PHP library due to the Reasons I mentioned above.
composer require jikan-me/jikan-auth
- Documentation
- Guzzle
- PHP 7.1+
- Login with Username/Password
- Manage Anime/Manga lists
- Add
- Edit
- Delete
- Dependency Injection
- Reuse session by storing it
- Add possible Exceptions
- Add possible responses (you don't get any response currently, it simply works)
- JikanAuth is not affiliated with MyAnimeList.net
- You are responsible for the usage of this API. Please be respectful towards MyAnimeList's Terms Of Service