No posters via API with posters on main site.

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
tripmckay
Posts: 34
Joined: Sat Jan 07, 2012 8:40 am
Contact:

Thu Mar 19, 2020 3:28 am

So there is no way to get posters via API if they haven't any language set?
I'd like to know how to get images with no language specified as well.

Especially as the website suggests to NOT specify a language if there is no text on the image.

Ran into this with https://thetvdb.com/series/tournament-of-champions just now, but re-uploaded the existing image and explicitly set the language.

Queries I used for testing:

Code: Select all

--> GET https://api.thetvdb.com/series/376197/images/query?keyType=poster
Accept-Language: en

--> GET https://api.thetvdb.com/series/376197/images/query?keyType=poster

--> GET https://api.thetvdb.com/series/376197/images/query?keyType=poster
Accept-Language: all
Thanks for any help.
ChristyEzzell
Posts: 1116
Joined: Tue Feb 26, 2019 12:01 pm

Thu Mar 26, 2020 9:46 am

tripmckay wrote:
Thu Mar 19, 2020 3:28 am
So there is no way to get posters via API if they haven't any language set?
I'd like to know how to get images with no language specified as well.

Especially as the website suggests to NOT specify a language if there is no text on the image.

Ran into this with https://thetvdb.com/series/tournament-of-champions just now, but re-uploaded the existing image and explicitly set the language.

Queries I used for testing:

Code: Select all

--> GET https://api.thetvdb.com/series/376197/images/query?keyType=poster
Accept-Language: en

--> GET https://api.thetvdb.com/series/376197/images/query?keyType=poster

--> GET https://api.thetvdb.com/series/376197/images/query?keyType=poster
Accept-Language: all
Thanks for any help.
Unfortunately right now the API isn't optimized to pull images without a language set and it would take a considerable amount of time to develop. This will however be prioritized and addressed in our v4 which is coming out later this year. Apologies that I don't have better news.
Post Reply