Hi, I am trying to show the latest movie releases but after 3 weeks I keep getting the same movies and others that have been released do not appear. Is there any filter that I can put to appear? I see the premieres on https://www.themoviedb.org/movie/now-playing and they are not the same as in the call https://api.themoviedb.org/3/movie/now_playing?language=es-ES&page=1 Thank you!
Não consegue encontrar um certo filme ou série? Inicie sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de ticao2 🇧🇷 pt-BR
em 21 setembro 2023 às 8:20 AM
In the WEB interface there are some options selected by default.
And you can change these options.
In the API Request you can select only the country.
Check if it is the same as the WEB interface.
There is also a predetermined period of time that you cannot change.
And the time periods are not always the same, on the WEB and in the API.
Just now I tested it.
API
"maximum": "2023-09-26",
"minimum": "2023-08-09"
WEB
2023-09-27
2023-08-16
If the parameters are not the same, the answer should not be the same.
EDIT
If you want an API Request that probably returns the same response as the WEB interface, build yours using Discover.
https://developer.themoviedb.org/reference/discover-movie
Resposta de Travis Bell
em 21 setembro 2023 às 11:32 AM
As the docs state it is really just a discover call. There's even an example.
One crucial thing is to make sure and use the
region
filter.