Rotten Tomatoes API Forums

Bugs

RSS Feed

Pagination in movies.json not working for this query

    • tmongy
    • Topic created 1 year ago

    I am running the following query: "api.rottentomatoes.com/api/public/v1.0/movies.json?q=the%20hunger%20games&page_limit=1&page=1&apikey={key}"

    Which returns two results, first being "Catching Fire". If I then try to get the second result using: "api.rottentomatoes.com/api/public/v1.0/movies.json?q=the%20hunger%20games&page_limit=1&page=2&apikey={key}"

    I get the same movie "Catching Fire" and I'm unable to get the info for the correct movie for the search.

    If I instead use: "api.rottentomatoes.com/api/public/v1.0/movies.json?q=the%20hunger%20games&page_limit=2&page=1&apikey={key}"

    I can then see "The Hunger Games" as the first result.

    Why is the pagination nott working for this specific query?

    Thanks

    Message edited by tmongy 1 year ago

[ Page 1 of 1 ]