Hi I have some questions
Am using /discover API. I think it is great.
can we combine sorting? for example, i want to sort by average votes and number of votes. is something like sort_by=vote_average.desc&sort_by=vote_count.desc allowed?
how to include main casts in movie list returned?
Thanks
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 Travis Bell
le 27 octobre 2016 à 11h25
Hi @emirBytes
No, combined sorting is not currently supported. I'll have to think about whether this is something I want to add or not.
You can't from a list method (search/discover/find, etc...). You'll have to make a query to the movie credits method. You can of course combine the credits call with
append_to_response
.Réponse de Emir
le 28 octobre 2016 à 09h01
Hi Travis. Thanks for your reply. I am not so sure how to use append_to_response with movie credits. Do you mean I can query credits for multiple movies in one request? If so, can you show an example?
My guess is: https://api.themoviedb.org/3/movie/1234/credits?api_key=KEY&append_to_response=2345,3456 Is this right?
Réponse de Travis Bell
le 28 octobre 2016 à 10h05
Hi,
Not quite. Take a read through the document I linked to above, it gives examples and outlines what you can do with it. It is used for querying sub-requests within the same ID (if you wanted the primary movie details and credits for example).