Hi,
I'm new to using the API and wondered what the best way of getting a list of movie runtimes by genre. I understand that I can use the API call /genre/{id}/movies to get a list of movies. However this does not contain the runtime for those movies meaning that I need to do another API with each movie id using; /movie/{id} to get the runtime.
Is there a better way of getting all the runtimes for each genre than making an API call to get the list of movies, and then another for each movie id?
Thanks for your help. Dan
فیلم و نمایش تلویزیونی را نمیتوانید پیدا کنید؟ به سیستم وارد شوید تا آن را ایجاد کنید.
آیا میخواهید به این مورد امتیاز دهید یا به فهرست اضافه کنید؟
عضو نیستید؟
پاسخ توسط Travis Bell
در تاریخ مارس 2, 2015 ساعت 10:20 ق.ض
Hi DanAFC,
There is not a better way, unfortunately. You'll have to iterate over each ID and get the extra data you're interested in.
Cheers.