dominic-taylor / spinvision

An app to help you pick something to watch - in React + Redux.
https://spinvision.herokuapp.com/
0 stars 0 forks source link

Make functions for api calls #3

Closed dominic-taylor closed 7 years ago

maxine-ellah commented 7 years ago

The 3 search options are genre, type(film/tv) and certification. The structure of the API calls will be something like, if the user specifies the type as film then the request makes an API call to the /discover/movie endpoint. Any additional options the user specifies such as genre or certification will be appended to the request URL as parameters. A parameter for genre would look like this: with_genres=27. This would narrow the list of films returned to only those with the genre ID of 27(Horror).

dominic-taylor commented 7 years ago

Maybe change certification to 'best' (highest critical rating) and 'biggest' (most popular) ? or have certification now be 'Year', returning tv/film which were released that year, i.e 1993 -> Schindler’s List, Jurassic Park, Groundhog Day etc