|
|
5b49216c9d
|
Fixed linting issues for json objects and tailing semicolon.
|
2018-05-09 10:52:08 +02:00 |
|
|
|
18359f442c
|
Mapped results in tmdb now returns the complete json object so not needed to be created before sent. When getting all requested movies and shows it is now possible to only get one page at a time.
|
2018-03-20 21:17:41 +01:00 |
|
|
|
42b8b5ea0e
|
Removed a )
|
2018-03-20 20:15:28 +01:00 |
|
|
|
9e145f7068
|
When testing we dont have api access so we create cache entries before each request. The cache key changed so this is now updated in the tests and tmdb.
|
2018-03-20 20:12:49 +01:00 |
|
|
|
528cbed30f
|
Wasn't getting all the items because some elements do not have a media_type
|
2018-02-07 15:53:27 +01:00 |
|
|
|
ad4fa9d95a
|
Fixed issue with types not being upheld when converting from tmdb objects.
|
2018-02-07 15:40:39 +01:00 |
|
|
|
3ca3c06824
|
Removed static tag in tmdb functions.
|
2018-02-07 14:13:50 +01:00 |
|
|
|
6fd65fdb23
|
Refactoring where now we can search lists and lookup movies or shows by using the new tmdbMethod function which takes the api endpoint variable and type to return the appropriate tmdbMethod name for the matching api call to tmdb. Removed a lot of the globally defined variables.
|
2018-02-07 13:42:46 +01:00 |
|
|
|
d8b2cef18f
|
Removed filtering of items when searching tmdb. Also added total_results object to all return statements.
|
2018-02-05 22:46:10 +01:00 |
|
|
|
0c3ad3a95e
|
Fixed a issue where the tmdb type was not being selected correctly. (movie/show)
|
2018-02-02 11:51:13 +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 |
|
|
|
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 |
|