https://www.themoviedb.org/company/72685/movie has over 200 items but the API only returns 13 results
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 29 junho 2024 às 7:17 AM
Problems with API Request
In order for someone to help you with API Request questions,
it is critical that you post here the API Request you are sending to the TMDb server.
Remember to replace your Key with MY_KEY , YOUR_KEY , THE_KEY , or something like that.
Not the programming code/script you used to build the API Request.
But the API Request that is sent to the TMDb server.
Or the API Request you would like to send.
Resposta de HybridTheory9
em 29 junho 2024 às 4:53 PM
HTTP GET on
https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=1&sort_by=popularity.desc&with_companies=72685
-> 17 results
HTTP GET on
https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=en-US&page=2&sort_by=popularity.desc&with_companies=72685
-> 0 results
But https://www.themoviedb.org/company/72685/movie has 230 results
Resposta de jedi.jesse
em 29 junho 2024 às 5:51 PM
Double check your query parameters and figure out which of those might be filtering your results:
Try changing your query to see what other results you get (Hint:
include_video=true
)Resposta de HybridTheory9
em 29 junho 2024 às 6:00 PM
Yep that's it, thanks!
Resposta de HybridTheory9
em 29 junho 2024 às 6:00 PM
Did this behaviour change recently?
Resposta de jedi.jesse
em 29 junho 2024 às 6:04 PM
I'm not a mod, I'm just some guy who also uses these APIs, but I don't think there's any change in behavior.
If you set
include_video=false
, then movies with whereVideo? = Yes
will be excluded... that's not new. It's always possible that the movies have been recently modified.Resposta de superboy97
em 30 junho 2024 às 1:15 AM
No.