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
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ أكتوبر 27, 2016 في 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
.رد بواسطة Emir
بتاريخ أكتوبر 28, 2016 في 9: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?
رد بواسطة Travis Bell
بتاريخ أكتوبر 28, 2016 في 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).