Because there is no field for "genres" and I want to show a simple list with movies showing the name, year, popularity and genre, I don't know if there is an easy way to obtain the genres without make a call for each movie.
GET /3/discover/movie
Fields returned:
"adult"
"backdrop_path"
"id"
"original_title"
"release_date"
"poster_path"
"popularity"
"title"
"vote_average"
"vote_count"
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on March 27, 2014 at 11:40 AM
Hi jasg,
No, there is not. If you want to do more filtering and/or displaying of data, we encourage you to bring the data in house and build out a custom schema that works best for your app.
Cheers.
Reply by jasg
on March 27, 2014 at 12:35 PM
Thx you Travis.
I'll get the response of a "discover" end point call and I will perform a new call to "movie" end point for each movie.
Reply by Travis Bell
on March 27, 2014 at 12:37 PM
Yup, that works too.
Reply by jasg
on March 27, 2014 at 12:51 PM
This is because I don't know if a "custom schema" is a functionality that the API provides. I have coded my classes (Objective-C) to hold the discover and movie endpoints responses for each movie I want to show. I don't like the idea of 10 "movie details" call for each movie returned from "discover" but just now I don't know any other way.