Allow for extended metadata in a single request

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
firecore
Posts: 1
Joined: Mon Jun 05, 2017 10:06 am
Contact:

Allow for extended metadata in a single request

Postby firecore » Mon Jun 05, 2017 10:22 am

Hi - big fans of TheTVDb here.

We're currently looking to migrate our iOS/tvOS app Infuse (https://firecore.com/infuse) to v2, and it appears that we need just a few more fields returned from the series/{id}/episodes endpoint before we can make fully make the switch.

Specifically, if we were able to obtain just a few additional fields returned from the series/{id}/episodes endpoint it would allow us to reduce our call number pretty dramatically.

These fields include:

- director(s)
- writer(s)
- filename
- imdbId
- siteRating
- siteRatingCount

These fields aren't particularly special as they can be fetched from the series/{id}/episodes/{id} endpoint. The only reason why we can’t rely on that is we’d have to make a request per every episode found in a user’s library and that’s going to be a lot of requests. Many of our users have hundreds, if not thousands of episodes.

As far as we understand, one of the reasons this was not implemented is that there is concern that sending these fields will create extra load on the backend. In this case, you might consider sending these extra fields only when the response contains an extra flag, e.g. extended=true.

Below is a link to two JSONs - one with the response we are getting now and one with the desired response.
https://www.dropbox.com/s/q0yxy2y12rl8c ... n.zip?dl=1

Thanks in advance for your consideration. :)

MattS
Posts: 211
Joined: Sat Mar 27, 2010 12:17 am
Contact:

Re: Allow for extended metadata in a single request

Postby MattS » Mon Jul 10, 2017 6:56 am

It's possible we might add it down the road, but right now we're holding off making any significant changes pending the migration to the new site. That should give us a much more sane schema which, in turn, should greatly reduce the db impact of all the queries.

AlexRDanzi
Posts: 1
Joined: Wed Oct 11, 2017 9:47 am

Re: Allow for extended metadata in a single request

Postby AlexRDanzi » Wed Oct 11, 2017 9:49 am

Hi

I am switching Archos Video Player to TVDB new Api and we would also need these extended metadata


Thanks !