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!
找不到电影或节目?登录并创建它吧。
ticao2 🇧🇷 pt-BR 的回复
于 2023 年 09 月 21 日 8:20上午
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
Travis Bell 的回复
于 2023 年 09 月 21 日 11:32上午
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.