I'm new to this forum, and have been searching through all the posts and carefully studying the v2 API, and could not find an answer.
I'm wondering if a "lastupdated
" field could be added to search results when searching for a show (for example: https://api.thetvdb.com/search/series?name=lost
). This way I know if I can rely on my local data, or if I need to refresh my local data, for the show details.
Here is the usual workflow;
1) a user enters a name of a TV show he/she is looking for. For example "lost" (https://api.thetvdb.com/search/series?name=lost
2) a long list is returned from which the user can select the best match.
3) The user can now select a show in the list to see the details of the show (for each show for example https://api.thetvdb.com/series/73739
4) When the user found the correct show, he/she can then retrieve all episodes of the selected show.
Now, previous each data retrieval will be stored in a local SQLite database, so the application doesn't need to pull all the info from TheTVDB.
The only problem I'm running into is that the search (step 1) doesn't provide a "lastupdated" field.
Therefor I will not know if I can rely on my local data in step 3 or not, so effectively I have to download the show details each and every time, for every selected show, even if the data has not changed - which seems like a waste of resources.
I can imagine a proper "lastupdated" field in the result results could save a nice number of queries per day, and it most certainly will speed up my application.
(obviously, for the episodes I'm already relying on "lastupdated" in the show details query (https://api.thetvdb.com/series/73739
My apologies if this has been addressed elsewhere - I couldn't find it in this forum.