|
|
f7b772a170
|
Changed the default cache TTL from 7 days to 2 days.
|
2017-12-01 10:46:50 +01:00 |
|
|
|
1bdf89b69f
|
Merge pull request #55 from KevinMidboe/api_tuning
Lowered the tollerance for what objects we choose to look at by tmdb.…
|
2017-10-23 15:39:57 +02:00 |
|
|
|
498bd13a1f
|
Lowered the tollerance for what objects we choose to look at by tmdb. That is we only accept items that have some value of vote or popularity.
|
2017-10-23 15:39:28 +02:00 |
|
|
|
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 |
|
|
|
0e3189ff11
|
Added default cache time to be 1 day
|
2017-10-22 18:16:39 +02:00 |
|
|
|
7952e6015a
|
Added caching for all tmdb requests.
|
2017-10-22 17:41:12 +02:00 |
|
|
|
f57878813d
|
Added Cache file for tmdb queries and controller check the cache and returns it if hit. This is to limit our request to a third party library.
|
2017-10-22 14:09:57 +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 |
|
|
|
8014f01766
|
Added stricter handling for selecting what mediaType to convert to when searching tmdb and converting to seasoned object.
|
2017-09-27 00:28:41 +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 |
|
|
|
743c132aef
|
If a strict type is passed to convertTmdbToSeasoned than this is now used to set the type of objects to be made.
|
2017-09-21 16:37:10 +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 |
|
|
|
789ed77ab6
|
Now the type of object being passed can be set by strictType variable. The type is then set before creating a movie or show object item.
|
2017-09-03 17:03:31 +02:00 |
|
|
|
70b284380f
|
Removed unused console.log
|
2017-09-02 23:16:24 +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 |
|
|
|
84a897da6e
|
Added popularity and vote_count to movie and show object and added a new check for name and title of movie
|
2017-09-02 22:51:49 +02:00 |
|
|
|
8652a0ee0f
|
Rewrote for more general use.
|
2017-09-02 20:49:50 +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 |
|