omdbapi / OMDb-API

The Open Movie Database Bug Tracking
418 stars 21 forks source link

Page parameter does not work(?) #229

Closed aecceyhan closed 3 years ago

aecceyhan commented 3 years ago

Hi,

I try to get the list of StarWars movies with CRUL

`curl --location --request GET 'https://www.omdbapi.com/?t=starwars&apikey=KEY&plot=full&page=1'

and

`curl --location --request GET 'https://www.omdbapi.com/?t=starwars&apikey=KEY&plot=full&page=2'

When change the page parameter does not affect the result. Is this a bug or do I use this thing wrong? Also is there any way to get a list of movies on search?

arturacm commented 3 years ago

Hey, from what I understood from this API, the page option is only availible if you are doing a Search. Try intead of the key T using the key S. Then the page key will become availible.

omdbapi commented 3 years ago

Thank you @arturacm for answering this.