For the below query the Include_video parameter is always returning false even if I set it to True?
https://api.themoviedb.org/3/discover/movie?api_key=&language=en-US&sort_by=popularity.desc&include_adult=false&include_video=true&page=1&primary_release_date.lte=2018&year=2018
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ مارس 23, 2018 في 5:05 مساءا
Hi @conan1,
include_video
is a filter on thevideo
attribute and doesn't have anything to do with returning custom fields. You can read about what entries classified as videos are here: https://www.themoviedb.org/bible/movie#59f73b759251416e71000005رد بواسطة conan1
بتاريخ مارس 23, 2018 في 7:39 مساءا
Thanks @travisbell
Could you recommend me the best way to pull video attribute from an output of /movie/latest call? I noticed there is /movie/{movie_id}/videos but this will only give me one video id for every one movie request
رد بواسطة Travis Bell
بتاريخ مارس 26, 2018 في 4:43 مساءا
Yes, unfortunately that's the only way to do it. There's no way to query video information from anywhere other than the /videos method. You will have to iterate over the ids to get the video information. Keep in mind you can use
append_to_response
: