https://www.themoviedb.org/company/72685/movie has over 200 items but the API only returns 13 results
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 29 iunie 2024 la ora 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.
Răspuns de HybridTheory9
pe data de 29 iunie 2024 la ora 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
Răspuns de jedi.jesse
pe data de 29 iunie 2024 la ora 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
)Răspuns de HybridTheory9
pe data de 29 iunie 2024 la ora 6:00 PM
Yep that's it, thanks!
Răspuns de HybridTheory9
pe data de 29 iunie 2024 la ora 6:00 PM
Did this behaviour change recently?
Răspuns de jedi.jesse
pe data de 29 iunie 2024 la ora 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.Răspuns de superboy97
pe data de 30 iunie 2024 la ora 1:15 AM
No.