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
찾으시는 영화나 TV 프로그램이 없나요? 로그인 하셔서 직접 만들어주세요.
이 항목을 평가하거나 목록에 추가할까요?
회원이 아닌가요?
Travis Bell님의 댓글
10월 27, 2016 at 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님의 댓글
10월 28, 2016 at 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님의 댓글
10월 28, 2016 at 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).