thetvdb / v4-api

Founded in 2006, TheTVDB is one of the longest-running community-driven TV and Movie databases. With content metadata across hundreds of thousands of TV series and movies, TheTVDB powers many of the largest media centers in the market. Developers across the world build and rely upon TheTVDB's APIs to power their apps, utilities, and projects, generating millions of API calls per day. In our GitHub repository you will find all of the necessary support and v4 API documentation to make use of TheTVDB's metadata. Come and join us!
143 stars 14 forks source link

Request for series/{id}/characters - I cannot easily get characters in a series after calling series/{id}/extended?short=true #226

Open almightiest opened 2 years ago

almightiest commented 2 years ago

series/{id}/extended?short=true will return series information without characters and artwork. I can easily get artwork later with series/{id}/artworks but cannot get all characters for a series without calling series/{id}/extended?short=false and getting a bunch of redundant data. It would be more performant to expose a new endpoint for series characters, like series/{id}/characters.

almightiest commented 2 years ago

I must have been tired. This was the correct place to open this issue :)

antheaezzell commented 2 years ago

HI @almightiest I will speak to the developers who will consider this enhancement.

Internal ticket for our reference - https://mediamorph.atlassian.net/browse/TVD-3122

szsori commented 2 years ago

Hi @almightiest . The /series/{id}/extended endpoint (without any parameters) returns full extended record that includes both characters and artwork. Does using that address your concern, or did you need to retrieve artwork and characters separately for a given series?

almightiest commented 2 years ago

@szsori sometimes I need to get the short record first, and then determine if I need to drill in any further. In that case, I exclude the larger extended characters/episodes/artwork from the initial payload. If I do that, I have no way to actually get the characters again without calling the extended series with redundant data.

antheaezzell commented 2 years ago

@almightiest I can run this past the developers again, but I think for now you may have to use the extended endpoint to get the character artwork until we can consider implementing this endpoint.

remiX- commented 2 years ago

I had a similar issue with this but resorted to using the full endpoint /series/{id}/extended and caching data locally