Commit Graph

15 Commits

Author SHA1 Message Date
6f12d0ca49 Added docstring to new functions in tmdb 2017-10-23 15:14:16 +02:00
c48db517ac Created one function for searching for different tmdb lists. This replaces 4 endpoints so we have a single way of searching for lists. 2017-10-23 14:58:52 +02:00
7952e6015a Added caching for all tmdb requests. 2017-10-22 17:41:12 +02:00
b82efddeba Now tmdb searches also check cache for a matching query request, if so returns it. 2017-10-22 14:08:36 +02:00
5ceb19f449 Merge branch 'update/frontend_logic' of github.com:kevinmidboe/seasonedShows into update/frontend_logic 2017-09-27 13:51:07 +02:00
8b5b8bb0b7 Reduced the filter values to return more results. 2017-09-27 13:49:49 +02:00
98dafe56c4 Merge branch 'master' into update/frontend_logic 2017-09-27 00:45:49 +02:00
d787fba024 Changed a smellingerror (reponse -> response). Also now pass the type of the search request when converting to seasoned object. Fixed issue where number_of_items_on_page was not set to the length of the list. 2017-09-27 00:22:22 +02:00
6b4daf140a Change a grammar error 2017-09-21 16:58:44 +02:00
e281e73293 Now the type is checked and passed to convertTmdbToSeasoned if it is movie or show and not multiwq 2017-09-21 16:37:53 +02:00
72d50209a5 Rewrote the search function in tmdb to now return a JSON object with results: (all movie/show objects), number_of_items: (count of result objects), page and total page. Split up the filtering and converting of the result from tmdb api to finished seasoned objects for better readability. 2017-09-20 10:21:57 +02:00
e81f5c8057 Added functions for discover, upcoming, nowplaying, popular and similar. Also documented better and some finer error handling with more logical responses. 2017-09-03 17:04:59 +02:00
dacd44a8f5 Changed the value of the filter to be vote_count >= 80 or popularity > 18 2017-09-02 22:53:04 +02:00
101dc7d570 Changed the filter cutoff to be based on, if the show/movie has popularity over 2, vote_count over 20 and has a defined release_date/first_air_date. Also changed so that it now uses the new convertTmdbToSeaonsed insted of the old (convertTmdbToMovie) 2017-09-02 20:49:09 +02:00
47aa638fd8 Moved eveything related to the api to a seperate folder seasoned_api. 2017-08-06 16:45:02 +02:00