Documentation ¶
Index ¶
- type Cast
- type CastEpisodeCredits
- type CastImage
- type ExternalReviews
- type FAQ
- type FAQItem
- type FeaturedReviewItem
- type Genre
- type ImageItem
- type Images
- type IndexTransform
- type Keywords
- type PlaybackItem
- type Popularity
- type PrimaryImage
- type PrimaryImageThumbnail
- type Rating
- type RelatedTitle
- type RelatedTitleName
- type RelatedTitlePoster
- type ReviewAuthor
- type Reviews
- type Series
- type SeriesCurrent
- type SeriesID
- type SeriesTitle
- type Soundtrack
- type SoundtrackComment
- type Thumbnail
- type Title
- type Trivia
- type UsersReviews
- type Validate
- type VideoItem
- type VideoItemPrimary
- type VideoTypeWrapper
- type Videos
- type YearRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CastEpisodeCredits ¶
type ExternalReviews ¶
type ExternalReviews struct {
Total int64 `json:"total"`
}
type FeaturedReviewItem ¶
type Images ¶
type Images struct { Total int64 `json:"total"` Primary *PrimaryImage `json:"primary"` Items []ImageItem `json:"items"` }
type IndexTransform ¶
type IndexTransform struct { ID string `json:"id" extensions:"x-order=001"` Validate *Validate `json:"validate" extensions:"x-order=002"` Title *Title `json:"title" extensions:"x-order=003"` Genres []*Genre `json:"genres" extensions:"x-order=004"` Plot string `json:"plot" extensions:"x-order=005"` Popularity *Popularity `json:"popularity" extensions:"x-order=006"` Images *Images `json:"images" extensions:"x-order=007"` Videos *Videos `json:"videos" extensions:"x-order=008"` Cast []*Cast `json:"cast" extensions:"x-order=009"` Reviews *Reviews `json:"reviews" extensions:"x-order=010"` FAQ *FAQ `json:"faq" extensions:"x-order=011"` Trivia *Trivia `json:"trivia" extensions:"x-order=012"` Keywords *Keywords `json:"keywords" extensions:"x-order=013"` Series *Series `json:"series" extensions:"x-order=014"` // only when viewing an episode of a series Soundtracks []*Soundtrack `json:"soundtracks" extensions:"x-order=015"` Related []*RelatedTitle `json:"related" extensions:"x-order=016"` // list of related titles }
type PlaybackItem ¶
type Popularity ¶
type PrimaryImage ¶
type PrimaryImageThumbnail ¶
type RelatedTitle ¶
type RelatedTitle struct { ID string `json:"id"` Title *RelatedTitleName `json:"title"` Type string `json:"type"` CanHaveEpisodes bool `json:"canHaveEpisodes"` Poster *RelatedTitlePoster `json:"poster"` ReleaseYear *YearRange `json:"releaseYear"` Rating *Rating `json:"rating"` Duration int64 `json:"duration"` // unit is seconds Genres []Genre `json:"genres"` }
type RelatedTitleName ¶
type RelatedTitlePoster ¶
type ReviewAuthor ¶
type Reviews ¶
type Reviews struct { Featured []*FeaturedReviewItem `json:"featured"` Users *UsersReviews `json:"users"` External *ExternalReviews `json:"external"` }
type Series ¶
type Series struct { ID *SeriesID `json:"id"` Title *SeriesTitle `json:"title"` Current *SeriesCurrent `json:"current"` ReleaseYear *YearRange `json:"releaseYear"` }
type SeriesCurrent ¶
type SeriesTitle ¶
type Soundtrack ¶
type Soundtrack struct { Title string `json:"title"` Comments []*SoundtrackComment `json:"comments"` }
type SoundtrackComment ¶
type UsersReviews ¶
type UsersReviews struct {
Total int64 `json:"total"`
}
type VideoItem ¶
type VideoItem struct { ID string `json:"id"` Type *VideoTypeWrapper `json:"type"` Title string `json:"title"` Duration int64 `json:"duration"` Thumbnail *Thumbnail `json:"thumbnail"` }
type VideoItemPrimary ¶
type VideoItemPrimary struct { ID string `json:"id"` Type *VideoTypeWrapper `json:"type"` Title string `json:"title"` Description string `json:"description"` Duration int64 `json:"duration"` Thumbnail *Thumbnail `json:"thumbnail"` Playback []*PlaybackItem `json:"playback"` IsMature bool `json:"isMature"` }
type VideoTypeWrapper ¶
type Videos ¶
type Videos struct { Total int64 `json:"total"` Primaries []*VideoItemPrimary `json:"primaries"` Items []*VideoItem `json:"items"` }
Click to show internal directories.
Click to hide internal directories.