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
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 27 de octubre de 2016 a las 11:25
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
.Contestado por Emir
el 28 de octubre de 2016 a las 09:01
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?
Contestado por Travis Bell
el 28 de octubre de 2016 a las 10:05
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).