Page 1 of 1

API v2 - Get the banners of a series

Posted: Wed Jul 26, 2017 12:53 pm
by c3b12
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

Re: API v2 - Get the banners of a series

Posted: Thu Jan 11, 2018 11:37 am
by k_zeon
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