Documentation ¶
Index ¶
Constants ¶
View Source
const ( BASE_URL = `http://thetvdb.com/api` TVDB_API_KEY = `5127BBF385F9FA53` LANGUAGE = `en` )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Episode ¶
type Episode struct { Id string `xml:"id"` Name string `xml:"EpisodeName"` Number float32 `xml:"EpisodeNumber"` Season float32 `xml:"SeasonNumber"` AirDate string `xml:"FirstAired"` Overview string `xml:"Overview"` SeasonId int32 `xml:"seasonid"` SeriesId int32 `xml:"seriesid"` }
Represents a TVDB Episode
type Series ¶
type Series struct { Name string `xml:"SeriesName"` Id string `xml:"seriesid"` Episodes []Episode `xml:"Episode"` }
Represents a TVDB Series
func (*Series) GetEpisodes ¶
GetEpisodes populates the Series with episode information
Click to show internal directories.
Click to hide internal directories.