Open paddycarver opened 1 year ago
@paddycarver please use this /series/:id/episodes/:seasonType/:language endpoint As an example, for Battlestar Galactica you can use https://api4.thetvdb.com/v4/series/73545/episodes/default/eng?page=0 Hope that helps!
This seems to be only for all episodes in an entire series, and not filterable to just one season, is that right? Or am I missing something?
This also seems to not give me season names; is there a similar endpoint for season names?
@paddycarver we have ticketed the inclusion of this enhancement and I'll be in touch when it is available.
Internal ticket for our reference - https://mediamorph.atlassian.net/browse/TVD-3691
Is there any further update on an API to fetch all the season translations in a specific language rather than doing it 1 by 1?
Just asking because it's been more than a year since the last update about the internal ticket.
Would also like to get a nudge on this ticket. I'm having similar hardships. A lot of hoops to jump through just for retrieving translations.
What I'm doing right now, to get a list of seasons for a show and a list of episodes for a show, is using the extended endpoints of the series and season types. These helpfully give me a list of seasons and episodes, respectfully.
However, it's always in the official language for the show, and I'd like to consistently get it in English.
How I'm achieving this right now is sending another request to the season translations/episode translations endpoint for English. Which works great! It's just that it requires N+1 requests (1 request to get the list, 1 request per item in the list). Worse, because I can't seem to find any indication of what the official language for the show is, I have to do these translation requests even for things already in English.
This is fine for me, but I assume I would be being a better consumer of the API if I avoided the N+1 requests, even though my use is pretty minimal and likely unnoticeable. Is there a way for me to go about doing that that I'm missing?