jmakhack / myanimelist-cli

Minimalistic command line interface for fetching user anime data from MyAnimeList.
https://aur.archlinux.org/packages/mya-git
MIT License
11 stars 15 forks source link

[TASK] Jikan API V4 Migration #31

Closed jmakhack closed 1 year ago

jmakhack commented 1 year ago

Task Context

According to the Jikan API website: V3 is being discontinued from 1st October, 2022..

This task is to migrate the Jikan API version used within this project's code to V4.

Acceptance Criteria

Update the Jikan API call in mya.c to use the V4 API instead of the current V3 API.

Verify whether or not changing the API version requires other changes to be made within the codebase.

For example, certain API endpoints may need to be changed or the JSON payload response may be different for existing endpoints.

If migrating to V4 requires additional changes, those changes should be made such that the program works as intended with different inputs.

Additional Context

Jikan API Website: https://jikan.moe/ V3 Deprecation Doc: https://docs.google.com/document/d/172RQ9wWiXqOnGqjXrV3cxMNceiqwCjxjprSFuyLwQJM/edit?usp=sharing V4 API Docs: https://docs.api.jikan.moe/

For any questions or discussions, join the Discord to meet and engage with other contributors!

Discord

jmakhack commented 1 year ago

Closing this issue since it actually looks like the Jikan API endpoint for grabbing user anime lists is now deprecated according to https://docs.google.com/document/d/1-6H-agSnqa8Mfmw802UYfGQrceIEnAaEh4uCXAPiX5A/edit

Using the official MAL API will be needed for this project to stay running.