https://www.themoviedb.org/company/72685/movie has over 200 items but the API only returns 13 results
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de ticao2 🇧🇷 pt-BR
le 29 juin 2024 Ă 07h17
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.
RĂ©ponse de HybridTheory9
le 29 juin 2024 Ă 16h53
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
RĂ©ponse de jedi.jesse
le 29 juin 2024 Ă 17h51
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
)RĂ©ponse de HybridTheory9
le 29 juin 2024 Ă 18h00
Yep that's it, thanks!
RĂ©ponse de HybridTheory9
le 29 juin 2024 Ă 18h00
Did this behaviour change recently?
RĂ©ponse de jedi.jesse
le 29 juin 2024 Ă 18h04
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.RĂ©ponse de superboy97
le 30 juin 2024 Ă 01h15
No.