Documentation
¶
Index ¶
- Variables
- func GetURLByPosterPath(posterPath string) string
- type AllSeasonsWithDetails
- type Client
- func (c *Client) SearchTVShows(ctx context.Context, query string) (*TVShows, error)
- func (c *Client) TVShowAllSeasonsWithDetails(ctx context.Context, id int, language string) (*AllSeasonsWithDetails, error)
- func (c *Client) TVShowDetails(ctx context.Context, id int) (*TvShowDetails, error)
- func (c *Client) TVShowEpisodesBySeason(ctx context.Context, id int, seasonNumber int, language string) (*TVShowSeasonEpisodes, error)
- type TVShow
- type TVShowEpisode
- type TVShowSeasonEpisodes
- type TVShows
- type TvShowDetails
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNilResp = errors.New("nil resp error")
Functions ¶
func GetURLByPosterPath ¶
Types ¶
type AllSeasonsWithDetails ¶
type AllSeasonsWithDetails struct {
Details *TvShowDetails
Seasons []*TVShowSeasonEpisodes
}
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) SearchTVShows ¶
func (*Client) TVShowAllSeasonsWithDetails ¶
func (*Client) TVShowDetails ¶
func (*Client) TVShowEpisodesBySeason ¶
type TVShowEpisode ¶
type TVShowSeasonEpisodes ¶
type TVShowSeasonEpisodes struct {
SeasonNumber int
Episodes []*TVShowEpisode
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.