ivonamaria / MovieMate

0 stars 2 forks source link

Recommendations #4

Closed curiousPirate closed 1 year ago

curiousPirate commented 1 year ago

As a User, when I search for a movie I should get a suggestion of recommendations based on the search query.

As per the API documentation, recommendations work by taking movie ID as input, this can be done by taking the ID from the movie searched by the user and inserting that ID into the "recommendation API query"

Sample URL request

(https://developers.themoviedb.org/3/movies/get-movie-images)

https://api.themoviedb.org/3/movie/{movie_id}/images?api_key=11d709982d73ca3b61226bf899b78a2b&language=en-US

To obtain movie IDs, we can fetch them from movie search API GET response:

https://api.themoviedb.org/3/search/movie?api_key=11d709982d73ca3b61226bf899b78a2b&query=Jack+Reacher

Alternatively we can use the below link for another way:

(https://zappiti.uservoice.com/knowledgebase/articles/1875151--identification-use-tmdb-id-to-identify-your-movi)

curiousPirate commented 1 year ago

out of scope