API v2 - Get the banners of a series

A place for developers to advertise their TheTVDB.com enabled app and get help from other developers with the API.
c3b12
Posts: 1
Joined: Wed Jul 26, 2017 12:45 pm

API v2 - Get the banners of a series

Postby c3b12 » Wed Jul 26, 2017 12:53 pm

Hello,

I didn't find out how to retrieve the banners of a specific series.
For example Alias (ID = 75930)
I tried the URL : https://api.thetvdb.com/series/75930/banners
but it doesn't work

(In API v1: https:/www.thetvdb.com/api/{api_key}/series/75930/banners.xml works perfectly)

Thank you for your help

k_zeon
Posts: 19
Joined: Mon Nov 23, 2015 1:17 pm

Re: API v2 - Get the banners of a series

Postby k_zeon » Thu Jan 11, 2018 11:37 am

try https://api.thetvdb.com/series/75930/im ... ype=poster
however you need to include your auth token

ie.
AuthCode=' your token'
URL='https://api.thetvdb.com/series/75930/images/query?keyType=poster'
using VB6 i use

Dim objHTTP As Object
Dim Result As String
Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP")
objHTTP.Open "GET", URL, False
objHTTP.setRequestHeader "Authorization", "Bearer " & AuthCode
objHTTP.send
Result = objHTTP.responseText
txtOutput.Text = Result
Set objHTTP = Nothing