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!
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de ticao2 🇧🇷 pt-BR
pe data de 21 septembrie 2023 la ora 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
Răspuns de Travis Bell
pe data de 21 septembrie 2023 la ora 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.