Anime reviews endpoint always returns page 1
Closed this issue · 3 comments
When I call the reviews/anime/
endpoint, it returns page 1 every time, no matter what page number I specify (has_next_page
is true).
{'last_visible_page': 1, 'has_next_page': True}
the has_next_page:True
tells you if there are more pages of data present in the database, as long as it's true you can further make a request for more pages.
-
Every page contains 50
data objects
-
The
page
is a separate parameter you have to pass in order to see the next page
for example try this https://api.jikan.moe/v4/reviews/anime?page=3
@jantosz This is intended behavior for reviews.
Reviews are parsed from this page: https://myanimelist.net/reviews.php?t=anime
There is no pagination information only a "Next" button which helps identify whether has_next_page
should be set to true. This is why last_visible_page
falls back to 1
.
@irfan-dahir that makes sense