Documentation ¶
Index ¶
- type Article
- type ArticlesResponse
- type Available
- type Character
- type CharactersResponse
- type Client
- type Episode
- type EpisodesResponse
- type Error
- type Errors
- type FriendsWatching
- type Images
- type Next
- type Note
- type Notes
- type Platforms
- type SeasonsDetail
- type Show
- type ShowResponse
- type ShowService
- func (s *ShowService) Articles(opts ShowsArticlesOptions) ([]Article, error)
- func (s *ShowService) Characters(opts *ShowsCharactersOptions) ([]Character, error)
- func (s *ShowService) Discover(opts *ShowsDiscoverOptions) ([]Show, error)
- func (s *ShowService) DiscoverPlatforms(opts *ShowsDiscoverPlatformsOptions) ([]Show, error)
- func (s *ShowService) Display(opts ShowsDisplayOptions) (*Show, error)
- func (s *ShowService) Episodes(opts ShowsEpisodesOptions) ([]Episode, error)
- func (s *ShowService) Favorites(opts *ShowsFavoritesOptions) ([]Show, error)
- type Showrunner
- type ShowsArticlesOptions
- type ShowsCharactersOptions
- type ShowsDiscoverOptions
- type ShowsDiscoverPlatformsOptions
- type ShowsDisplayOptions
- type ShowsEpisodesOptions
- type ShowsFavoritesOptions
- type ShowsResponse
- type Subtitle
- type SubtitlesResponse
- type Svod
- type User
- type WatchedBy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticlesResponse ¶
type CharactersResponse ¶
type Client ¶
type Client struct { ApiKey string Token *string Show *ShowService // contains filtered or unexported fields }
Client manage communication with the Betaseries API.
type Episode ¶
type Episode struct { ID int `json:"id"` ThetvdbID int `json:"thetvdb_id"` YoutubeID *string `json:"youtube_id"` Title string `json:"title"` Season int `json:"season"` Episode int `json:"episode"` Code string `json:"code"` Global int `json:"global"` Description string `json:"description"` Director string `json:"director"` Writers []string `json:"writers"` Special int `json:"special"` Comments string `json:"comments"` ResourceURL string `json:"resource_url"` Note Note `json:"note"` User struct { Seen bool `json:"seen"` Hidden bool `json:"hidden"` Downloaded bool `json:"downloaded"` } `json:"user"` Date string `json:"date"` WatchedBy []WatchedBy `json:"watched_by"` SeenTotal int `json:"seen_total"` ReleasesSvod []interface{} `json:"releasesSvod"` Show struct { ID int `json:"id"` ThetvdbID int `json:"thetvdb_id"` Title string `json:"title"` InAccount bool `json:"in_account"` } `json:"show"` Subtitles *[]Subtitle `json:"subtitles"` }
type EpisodesResponse ¶
type FriendsWatching ¶
type Next ¶
type Next struct { ID interface{} `json:"id"` Code string `json:"code"` Date interface{} `json:"date"` Title interface{} `json:"title"` Image interface{} `json:"image"` }
type SeasonsDetail ¶
type Show ¶
type Show struct { ID int `json:"id"` ThetvdbID int `json:"thetvdb_id"` ImdbID string `json:"imdb_id"` Title string `json:"title"` OriginalTitle *string `json:"original_title"` Description *string `json:"description"` Seasons string `json:"seasons"` SeasonsDetails *[]SeasonsDetail `json:"seasons_details"` Episodes string `json:"episodes"` Followers string `json:"followers"` Comments *string `json:"comments"` Similars *string `json:"similars"` Characters *string `json:"characters"` Creation string `json:"creation"` Showrunner *Showrunner `json:"showrunner"` Genres *map[string]string `json:"genres"` Length *string `json:"length"` Network *string `json:"network"` Country *interface{} `json:"country"` Rating *string `json:"rating"` Status *string `json:"status"` Language *string `json:"language"` Notes *Notes `json:"notes"` InAccount *bool `json:"in_account"` Images *Images `json:"images"` Aliases *map[int]string `json:"aliases"` SocialLinks *[]interface{} `json:"social_links"` User *User `json:"user"` NextTrailer *string `json:"next_trailer"` ResourceURL *string `json:"resource_url"` Platforms *Platforms `json:"platforms"` }
type ShowResponse ¶
type ShowService ¶
type ShowService service
func (*ShowService) Articles ¶
func (s *ShowService) Articles(opts ShowsArticlesOptions) ([]Article, error)
func (*ShowService) Characters ¶
func (s *ShowService) Characters(opts *ShowsCharactersOptions) ([]Character, error)
func (*ShowService) Discover ¶
func (s *ShowService) Discover(opts *ShowsDiscoverOptions) ([]Show, error)
func (*ShowService) DiscoverPlatforms ¶
func (s *ShowService) DiscoverPlatforms(opts *ShowsDiscoverPlatformsOptions) ([]Show, error)
func (*ShowService) Display ¶
func (s *ShowService) Display(opts ShowsDisplayOptions) (*Show, error)
func (*ShowService) Episodes ¶
func (s *ShowService) Episodes(opts ShowsEpisodesOptions) ([]Episode, error)
func (*ShowService) Favorites ¶
func (s *ShowService) Favorites(opts *ShowsFavoritesOptions) ([]Show, error)
type Showrunner ¶
type ShowsArticlesOptions ¶
type ShowsArticlesOptions struct {
ID int `url:"id"`
}
type ShowsCharactersOptions ¶
type ShowsDiscoverOptions ¶
type ShowsDiscoverPlatformsOptions ¶
type ShowsDiscoverPlatformsOptions struct {
Summary bool `url:"summary,omitempty"`
}
type ShowsDisplayOptions ¶
type ShowsEpisodesOptions ¶
type ShowsFavoritesOptions ¶
type ShowsResponse ¶
type Subtitle ¶
type Subtitle struct { ID int `json:"id"` Language string `json:"language"` Source string `json:"source"` Quality int `json:"quality"` File string `json:"file"` Content []interface{} `json:"content"` URL string `json:"url"` Episode *struct { ShowID int `json:"show_id"` EpisodeID int `json:"episode_id"` Season int `json:"season"` Episode int `json:"episode"` } `json:"episode"` Date string `json:"date"` }
type SubtitlesResponse ¶
Click to show internal directories.
Click to hide internal directories.