Skip to content

Latest commit

 

History

History
92 lines (51 loc) · 3.72 KB

faq.md

File metadata and controls

92 lines (51 loc) · 3.72 KB

General

Does this library support Java # ?

This project supports Java 8+ and Java 9+ modules.

WARNING: An illegal reflective access operation has occurred

(this warning does not affect the library in any way)

In order to make this library function on Java 8-10, reflection is used in order to make PATCH requests work correctly.

If you don't want this warning then either:

  • Downgrade to Java 8
  • Upgrade to Java 11 or higher

UnsupportedClassVersionError

This issue is caused by using an older, unsupported Java version; this library requires at least Java 8.

AndroidCompatibilityException / ClassNotFoundException / NoSuchMethodError

This issue may occur due to Android incompatibilities (blame Google), please open a new issue if this happens.

These exceptions are no longer thrown, update to the latest version.

InaccessibleObjectException / IllegalStateException: Reflect module is not accessible in JDK 9+

In order to make this library function on Java 9-10, reflection is used in order to make PATCH requests work correctly.

To avoid this exception either:

  • Downgrade to Java 8
  • Upgrade to Java 11 or higher
  • Add --add-opens java.base/java.lang.reflect=Mal4J --add-opens java.base/java.net=Mal4J to VM options
  • Make the project not modular (remove module-info.java)

API

Are their any rate limits?

The MyAnimeList API currently has no rate limit in place so requests must be sent at your own discretion.

What does this library offer in comparison to the Official API?

This library offers ALL the features provided by the API.

My client id / auth token doesn't work

  • Make sure you are using the correct authentication method
  • Your token may be expired.
  • Your token is missing 'Bearer '.
  • Your token may contain dangling whitespace.

Incorrect date is returned

Java does not support null date fields; for Anime/Manga that is yet to start, an unknown month will be returned as January, and an unknown day will be returned as 1.

Seasons query is returning Anime from other seasons

The seasons query returns Anime that are airing in the current season, this includes Anime that may have started the season before and are still airing this season.

NSFW is not working

For search queries make sure you also run includeNSFW() in the query builder.

Unable to get other users

Currently the MyAnimeList API does not allow you to check users other than yourself.

Unable to modify my Anime/Manga lists

In order to change listings you must authenticate using a token or with an authenticator.

list_status / my_list_status field isn't working

For some requests my_list_status field may be required instead of list_status or vice-versa. Try using the other field if responses are null.

Affinity is not working correctly

This feature is experimental.

The affinity method requires that both users have their Anime/Manga list public.

Affinity is slow

This feature is experimental

The affinity method may take several minutes to complete depending on the amount of listings. A callback can be used if you don't want to block the main thread.