Closed amberleyromo closed 8 years ago
Current call to movieDB API is in db/seed/helpers/movieHelp.
allCalls.push(rp('http://api.themoviedb.org/3/search/movie?query=' + escaped + '&api_key=' + "###"))
The logic needs to be modified to include a separate call to retrieve the videos associated with the movie in movieDB.
Sample video API call: http://api.themoviedb.org/3/movie/550/videos?api_key=6ea18d4ba61a68cf421247f58e6fba10
Robust documentation available for the API: http://docs.themoviedb.apiary.io/#reference/search
Current call to movieDB API is in db/seed/helpers/movieHelp.
allCalls.push(rp('http://api.themoviedb.org/3/search/movie?query=' + escaped + '&api_key=' + "###"))
The logic needs to be modified to include a separate call to retrieve the videos associated with the movie in movieDB.
Sample video API call: http://api.themoviedb.org/3/movie/550/videos?api_key=6ea18d4ba61a68cf421247f58e6fba10
Robust documentation available for the API: http://docs.themoviedb.apiary.io/#reference/search