KatsuteDev / Mal4J

Java wrapper for the official MyAnimeList API
https://katsute.dev/product/mal4j
GNU General Public License v2.0
40 stars 4 forks source link

Missing alternative titles #361

Closed Katsute closed 1 year ago

Katsute commented 1 year ago

Feature

The alternative items class is incomplete, currently only include en and ja.

Two sections might[^1] need to be updated:

https://github.com/KatsuteDev/Mal4J/blob/bf3dcd641afbba5ec5c4937d20c4ffd808c3c00e/src/main/java/dev/katsute/mal4j/property/AlternativeTitles.java#L29-L58

https://github.com/KatsuteDev/Mal4J/blob/bf3dcd641afbba5ec5c4937d20c4ffd808c3c00e/src/main/java/dev/katsute/mal4j/MyAnimeListSchema_Common.java#L28-L64

[^1]: Languages other than en and ja are not documented, see https://myanimelist.net/apiconfig/references/api/v2#operation/anime_anime_id_get

Reason

Some items include more than just en and ja: https://myanimelist.net/anime/7817/B-gata_H-kei

Katsute commented 1 year ago

External issue, alternative_titles doesn't return anything other than en, ja.