Documentation
¶
Index ¶
- Variables
- func ToJSON(payload interface{}) (string, error)
- type AccountInfo
- type AuthenticationGuestSession
- type AuthenticationSession
- type AuthenticationToken
- type Certification
- type Changes
- type Collection
- type CollectionImage
- type CollectionImages
- type CollectionSearchResults
- type CollectionShort
- type Company
- type CompanySearchResults
- type Config
- type Configuration
- type Credit
- type EpisodePart
- type FindResults
- type Genre
- type Job
- type Keyword
- type KeywordSearchResults
- type ListInfo
- type ListItemStatus
- type ListSearchResults
- type Movie
- type MovieAccountState
- type MovieAlternativeTitles
- type MovieChanges
- type MovieCredits
- type MovieDatedResults
- type MovieExternalIds
- type MovieImage
- type MovieImages
- type MovieKeywords
- type MovieLists
- type MoviePagedResults
- type MovieRating
- type MovieRecommendations
- type MovieReleases
- type MovieReviews
- type MovieSearchResults
- type MovieShort
- type MovieTranslations
- type MovieVideos
- type MultiSearchBase
- type MultiSearchMovieInfo
- type MultiSearchPersonInfo
- type MultiSearchResults
- type MultiSearchResultsInfo
- type MultiSearchTvInfo
- type Network
- type Person
- type PersonChanges
- type PersonCombinedCredits
- type PersonImages
- type PersonLatest
- type PersonMovieCredits
- type PersonPopular
- type PersonSearchResults
- type PersonShort
- type PersonTaggedImages
- type PersonTranslations
- type PersonTvCredits
- type Proxy
- type Review
- type RoundRobin
- type TMDb
- func (tmdb *TMDb) DiscoverMovie(options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) DiscoverTV(options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetAccountFavoriteMovies(id int, sessionID string, options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetAccountFavoriteTv(id int, sessionID string, options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetAccountInfo(sessionID string) (*AccountInfo, error)
- func (tmdb *TMDb) GetAccountLists(id int, sessionID string, options map[string]string) (*MovieLists, error)
- func (tmdb *TMDb) GetAccountRatedMovies(id int, sessionID string, options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetAccountRatedTv(id int, sessionID string, options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetAccountWatchlistMovies(id int, sessionID string, options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetAccountWatchlistTv(id int, sessionID string, options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetAuthGuestSession() (*AuthenticationGuestSession, error)
- func (tmdb *TMDb) GetAuthSession(token string) (*AuthenticationSession, error)
- func (tmdb *TMDb) GetAuthToken() (*AuthenticationToken, error)
- func (tmdb *TMDb) GetAuthValidateToken(token, user, password string) (*AuthenticationToken, error)
- func (tmdb *TMDb) GetCertificationsMovieList() (*Certification, error)
- func (tmdb *TMDb) GetCertificationsTvList() (*Certification, error)
- func (tmdb *TMDb) GetChangesMovie(options map[string]string) (*Changes, error)
- func (tmdb *TMDb) GetChangesPerson(options map[string]string) (*Changes, error)
- func (tmdb *TMDb) GetChangesTv(options map[string]string) (*Changes, error)
- func (tmdb *TMDb) GetCollectionImages(id int, options map[string]string) (*CollectionImages, error)
- func (tmdb *TMDb) GetCollectionInfo(id int, options map[string]string) (*Collection, error)
- func (tmdb *TMDb) GetCompanyInfo(id int, options map[string]string) (*Company, error)
- func (tmdb *TMDb) GetCompanyMovies(id int, options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetConfiguration() (*Configuration, error)
- func (tmdb *TMDb) GetCreditInfo(id string, options map[string]string) (*Credit, error)
- func (tmdb *TMDb) GetFind(id, source string, options map[string]string) (*FindResults, error)
- func (tmdb *TMDb) GetGuestSessionRatedMovies(sessionID string, options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetJobList() (*Job, error)
- func (tmdb *TMDb) GetKeywordInfo(id int) (*Keyword, error)
- func (tmdb *TMDb) GetKeywordMovies(id int, options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetListInfo(id string) (*ListInfo, error)
- func (tmdb *TMDb) GetListItemStatus(id string, movieID int) (*ListItemStatus, error)
- func (tmdb *TMDb) GetMovieAccountStates(id int, sessionID string) (*MovieAccountState, error)
- func (tmdb *TMDb) GetMovieAlternativeTitles(id int, options map[string]string) (*MovieAlternativeTitles, error)
- func (tmdb *TMDb) GetMovieChanges(id int, options map[string]string) (*MovieChanges, error)
- func (tmdb *TMDb) GetMovieCredits(id int, options map[string]string) (*MovieCredits, error)
- func (tmdb *TMDb) GetMovieExternalIds(movieID int, options map[string]string) (*MovieExternalIds, error)
- func (tmdb *TMDb) GetMovieGenres(options map[string]string) (*Genre, error)
- func (tmdb *TMDb) GetMovieImages(id int, options map[string]string) (*MovieImages, error)
- func (tmdb *TMDb) GetMovieInfo(id int, options map[string]string) (*Movie, error)
- func (tmdb *TMDb) GetMovieKeywords(id int, options map[string]string) (*MovieKeywords, error)
- func (tmdb *TMDb) GetMovieLatest() (*Movie, error)
- func (tmdb *TMDb) GetMovieLists(id int, options map[string]string) (*MovieLists, error)
- func (tmdb *TMDb) GetMovieNowPlaying(options map[string]string) (*MovieDatedResults, error)
- func (tmdb *TMDb) GetMoviePopular(options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetMovieRecommendations(id int, options map[string]string) (*MovieRecommendations, error)
- func (tmdb *TMDb) GetMovieReleases(id int, options map[string]string) (*MovieReleases, error)
- func (tmdb *TMDb) GetMovieReviews(id int, options map[string]string) (*MovieReviews, error)
- func (tmdb *TMDb) GetMovieSimilar(id int, options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetMovieTopRated(options map[string]string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetMovieTranslations(id int, options map[string]string) (*MovieTranslations, error)
- func (tmdb *TMDb) GetMovieUpcoming(options map[string]string) (*MovieDatedResults, error)
- func (tmdb *TMDb) GetMovieVideos(id int, options map[string]string) (*MovieVideos, error)
- func (tmdb *TMDb) GetNetworkInfo(id int) (*Network, error)
- func (tmdb *TMDb) GetPersonChanges(id int, options map[string]string) (*PersonChanges, error)
- func (tmdb *TMDb) GetPersonCombinedCredits(id int, options map[string]string) (*PersonCombinedCredits, error)
- func (tmdb *TMDb) GetPersonExternalIds(id int) (*TvExternalIds, error)
- func (tmdb *TMDb) GetPersonImages(id int) (*PersonImages, error)
- func (tmdb *TMDb) GetPersonInfo(id int, options map[string]string) (*Person, error)
- func (tmdb *TMDb) GetPersonLatest() (*PersonLatest, error)
- func (tmdb *TMDb) GetPersonMovieCredits(id int, options map[string]string) (*PersonMovieCredits, error)
- func (tmdb *TMDb) GetPersonPopular(options map[string]string) (*PersonPopular, error)
- func (tmdb *TMDb) GetPersonTaggedImages(id int, options map[string]string) (*PersonTaggedImages, error)
- func (tmdb *TMDb) GetPersonTvCredits(id int, options map[string]string) (*PersonTvCredits, error)
- func (tmdb *TMDb) GetReviewInfo(id string) (*Review, error)
- func (tmdb *TMDb) GetTimezonesList() (*Timezones, error)
- func (tmdb *TMDb) GetTrending(media_type, time_window string) (*MoviePagedResults, error)
- func (tmdb *TMDb) GetTvAccountStates(id int, sessionID string) (*TvAccountState, error)
- func (tmdb *TMDb) GetTvAiringToday(options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetTvAlternativeTitles(id int) (*TvAlternativeTitles, error)
- func (tmdb *TMDb) GetTvChanges(id int, options map[string]string) (*TvChanges, error)
- func (tmdb *TMDb) GetTvCredits(id int, options map[string]string) (*TvCredits, error)
- func (tmdb *TMDb) GetTvEpisodeChanges(id int, options map[string]string) (*TvChanges, error)
- func (tmdb *TMDb) GetTvEpisodeCredits(showID, seasonNum, episodeNum int) (*TvCredits, error)
- func (tmdb *TMDb) GetTvEpisodeExternalIds(showID, seasonNum, episodeNum int, options map[string]string) (*TvExternalIds, error)
- func (tmdb *TMDb) GetTvEpisodeImages(showID, seasonNum, episodeNum int) (*TvEpisodeImages, error)
- func (tmdb *TMDb) GetTvEpisodeInfo(showID, seasonNum, episodeNum int, options map[string]string) (*TvEpisode, error)
- func (tmdb *TMDb) GetTvEpisodeVideos(showID, seasonNum, episodeNum int, options map[string]string) (*TvVideos, error)
- func (tmdb *TMDb) GetTvExternalIds(showID int, options map[string]string) (*TvExternalIds, error)
- func (tmdb *TMDb) GetTvGenres(options map[string]string) (*Genre, error)
- func (tmdb *TMDb) GetTvImages(id int, options map[string]string) (*TvImages, error)
- func (tmdb *TMDb) GetTvInfo(id int, options map[string]string) (*TV, error)
- func (tmdb *TMDb) GetTvKeywords(id int, options map[string]string) (*TvKeywords, error)
- func (tmdb *TMDb) GetTvLatest() (*TV, error)
- func (tmdb *TMDb) GetTvOnTheAir(options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetTvPopular(options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetTvRecommendations(id int, options map[string]string) (*TvRecommendations, error)
- func (tmdb *TMDb) GetTvSeasonChanges(id int, options map[string]string) (*TvChanges, error)
- func (tmdb *TMDb) GetTvSeasonCredits(showID, seasonNum int) (*TvCredits, error)
- func (tmdb *TMDb) GetTvSeasonExternalIds(showID, seasonNum int, options map[string]string) (*TvExternalIds, error)
- func (tmdb *TMDb) GetTvSeasonImages(showID, seasonNum int, options map[string]string) (*TvSeasonImages, error)
- func (tmdb *TMDb) GetTvSeasonInfo(showID, seasonID int, options map[string]string) (*TvSeason, error)
- func (tmdb *TMDb) GetTvSeasonVideos(showID, seasonNum int, options map[string]string) (*TvVideos, error)
- func (tmdb *TMDb) GetTvSimilar(id int, options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetTvTopRated(options map[string]string) (*TvPagedResults, error)
- func (tmdb *TMDb) GetTvTranslations(id int) (*TvTranslations, error)
- func (tmdb *TMDb) GetTvVideos(id int, options map[string]string) (*TvVideos, error)
- func (tmdb *TMDb) SearchCollection(name string, options map[string]string) (*CollectionSearchResults, error)
- func (tmdb *TMDb) SearchCompany(name string, options map[string]string) (*CompanySearchResults, error)
- func (tmdb *TMDb) SearchKeyword(name string, options map[string]string) (*KeywordSearchResults, error)
- func (tmdb *TMDb) SearchList(name string, options map[string]string) (*ListSearchResults, error)
- func (tmdb *TMDb) SearchMovie(name string, options map[string]string) (*MovieSearchResults, error)
- func (tmdb *TMDb) SearchMulti(name string, options map[string]string) (*MultiSearchResults, error)
- func (tmdb *TMDb) SearchPerson(name string, options map[string]string) (*PersonSearchResults, error)
- func (tmdb *TMDb) SearchTv(name string, options map[string]string) (*TvSearchResults, error)
- type TV
- type Timezones
- type TvAccountState
- type TvAlternativeTitles
- type TvChanges
- type TvCredits
- type TvEpisode
- type TvEpisodeImages
- type TvExternalIds
- type TvImage
- type TvImages
- type TvKeywords
- type TvPagedResults
- type TvRecommendations
- type TvSearchResults
- type TvSeason
- type TvSeasonExternalIds
- type TvSeasonImages
- type TvShort
- type TvTranslations
- type TvVideos
Constants ¶
This section is empty.
Variables ¶
var ErrUnknownMediaType = errors.New("Unknown media type. Unable to unmarhal to MultiSearchResultsInfo")
ErrUnknownMediaType var
Functions ¶
Types ¶
type AccountInfo ¶
type AccountInfo struct { ID int IncludeAdult bool `json:"include_adult"` Iso3166_1 string `json:"iso_3166_1"` Iso639_1 string `json:"iso_639_1"` Name string Username string }
AccountInfo struct
type AuthenticationGuestSession ¶
type AuthenticationGuestSession struct { Success bool GuestSessionID string `json:"guest_session_id"` ExpiresAt string `json:"expires_at"` }
AuthenticationGuestSession struct
type AuthenticationSession ¶
AuthenticationSession struct
type AuthenticationToken ¶
type AuthenticationToken struct { Success bool RequestToken string `json:"request_token"` ExpiresAt string `json:"expires_at,omitempty"` }
AuthenticationToken struct
type Certification ¶
type Certification struct { Certifications map[string][]struct { Certification string Meaning string Order int } }
Certification struct
type Collection ¶
type Collection struct { BackdropPath string `json:"backdrop_path"` ID int Name string PosterPath string `json:"poster_path"` Images *CollectionImages `json:",omitempty"` Parts []struct { BackdropPath string `json:"backdrop_path"` ID int PosterPath string `json:"poster_path"` ReleaseDate string `json:"release_date"` Title string } }
Collection struct
type CollectionImage ¶
type CollectionImage struct { AspectRatio float32 `json:"aspect_ratio"` FilePath string `json:"file_path"` Height int Iso639_1 string `json:"iso_639_1"` Width int }
CollectionImage struct
type CollectionImages ¶
type CollectionImages struct { Backdrops []CollectionImage ID int Name string PosterPath string `json:"poster_path"` Posters []CollectionImage }
CollectionImages struct
type CollectionSearchResults ¶
type CollectionSearchResults struct { Page int Results []struct { ID int BackdropPath string `json:"backdrop_path"` Name string PosterPath string `json:"poster_path"` } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
CollectionSearchResults struct
type CollectionShort ¶
type CollectionShort struct { ID int Name string PosterPath string `json:"poster_path"` BackdropPath string `json:"backdrop_path"` }
CollectionShort struct
type Company ¶
type Company struct { Description string Headquarters string Homepage string ID int LogoPath string `json:"logo_path"` Name string Movies *MoviePagedResults `json:",omitempty"` ParentCompany struct { Name string ID int LogoPath string `json:"logo_path"` } `json:"parent_company"` }
Company struct
type CompanySearchResults ¶
type CompanySearchResults struct { Page int Results []struct { ID int LogoPath string `json:"logo_path"` Name string } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
CompanySearchResults struct
type Configuration ¶
type Configuration struct { Images struct { BaseURL string `json:"base_url"` SecureBaseURL string `json:"secure_base_url"` BackdropSizes []string `json:"backdrop_sizes"` LogoSizes []string `json:"logo_sizes"` PosterSizes []string `json:"poster_sizes"` ProfileSizes []string `json:"profile_sizes"` StillSizes []string `json:"still_sizes"` } ChangeKeys []string `json:"change_keys"` }
Configuration struct
type Credit ¶
type Credit struct { CreditType string `json:"credit_type"` Department string Job string Media struct { ID int Name string OriginalName string `json:"original_name"` Character string Episodes []struct { AirDate string `json:"air_date"` EpisodeNumber int `json:"episode_number"` Name string Overview string SeasonNumber int `json:"season_number"` StillPath string `json:"still_path"` } Seasons []struct { AirDate string `json:"air_date"` PosterPath string `json:"poster_path"` SeasonNumber int `json:"season_number"` } } MediaType string `json:"media_type"` ID string Person struct { Name string ID string } }
Credit struct
type EpisodePart ¶
type EpisodePart struct { AirDate string `json:"air_date"` EpisodeNumber int `json:"episode_number"` ID int Name string Overview string ProductionCode string `json:"production_code"` SeasonNumber int `json:"season_number"` StillPath string `json:"still_path"` VoteAverage int `json:"vote_average"` VoteCount int `json:"vote_count"` ShowId int `json:"show_id"` }
type FindResults ¶
type FindResults struct { MovieResults []MovieShort `json:"movie_results,omitempty"` PersonResults []PersonShort `json:"person_results,omitempty"` TvResults []TvShort `json:"tv_results,omitempty"` TvEpisodeResults []struct { AirDate string `json:"air_date"` EpisodeNumber int `json:"episode_number"` Name string ID int SeasonNumber int `json:"season_number"` StillPath string `json:"still_path"` ShowID int `json:"show_id"` VoteAverage float32 `json:"vote_average"` VoteCount int `json:"vote_count"` } `json:"tv_episode_results,omitempty"` TvSeasonResults []struct { AirDate string `json:"air_date"` Name string ID int SeasonNumber int `json:"season_number"` ShowID int `json:"show_id"` } `json:"tv_season_results,omitempty"` }
FindResults struct
type KeywordSearchResults ¶
type KeywordSearchResults struct { Page int Results []struct { ID int Name string } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
KeywordSearchResults struct
type ListInfo ¶
type ListInfo struct { CreatedBy string `json:"created_by"` FavoriteCount int `json:"favorite_count"` ID string Description string Items []MovieShort ItemCount int `json:"item_count"` Iso639_1 string `json:"iso_639_1"` Name string PosterPath string `json:"poster_path"` }
ListInfo struct
type ListItemStatus ¶
ListItemStatus struct
type ListSearchResults ¶
type ListSearchResults struct { Page int Results []struct { Description string FavoriteCount int `json:"favorite_count"` ID string ItemCount int `json:"item_count"` Iso639_1 string `json:"iso_639_1"` ListType string `json:"list_type"` Name string PosterPath string `json:"poster_path"` } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
ListSearchResults struct
type Movie ¶
type Movie struct { Adult bool BackdropPath string `json:"backdrop_path"` // BelongsToCollection bool `json:"belongs_to_collection"` BelongsToCollection CollectionShort `json:"belongs_to_collection"` Budget uint32 Genres []struct { ID int Name string } Homepage string ID int ImdbID string `json:"imdb_id"` OriginalLanguage string `json:"original_language"` OriginalTitle string `json:"original_title"` Overview string Popularity float32 PosterPath string `json:"poster_path"` ProductionCompanies []struct { ID int Name string LogoPath string `json:"logo_path"` Iso3166_1 string `json:"origin_country"` } `json:"production_companies"` ProductionCountries []struct { Iso3166_1 string `json:"iso_3166_1"` Name string } `json:"production_countries"` ReleaseDate string `json:"release_date"` Revenue uint32 Runtime uint32 SpokenLanguages []struct { Iso639_1 string `json:"iso_639_1"` Name string } `json:"spoken_languages"` Status string Tagline string Title string Video bool VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` ExternalIDs *MovieExternalIds `json:"external_ids,omitempty"` }
Movie struct
type MovieAccountState ¶
type MovieAccountState struct { ID int Favorite bool Watchlist bool Rated struct { Value float32 } }
MovieAccountState struct
type MovieAlternativeTitles ¶
type MovieAlternativeTitles struct { ID int Titles []struct { Iso3166_1 string `json:"iso_3166_1"` Title string } AccountStates *MovieAccountState `json:"account_states,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieAlternativeTitles struct
type MovieChanges ¶
type MovieChanges struct { Changes []struct { Key string Items []struct { ID string Action string Time string } } }
MovieChanges struct
type MovieCredits ¶
type MovieCredits struct { ID int Cast []struct { CastID int `json:"cast_id"` Character string CreditID string `json:"credit_id"` ID int Name string Gender int `json:"gender"` Order int ProfilePath string `json:"profile_path"` } Crew []struct { CreditID string `json:"credit_id"` Department string Gender int `json:"gender"` ID int Job string Name string ProfilePath string `json:"profile_path"` } AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieCredits struct
type MovieDatedResults ¶
type MovieDatedResults struct { Dates struct { Minimum string Maximum string } Page int Results []MovieShort TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
MovieDatedResults struct
type MovieExternalIds ¶
type MovieExternalIds struct { ID int ImdbID string `json:"imdb_id"` FacebookID string `json:"facebook_id"` InstagramID string `json:"instagram_id"` TwitterID string `json:"twitter_id"` }
MovieExternalIds struct
type MovieImage ¶
type MovieImage struct { FilePath string `json:"file_path"` Width int Height int Iso639_1 string `json:"iso_639_1"` AspectRatio float32 `json:"aspect_ratio"` VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` }
MovieImage struct
type MovieImages ¶
type MovieImages struct { ID int Backdrops []MovieImage Posters []MovieImage Logos []MovieImage AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieImages struct
type MovieKeywords ¶
type MovieKeywords struct { ID int Keywords []struct { ID int Name string } AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieKeywords struct
type MovieLists ¶
type MovieLists struct { ID int Page int Results []struct { Description string FavoriteCount int `json:"favorite_count"` ID string ItemCount int `json:"item_count"` Iso639_1 string `json:"iso_639_1"` Name string PosterPath string `json:"poster_path"` } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieLists struct
type MoviePagedResults ¶
type MoviePagedResults struct { ID int Page int Results []MovieShort TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MoviePagedResults struct
type MovieRating ¶
type MovieRating struct { StatusCode int `json:"status_code"` StatusMessage string `json:"status_message"` }
MovieRating struct
type MovieRecommendations ¶
type MovieRecommendations struct { Page int `json:"page"` Results []struct { Adult bool `json:"adult"` BackdropPath string `json:"backdrop_path"` GenreIDs []int `json:"genre_ids"` ID int `json:"id"` OriginalLanguage string `json:"original_language"` OriginalTitle string `json:"original_title"` Overview string `json:"overview"` ReleaseDate string `json:"release_date"` PosterPath string `json:"poster_path"` Popularity float32 `json:"popularity"` Title string `json:"title"` Video bool `json:"video"` VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` } `json:"results"` TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
MovieRecommendations struct for movie recommendations.
type MovieReleases ¶
type MovieReleases struct { ID int Countries []struct { Iso3166_1 string `json:"iso_3166_1"` Certification string ReleaseDate string `json:"release_date"` } AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieReleases struct
type MovieReviews ¶
type MovieReviews struct { ID int Page int Results []struct { ID string Author string Content string URL string } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieReviews struct
type MovieSearchResults ¶
type MovieSearchResults struct { Page int Results []MovieShort TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
MovieSearchResults struct
type MovieShort ¶
type MovieShort struct { Adult bool `json:"adult"` BackdropPath string `json:"backdrop_path"` ID int `json:"id"` OriginalTitle string `json:"original_title"` GenreIDs []int32 `json:"genre_ids"` Popularity float32 `json:"popularity"` PosterPath string `json:"poster_path"` ReleaseDate string `json:"release_date"` Title string `json:"title"` Overview string `json:"overview"` Video bool `json:"video"` VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` }
MovieShort struct
type MovieTranslations ¶
type MovieTranslations struct { ID int Translations []struct { Iso3166_1 string `json:"iso_3166_1"` Iso639_1 string `json:"iso_639_1"` Name string `json:"name"` EnglishName string `json:"english_name"` Data struct { Title string `json:"title,omitempty"` Overview string `json:"overview,omitempty"` Homepage string `json:"homepage,omitempty"` } `json:"data"` } AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Videos *MovieVideos `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieTranslations struct
type MovieVideos ¶
type MovieVideos struct { ID int Results []struct { ID string Iso639_1 string `json:"iso_639_1"` Key string Name string Site string Size int Type string } AlternativeTitles *MovieAlternativeTitles `json:"alternative_titles,omitempty"` Credits *MovieCredits `json:",omitempty"` Images *MovieImages `json:",omitempty"` Keywords *MovieKeywords `json:",omitempty"` Releases *MovieReleases `json:",omitempty"` Translations *MovieTranslations `json:",omitempty"` Similar *MoviePagedResults `json:",omitempty"` Reviews *MovieReviews `json:",omitempty"` Lists *MovieLists `json:",omitempty"` Changes *MovieChanges `json:",omitempty"` Rating *MovieRating `json:",omitempty"` }
MovieVideos struct
type MultiSearchBase ¶
type MultiSearchBase interface {
// contains filtered or unexported methods
}
MultiSearchBase interface
type MultiSearchMovieInfo ¶
type MultiSearchMovieInfo struct { PosterPath string `json:"poster_path"` Adult bool Overview string `json:"overview"` ReleaseDate string `json:"release_date"` OriginalTitle string `json:"original_title"` GenreIDs []uint32 `json:"ganre_ids"` OriginalLanguage string `json:"original_language"` Title string `json:"title"` BackdropPath string `json:"backdrop_path"` Popularity float32 VoteCount uint32 `json:"vote_count"` Video bool VoteAverage float32 `json:"vote_average"` ID int MediaType string `json:"media_type"` }
MultiSearchMovieInfo struct
type MultiSearchPersonInfo ¶
type MultiSearchPersonInfo struct { ProfilePath string `json:"profile_path"` Adult bool KnownFor MultiSearchResultsInfo `json:"known_for"` ID int MediaType string `json:"media_type"` }
MultiSearchPersonInfo struct
func (MultiSearchPersonInfo) GetMoviesKnownFor ¶
func (res MultiSearchPersonInfo) GetMoviesKnownFor() (movieResults []MultiSearchMovieInfo)
GetMoviesKnownFor func
func (MultiSearchPersonInfo) GetTvKnownFor ¶
func (res MultiSearchPersonInfo) GetTvKnownFor() (tvResults []MultiSearchTvInfo)
GetTvKnownFor func
type MultiSearchResults ¶
type MultiSearchResults struct { Page int Results MultiSearchResultsInfo TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
MultiSearchResults struct
func (MultiSearchResults) GetMoviesResults ¶
func (res MultiSearchResults) GetMoviesResults() (movieResults []MultiSearchMovieInfo)
GetMoviesResults func
func (MultiSearchResults) GetPersonResults ¶
func (res MultiSearchResults) GetPersonResults() (personResults []MultiSearchPersonInfo)
GetPersonResults func
func (MultiSearchResults) GetTvResults ¶
func (res MultiSearchResults) GetTvResults() (tvResults []MultiSearchTvInfo)
GetTvResults func
type MultiSearchResultsInfo ¶
type MultiSearchResultsInfo []MultiSearchBase
MultiSearchResultsInfo type
func (*MultiSearchResultsInfo) UnmarshalJSON ¶
func (v *MultiSearchResultsInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON func splits up the JSON array into the raw JSON for each object then unamrshal into a map to check the "type" field and unmarshal again into the correct type.
type MultiSearchTvInfo ¶
type MultiSearchTvInfo struct { BackdropPath string `json:"backdrop_path"` OriginalName string `json:"original_name"` OriginalTitle string `json:"original_title"` OriginalLanguage string `json:"original_language"` Overview string `json:"overview"` FirstAirDate string `json:"first_air_date"` OriginCountry []string `json:"origin_country"` GenreIDs []uint32 `json:"ganre_ids"` PosterPath string `json:"poster_path"` Popularity float32 Name string VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` ID int MediaType string `json:"media_type"` }
MultiSearchTvInfo struct
type Person ¶
type Person struct { ID int `json:"id"` Name string `json:"name"` Overview string `json:"overview"` Adult bool `json:"adult"` Biography string `json:"biography"` Birthday string `json:"birthday"` Deathday string `json:"deathday"` Gender int `json:"gender"` ImdbID string `json:"imdb_id"` Homepage string `json:"homepage"` AlsoKnownAs []string `json:"also_known_as"` PlaceOfBirth string `json:"place_of_birth"` ProfilePath string `json:"profile_path"` Changes *PersonChanges `json:",omitempty"` MovieCredits *PersonMovieCredits `json:"movie_credits,omitempty"` TvCredits *PersonTvCredits `json:"tv_credits,omitempty"` CombinedCredits *PersonCombinedCredits `json:"combined_credits,omitempty"` ExternalIds *TvExternalIds `json:"external_ids,omitempty"` Images *PersonImages `json:",omitempty"` TaggedImages *PersonTaggedImages `json:"tagged_images,omitempty"` Translations *PersonTranslations `json:"translations,omitempty"` }
Person struct
type PersonChanges ¶
type PersonChanges struct { Changes []struct { Key string Items []struct { ID string Action string Time string } } }
PersonChanges struct
type PersonCombinedCredits ¶
type PersonCombinedCredits struct { ID int Cast []struct { Adult bool Character string CreditID string `json:"credit_id"` ID int OriginalTitle string `json:"original_title"` PosterPath string `json:"poster_path"` ReleaseDate string `json:"release_date"` Title string MediaType string `json:"media_type"` } Crew []struct { Adult bool CreditID string `json:"credit_id"` Department string ID int Job string OriginalTitle string `json:"original_title"` PosterPath string `json:"poster_path"` ReleaseDate string `json:"release_date"` Title string MediaType string `json:"media_type"` } }
PersonCombinedCredits struct
type PersonImages ¶
type PersonImages struct { ID int Profiles []struct { AspectRatio float32 `json:"aspect_ratio"` FilePath string `json:"file_path"` ID string `json:"id"` Width int `json:"width"` Height int `json:"height"` Iso639_1 string `json:"iso_639_1"` VoteAverage float32 `json:"vote_average"` VoteCount int `json:"vote_count"` } }
PersonImages struct
type PersonLatest ¶
type PersonLatest struct { ID int Name string Adult bool Biography string Birthday string Deathday string Homepage string AlsoKnownAs []string `json:"also_known_as"` PlaceOfBirth string `json:"place_of_birth"` ProfilePath string `json:"profile_path"` }
PersonLatest struct
type PersonMovieCredits ¶
type PersonMovieCredits struct { ID int Cast []struct { Adult bool Character string CreditID string `json:"credit_id"` ID int OriginalTitle string `json:"original_title"` PosterPath string `json:"poster_path"` ReleaseDate string `json:"release_date"` Title string } Crew []struct { Adult bool CreditID string `json:"credit_id"` Department string ID int Job string OriginalTitle string `json:"original_title"` PosterPath string `json:"poster_path"` ReleaseDate string `json:"release_date"` Title string } }
PersonMovieCredits struct
type PersonPopular ¶
type PersonPopular struct { Page int TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` Results []PersonShort }
PersonPopular struct
type PersonSearchResults ¶
type PersonSearchResults struct { Page int Results []struct { Adult bool ID int Name string Popularity float32 PosterPath string `json:"poster_path"` KnownFor []struct { Adult bool BackdropPath string `json:"backdrop_path"` ID int OriginalTitle string `json:"original_title"` ReleaseDate string `json:"release_date"` PosterPath string `json:"poster_path"` Popularity float32 Title string VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` MediaType string `json:"media_type"` } `json:"known_for"` } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
PersonSearchResults struct
type PersonShort ¶
type PersonShort struct { Adult bool ID int Name string Popularity float32 ProfilePath string `json:"profile_path"` KnownFor []MovieShort `json:"known_for"` }
PersonShort struct
type PersonTaggedImages ¶
type PersonTaggedImages struct { ID int Page int TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` Results []struct { AspectRatio float32 `json:"aspect_ratio"` FilePath string `json:"file_path"` ID string Width int Height int Iso639_1 string `json:"iso_639_1"` VoteAverage float32 `json:"vote_average"` VoteCount int `json:"vote_count"` ImageType string `json:"image_type"` MediaType string `json:"media_type"` Media struct { Adult bool BackdropPath string `json:"backdrop_path"` ID int OriginalTitle string `json:"original_title"` PosterPath string `json:"poster_path"` ReleaseDate string `json:"release_date"` Title string Popularity float32 } } }
PersonTaggedImages struct
type PersonTranslations ¶
type PersonTranslations struct { ID int Translations []struct { Iso639_1 string `json:"iso_639_1"` Name string `json:"name"` EnglishName string `json:"english_name"` Data struct { Title string `json:"title,omitempty"` Overview string `json:"overview,omitempty"` Homepage string `json:"homepage,omitempty"` } `json:"data"` } }
PersonTranslations struct
type PersonTvCredits ¶
type PersonTvCredits struct { ID int Cast []struct { Character string CreditID string `json:"credit_id"` EpisodeCount int `json:"episode_count"` FirstAirDate string `json:"first_air_date"` ID int Name string OriginalName string `json:"original_name"` PosterPath string `json:"poster_path"` } Crew []struct { CreditID string `json:"credit_id"` Department string FirstAirDate string `json:"first_air_date"` ID int Job string Name string OriginalName string `json:"original_name"` PosterPath string `json:"poster_path"` } }
PersonTvCredits struct
type Proxy ¶
type Proxy struct { Host string Port string Login string Password string Auth bool // contains filtered or unexported fields }
Proxy struct
type Review ¶
type Review struct { ID string Author string Content string Iso639_1 string `json:"iso_639_1"` MediaID int `json:"media_id"` MediaTitle string `json:"media_title"` MediaType string `json:"media_type"` URL string }
Review struct
type RoundRobin ¶
type RoundRobin struct {
// contains filtered or unexported fields
}
RoundRobin struct
type TMDb ¶
type TMDb struct {
// contains filtered or unexported fields
}
TMDb container struct for global properties
func (*TMDb) DiscoverMovie ¶
func (tmdb *TMDb) DiscoverMovie(options map[string]string) (*MoviePagedResults, error)
DiscoverMovie discovers movies by different types of data like average rating, number of votes, genres and certifications https://developers.themoviedb.org/3/discover/movie-discover
func (*TMDb) DiscoverTV ¶
func (tmdb *TMDb) DiscoverTV(options map[string]string) (*TvPagedResults, error)
DiscoverTV discovers TV shows by different types of data like average rating, number of votes, genres, the network they aired on and air dates https://developers.themoviedb.org/3/discover/tv-discover
func (*TMDb) GetAccountFavoriteMovies ¶
func (tmdb *TMDb) GetAccountFavoriteMovies(id int, sessionID string, options map[string]string) (*MoviePagedResults, error)
GetAccountFavoriteMovies gets the list of favorite movies for an account https://developers.themoviedb.org/3/account/get-favorite-movies
func (*TMDb) GetAccountFavoriteTv ¶
func (tmdb *TMDb) GetAccountFavoriteTv(id int, sessionID string, options map[string]string) (*TvPagedResults, error)
GetAccountFavoriteTv gets the list of favorite movies for an account https://developers.themoviedb.org/3/account/get-favorite-tv-shows
func (*TMDb) GetAccountInfo ¶
func (tmdb *TMDb) GetAccountInfo(sessionID string) (*AccountInfo, error)
GetAccountInfo gets the basic information for an account https://developers.themoviedb.org/3/account/get-account-details
func (*TMDb) GetAccountLists ¶
func (tmdb *TMDb) GetAccountLists(id int, sessionID string, options map[string]string) (*MovieLists, error)
GetAccountLists gets the lists that you have created and marked as a favorite https://developers.themoviedb.org/3/account/get-created-lists
func (*TMDb) GetAccountRatedMovies ¶
func (tmdb *TMDb) GetAccountRatedMovies(id int, sessionID string, options map[string]string) (*MoviePagedResults, error)
GetAccountRatedMovies gets the list of rated movies (and associated rating) for an account https://developers.themoviedb.org/3/account/get-rated-movies
func (*TMDb) GetAccountRatedTv ¶
func (tmdb *TMDb) GetAccountRatedTv(id int, sessionID string, options map[string]string) (*TvPagedResults, error)
GetAccountRatedTv gets the list of rated TV shows (and associated rating) for an account https://developers.themoviedb.org/3/account/get-rated-tv-shows
func (*TMDb) GetAccountWatchlistMovies ¶
func (tmdb *TMDb) GetAccountWatchlistMovies(id int, sessionID string, options map[string]string) (*MoviePagedResults, error)
GetAccountWatchlistMovies gets the list of movies on an accounts watchlist https://developers.themoviedb.org/3/account/get-movie-watchlist
func (*TMDb) GetAccountWatchlistTv ¶
func (tmdb *TMDb) GetAccountWatchlistTv(id int, sessionID string, options map[string]string) (*TvPagedResults, error)
GetAccountWatchlistTv gets the list of TV series on an accounts watchlist https://developers.themoviedb.org/3/account/get-tv-show-watchlist
func (*TMDb) GetAuthGuestSession ¶
func (tmdb *TMDb) GetAuthGuestSession() (*AuthenticationGuestSession, error)
GetAuthGuestSession generates a valid request token for user based authentication https://developers.themoviedb.org/3/authentication/create-guest-session
func (*TMDb) GetAuthSession ¶
func (tmdb *TMDb) GetAuthSession(token string) (*AuthenticationSession, error)
GetAuthSession generates a session id for user based authentication https://developers.themoviedb.org/3/authentication/create-session
func (*TMDb) GetAuthToken ¶
func (tmdb *TMDb) GetAuthToken() (*AuthenticationToken, error)
GetAuthToken generates a valid request token for user based authentication https://developers.themoviedb.org/3/authentication/create-request-token
func (*TMDb) GetAuthValidateToken ¶
func (tmdb *TMDb) GetAuthValidateToken(token, user, password string) (*AuthenticationToken, error)
GetAuthValidateToken authenticates a user with a TMDb username and password https://developers.themoviedb.org/3/authentication/validate-request-token
func (*TMDb) GetCertificationsMovieList ¶
func (tmdb *TMDb) GetCertificationsMovieList() (*Certification, error)
GetCertificationsMovieList for movies https://developers.themoviedb.org/3/certifications/get-movie-certifications
func (*TMDb) GetCertificationsTvList ¶
func (tmdb *TMDb) GetCertificationsTvList() (*Certification, error)
GetCertificationsTvList for tv shows https://developers.themoviedb.org/3/certifications/get-tv-certifications
func (*TMDb) GetChangesMovie ¶
GetChangesMovie gets a list of movie ids that have been edited https://developers.themoviedb.org/3/changes/get-movie-change-list
func (*TMDb) GetChangesPerson ¶
GetChangesPerson gets a list of people ids that have been edited https://developers.themoviedb.org/3/changes/get-person-change-list
func (*TMDb) GetChangesTv ¶
GetChangesTv gets a list of tv show ids that have been edited https://developers.themoviedb.org/3/changes/get-tv-change-list
func (*TMDb) GetCollectionImages ¶
GetCollectionImages gets a list of people ids that have been edited https://developers.themoviedb.org/3/collections/get-collection-images
func (*TMDb) GetCollectionInfo ¶
GetCollectionInfo gets the basic collection information for a specific collection id https://developers.themoviedb.org/3/collections/get-collection-details
func (*TMDb) GetCompanyInfo ¶
GetCompanyInfo gets all of the basic information about a company https://developers.themoviedb.org/3/companies/get-company-details
func (*TMDb) GetCompanyMovies ¶
GetCompanyMovies gets the list of movies associated with a particular company No current documentation exists for this endpoint
func (*TMDb) GetConfiguration ¶
func (tmdb *TMDb) GetConfiguration() (*Configuration, error)
GetConfiguration gets the system wide configuration information https://developers.themoviedb.org/3/configuration/get-api-configuration
func (*TMDb) GetCreditInfo ¶
GetCreditInfo gets the detailed information about a particular credit record https://developers.themoviedb.org/3/credits/get-credit-details
func (*TMDb) GetFind ¶
GetFind makes it easy to search for objects in our database by an external id https://developers.themoviedb.org/3/find/find-by-id
func (*TMDb) GetGuestSessionRatedMovies ¶
func (tmdb *TMDb) GetGuestSessionRatedMovies(sessionID string, options map[string]string) (*MoviePagedResults, error)
GetGuestSessionRatedMovies gets the list of rated movies for a specific guest session id https://developers.themoviedb.org/3/guest-sessions/get-guest-session-rated-movies
func (*TMDb) GetJobList ¶
GetJobList gets a list of valid jobs https://developers.themoviedb.org/3/configuration/get-jobs
func (*TMDb) GetKeywordInfo ¶
GetKeywordInfo gets the basic information for a specific keyword id https://developers.themoviedb.org/3/keywords/get-keyword-details
func (*TMDb) GetKeywordMovies ¶
GetKeywordMovies gets the list of movies for a particular keyword by id https://developers.themoviedb.org/3/keywords/get-movies-by-keyword
func (*TMDb) GetListInfo ¶
GetListInfo gets a list by id https://developers.themoviedb.org/3/lists/get-list-details
func (*TMDb) GetListItemStatus ¶
func (tmdb *TMDb) GetListItemStatus(id string, movieID int) (*ListItemStatus, error)
GetListItemStatus checks to see if a movie ID is already added to a list hhttps://developers.themoviedb.org/3/lists/check-item-status
func (*TMDb) GetMovieAccountStates ¶
func (tmdb *TMDb) GetMovieAccountStates(id int, sessionID string) (*MovieAccountState, error)
GetMovieAccountStates gets the status of whether or not the movie has been rated or added to their favourite or movie watch list https://developers.themoviedb.org/3/movies/get-movie-account-states
func (*TMDb) GetMovieAlternativeTitles ¶
func (tmdb *TMDb) GetMovieAlternativeTitles(id int, options map[string]string) (*MovieAlternativeTitles, error)
GetMovieAlternativeTitles for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-alternative-titles
func (*TMDb) GetMovieChanges ¶
GetMovieChanges for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-changes
func (*TMDb) GetMovieCredits ¶
GetMovieCredits for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-credits
func (*TMDb) GetMovieExternalIds ¶
func (tmdb *TMDb) GetMovieExternalIds(movieID int, options map[string]string) (*MovieExternalIds, error)
GetMovieExternalIds gets the external ids for a movie https://developers.themoviedb.org/3/movies/get-movie-external-ids
func (*TMDb) GetMovieGenres ¶
GetMovieGenres gets the list of movie genres https://developers.themoviedb.org/3/genres/get-movie-list
func (*TMDb) GetMovieImages ¶
GetMovieImages for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-images
func (*TMDb) GetMovieInfo ¶
GetMovieInfo for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-details
func (*TMDb) GetMovieKeywords ¶
GetMovieKeywords for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-keywords
func (*TMDb) GetMovieLatest ¶
GetMovieLatest gets the latest movie https://developers.themoviedb.org/3/movies/get-latest-movie
func (*TMDb) GetMovieLists ¶
GetMovieLists that the movie belongs to https://developers.themoviedb.org/3/movies/get-movie-lists
func (*TMDb) GetMovieNowPlaying ¶
func (tmdb *TMDb) GetMovieNowPlaying(options map[string]string) (*MovieDatedResults, error)
GetMovieNowPlaying that have been, or are being released this week https://developers.themoviedb.org/3/movies/get-now-playing
func (*TMDb) GetMoviePopular ¶
func (tmdb *TMDb) GetMoviePopular(options map[string]string) (*MoviePagedResults, error)
GetMoviePopular gets the list of popular movies on The Movie Database https://developers.themoviedb.org/3/movies/get-popular-movies
func (*TMDb) GetMovieRecommendations ¶
func (tmdb *TMDb) GetMovieRecommendations(id int, options map[string]string) (*MovieRecommendations, error)
GetMovieRecommendations gets a list of recommended movies for a movie by id https://developers.themoviedb.org/3/movies/get-movie-recommendations
func (*TMDb) GetMovieReleases ¶
GetMovieReleases for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-release-dates
func (*TMDb) GetMovieReviews ¶
GetMovieReviews for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-reviews
func (*TMDb) GetMovieSimilar ¶
GetMovieSimilar for a specific movie id https://developers.themoviedb.org/3/movies/get-similar-movies
func (*TMDb) GetMovieTopRated ¶
func (tmdb *TMDb) GetMovieTopRated(options map[string]string) (*MoviePagedResults, error)
GetMovieTopRated gets the list of top rated movies https://developers.themoviedb.org/3/movies/get-top-rated-movies
func (*TMDb) GetMovieTranslations ¶
func (tmdb *TMDb) GetMovieTranslations(id int, options map[string]string) (*MovieTranslations, error)
GetMovieTranslations for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-translations
func (*TMDb) GetMovieUpcoming ¶
func (tmdb *TMDb) GetMovieUpcoming(options map[string]string) (*MovieDatedResults, error)
GetMovieUpcoming by release date https://developers.themoviedb.org/3/movies/get-upcoming
func (*TMDb) GetMovieVideos ¶
GetMovieVideos for a specific movie id https://developers.themoviedb.org/3/movies/get-movie-recommendations
func (*TMDb) GetNetworkInfo ¶
GetNetworkInfo gets the basic information about a TV network https://developers.themoviedb.org/3/networks/get-network-details
func (*TMDb) GetPersonChanges ¶
GetPersonChanges for a specific person id https://developers.themoviedb.org/3/people/get-person-changes
func (*TMDb) GetPersonCombinedCredits ¶
func (tmdb *TMDb) GetPersonCombinedCredits(id int, options map[string]string) (*PersonCombinedCredits, error)
GetPersonCombinedCredits gets the combined (movie and TV) credits for a specific person id https://developers.themoviedb.org/3/people/get-person-combined-credits
func (*TMDb) GetPersonExternalIds ¶
func (tmdb *TMDb) GetPersonExternalIds(id int) (*TvExternalIds, error)
GetPersonExternalIds gets the external ids for a specific person id https://developers.themoviedb.org/3/people/get-person-external-ids
func (*TMDb) GetPersonImages ¶
func (tmdb *TMDb) GetPersonImages(id int) (*PersonImages, error)
GetPersonImages gets the images for a specific person id https://developers.themoviedb.org/3/people/get-person-images
func (*TMDb) GetPersonInfo ¶
GetPersonInfo gets the general person information for a specific id https://developers.themoviedb.org/3/people/get-person-details
func (*TMDb) GetPersonLatest ¶
func (tmdb *TMDb) GetPersonLatest() (*PersonLatest, error)
GetPersonLatest gets the latest person id https://developers.themoviedb.org/3/people/get-latest-person
func (*TMDb) GetPersonMovieCredits ¶
func (tmdb *TMDb) GetPersonMovieCredits(id int, options map[string]string) (*PersonMovieCredits, error)
GetPersonMovieCredits gets the movie credits for a specific person id https://developers.themoviedb.org/3/people/get-person-movie-credits
func (*TMDb) GetPersonPopular ¶
func (tmdb *TMDb) GetPersonPopular(options map[string]string) (*PersonPopular, error)
GetPersonPopular gets the list of popular people on The Movie Database https://developers.themoviedb.org/3/people/get-popular-people
func (*TMDb) GetPersonTaggedImages ¶
func (tmdb *TMDb) GetPersonTaggedImages(id int, options map[string]string) (*PersonTaggedImages, error)
GetPersonTaggedImages gets the images that have been tagged with a specific person id https://developers.themoviedb.org/3/people/get-tagged-images
func (*TMDb) GetPersonTvCredits ¶
GetPersonTvCredits gets the TV credits for a specific person id https://developers.themoviedb.org/3/people/get-person-tv-credits
func (*TMDb) GetReviewInfo ¶
GetReviewInfo gets the full details of a review by ID https://developers.themoviedb.org/3/reviews/get-review-details
func (*TMDb) GetTimezonesList ¶
GetTimezonesList gets the list of supported timezones https://developers.themoviedb.org/3/configuration/get-timezones
func (*TMDb) GetTrending ¶
func (tmdb *TMDb) GetTrending(media_type, time_window string) (*MoviePagedResults, error)
GetTrending get the daily or weekly trending items. https://developers.themoviedb.org/3/trending/get-trending
func (*TMDb) GetTvAccountStates ¶
func (tmdb *TMDb) GetTvAccountStates(id int, sessionID string) (*TvAccountState, error)
GetTvAccountStates gets the status of whether or not the TV show has been rated or added to their favourite or watch lists https://developers.themoviedb.org/3/tv/get-tv-account-states
func (*TMDb) GetTvAiringToday ¶
func (tmdb *TMDb) GetTvAiringToday(options map[string]string) (*TvPagedResults, error)
GetTvAiringToday gets the list of TV shows that air today https://developers.themoviedb.org/3/tv/get-tv-airing-today
func (*TMDb) GetTvAlternativeTitles ¶
func (tmdb *TMDb) GetTvAlternativeTitles(id int) (*TvAlternativeTitles, error)
GetTvAlternativeTitles gets the alternative titles for a specific show id https://developers.themoviedb.org/3/tv/get-tv-alternative-titles
func (*TMDb) GetTvChanges ¶
GetTvChanges gets the changes for a specific show id https://developers.themoviedb.org/3/tv/get-tv-changes
func (*TMDb) GetTvCredits ¶
GetTvCredits gets the credits for a specific TV show id https://developers.themoviedb.org/3/tv/get-tv-credits
func (*TMDb) GetTvEpisodeChanges ¶
GetTvEpisodeChanges gets a TV episode's changes by episode ID https://developers.themoviedb.org/3/tv-episodes/get-tv-episode-changes
func (*TMDb) GetTvEpisodeCredits ¶
GetTvEpisodeCredits gets the TV episode credits by combination of season and episode number https://developers.themoviedb.org/3/tv-episodes/get-tv-episode-credits
func (*TMDb) GetTvEpisodeExternalIds ¶
func (tmdb *TMDb) GetTvEpisodeExternalIds(showID, seasonNum, episodeNum int, options map[string]string) (*TvExternalIds, error)
GetTvEpisodeExternalIds gets the external ids for a TV episode by comabination of a season and episode number https://developers.themoviedb.org/3/tv-episodes/get-tv-episode-external-ids
func (*TMDb) GetTvEpisodeImages ¶
func (tmdb *TMDb) GetTvEpisodeImages(showID, seasonNum, episodeNum int) (*TvEpisodeImages, error)
GetTvEpisodeImages gets the images (episode stills) for a TV episode by combination of a season and episode number https://developers.themoviedb.org/3/tv-episodes/get-tv-episode-images
func (*TMDb) GetTvEpisodeInfo ¶
func (tmdb *TMDb) GetTvEpisodeInfo(showID, seasonNum, episodeNum int, options map[string]string) (*TvEpisode, error)
GetTvEpisodeInfo gets the primary information about a TV episode by combination of a season and episode number https://developers.themoviedb.org/3/tv-episodes/get-tv-episode-details
func (*TMDb) GetTvEpisodeVideos ¶
func (tmdb *TMDb) GetTvEpisodeVideos(showID, seasonNum, episodeNum int, options map[string]string) (*TvVideos, error)
GetTvEpisodeVideos gets the videos that have been added to a TV episode https://developers.themoviedb.org/3/tv-episodes/get-tv-episode-videos
func (*TMDb) GetTvExternalIds ¶
GetTvExternalIds gets the external ids for a TV series https://developers.themoviedb.org/3/tv/get-tv-external-ids
func (*TMDb) GetTvGenres ¶
GetTvGenres gets the list of TV genres https://developers.themoviedb.org/3/genres/get-tv-list
func (*TMDb) GetTvImages ¶
GetTvImages gets the images for a TV series https://developers.themoviedb.org/3/tv/get-tv-images
func (*TMDb) GetTvInfo ¶
GetTvInfo gets the primary information about a TV series by id https://developers.themoviedb.org/3/tv/get-tv-details
func (*TMDb) GetTvKeywords ¶
GetTvKeywords gets the keywords for a specific TV show id https://developers.themoviedb.org/3/tv/get-tv-keywords
func (*TMDb) GetTvLatest ¶
GetTvLatest gets the latest TV show https://developers.themoviedb.org/3/tv/get-latest-tv
func (*TMDb) GetTvOnTheAir ¶
func (tmdb *TMDb) GetTvOnTheAir(options map[string]string) (*TvPagedResults, error)
GetTvOnTheAir gets the list of TV shows that are currently on the air https://developers.themoviedb.org/3/tv/get-tv-on-the-air
func (*TMDb) GetTvPopular ¶
func (tmdb *TMDb) GetTvPopular(options map[string]string) (*TvPagedResults, error)
GetTvPopular gets the list of popular TV shows https://developers.themoviedb.org/3/tv/get-popular-tv-shows
func (*TMDb) GetTvRecommendations ¶
func (tmdb *TMDb) GetTvRecommendations(id int, options map[string]string) (*TvRecommendations, error)
GetTvRecommendations gets the list of TV show recommendations by id https://developers.themoviedb.org/3/tv/get-tv-recommendations
func (*TMDb) GetTvSeasonChanges ¶
GetTvSeasonChanges gets a TV season's changes by season ID https://developers.themoviedb.org/3/tv-seasons/get-tv-season-changes
func (*TMDb) GetTvSeasonCredits ¶
GetTvSeasonCredits gets the cast & crew credits for a TV season by season number https://developers.themoviedb.org/3/tv-seasons/get-tv-season-credits
func (*TMDb) GetTvSeasonExternalIds ¶
func (tmdb *TMDb) GetTvSeasonExternalIds(showID, seasonNum int, options map[string]string) (*TvExternalIds, error)
GetTvSeasonExternalIds gets the external ids for a TV season by season number https://developers.themoviedb.org/3/tv-seasons/get-tv-season-external-ids
func (*TMDb) GetTvSeasonImages ¶
func (tmdb *TMDb) GetTvSeasonImages(showID, seasonNum int, options map[string]string) (*TvSeasonImages, error)
GetTvSeasonImages gets the images (posters) that we have stored for a TV season by season number https://developers.themoviedb.org/3/tv-seasons/get-tv-season-images
func (*TMDb) GetTvSeasonInfo ¶
func (tmdb *TMDb) GetTvSeasonInfo(showID, seasonID int, options map[string]string) (*TvSeason, error)
GetTvSeasonInfo the primary information about a TV season by its season number https://developers.themoviedb.org/3/tv-seasons/get-tv-season-details
func (*TMDb) GetTvSeasonVideos ¶
func (tmdb *TMDb) GetTvSeasonVideos(showID, seasonNum int, options map[string]string) (*TvVideos, error)
GetTvSeasonVideos gets the videos that have been added to a TV season https://developers.themoviedb.org/3/tv-seasons/get-tv-season-videos
func (*TMDb) GetTvSimilar ¶
GetTvSimilar gets the similar TV shows for a specific tv show id https://developers.themoviedb.org/3/tv/get-similar-tv-shows
func (*TMDb) GetTvTopRated ¶
func (tmdb *TMDb) GetTvTopRated(options map[string]string) (*TvPagedResults, error)
GetTvTopRated gets the list of top rated TV shows https://developers.themoviedb.org/3/tv/get-top-rated-tv
func (*TMDb) GetTvTranslations ¶
func (tmdb *TMDb) GetTvTranslations(id int) (*TvTranslations, error)
GetTvTranslations gets the list of translations that exist for a TV series https://developers.themoviedb.org/3/tv/get-tv-translations
func (*TMDb) GetTvVideos ¶
GetTvVideos gets the videos that have been added to a TV series https://developers.themoviedb.org/3/tv/get-tv-videos
func (*TMDb) SearchCollection ¶
func (tmdb *TMDb) SearchCollection(name string, options map[string]string) (*CollectionSearchResults, error)
SearchCollection searches for collections by name https://developers.themoviedb.org/3/search/search-collections
func (*TMDb) SearchCompany ¶
func (tmdb *TMDb) SearchCompany(name string, options map[string]string) (*CompanySearchResults, error)
SearchCompany searches for companies by name https://developers.themoviedb.org/3/search/search-companies
func (*TMDb) SearchKeyword ¶
func (tmdb *TMDb) SearchKeyword(name string, options map[string]string) (*KeywordSearchResults, error)
SearchKeyword searches for keywords by name https://developers.themoviedb.org/3/search/search-keywords
func (*TMDb) SearchList ¶
SearchList searches for lists by name and description No current documentation exists for this endpoint
func (*TMDb) SearchMovie ¶
SearchMovie searches for movies by title https://developers.themoviedb.org/3/search/search-movies
func (*TMDb) SearchMulti ¶
SearchMulti searches the movie, tv show and person collections with a single query https://developers.themoviedb.org/3/search/multi-search
func (*TMDb) SearchPerson ¶
func (tmdb *TMDb) SearchPerson(name string, options map[string]string) (*PersonSearchResults, error)
SearchPerson searches for people by name https://developers.themoviedb.org/3/search/search-people
func (*TMDb) SearchTv ¶
SearchTv searches for TV shows by title https://developers.themoviedb.org/3/search/search-tv-shows
type TV ¶
type TV struct { BackdropPath string `json:"backdrop_path"` CreatedBy []struct { ID int Name string CreditID string `json:"credit_id"` Gender int `json:"gender"` ProfilePath string `json:"profile_path"` } EpisodeRunTime []int `json:"episode_run_time"` FirstAirDate string `json:"first_air_date"` Genres []struct { ID int Name string } LastEpisodeToAir EpisodePart `json:"last_episode_to_air"` NextEpisodeToAir EpisodePart `json:"next_episode_to_air"` Homepage string ID int InProduction bool `json:"in_production"` Languages []string LastAirDate string `json:"last_air_date"` Name string Networks []struct { ID int Name string LogoPath string `json:"logo_path"` Iso3166_1 string `json:"origin_country"` } NumberOfEpisodes int `json:"number_of_episodes"` NumberOfSeasons int `json:"number_of_seasons"` OriginCountry []string `json:"origin_country"` OriginalLanguage string `json:"original_language"` OriginalName string `json:"original_name"` Overview string Popularity float32 PosterPath string `json:"poster_path"` ProductionCompanies []struct { ID int Name string LogoPath string `json:"logo_path"` Iso3166_1 string `json:"origin_country"` } `json:"production_companies"` Seasons []struct { Name string Overview string AirDate string `json:"air_date"` EpisodeCount int `json:"episode_count"` ID int PosterPath string `json:"poster_path"` SeasonNumber int `json:"season_number"` } Status string Type string VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` AlternativeTitles *TvAlternativeTitles `json:"alternative_titles,omitempty"` Changes *TvChanges `json:",omitempty"` Credits *TvCredits `json:",omitempty"` Images *TvImages `json:",omitempty"` Keywords *TvKeywords `json:",omitempty"` Similar *TvPagedResults `json:",omitempty"` Translations *TvTranslations `json:",omitempty"` Videos *TvVideos `json:",omitempty"` ExternalIDs *TvExternalIds `json:"external_ids,omitempty"` }
TV struct
type TvAccountState ¶
TvAccountState struct
type TvAlternativeTitles ¶
type TvAlternativeTitles struct { ID int Results []struct { Iso3166_1 string `json:"iso_3166_1"` Title string } }
TvAlternativeTitles struct
type TvChanges ¶
type TvChanges struct { Changes []struct { Key string Items []struct { ID string Action string Time string } } }
TvChanges struct
type TvCredits ¶
type TvCredits struct { ID int Cast []struct { Character string CreditID string `json:"credit_id"` ID int Name string Gender int `json:"gender"` Order int ProfilePath string `json:"profile_path"` } AlternativeTitles *TvAlternativeTitles `json:"alternative_titles,omitempty"` Changes *TvChanges `json:",omitempty"` Crew []struct { CreditID string `json:"credit_id"` Department string Gender int `json:"gender"` ID int Name string Job string ProfilePath string `json:"profile_path"` } Images *TvImages `json:",omitempty"` Keywords *TvKeywords `json:",omitempty"` Similar *TvPagedResults `json:",omitempty"` Translations *TvTranslations `json:",omitempty"` Videos *TvVideos `json:",omitempty"` }
TvCredits struct
type TvEpisode ¶
type TvEpisode struct { AirDate string `json:"air_date"` Crew []struct { ID int CreditID string `json:"credit_id"` Name string Department string Job string ProfilePath string `json:"profile_path"` } EpisodeNumber int `json:"episode_number"` GuestStars []struct { ID int CreditID string `json:"credit_id"` Name string Character string Order int ProfilePath string `json:"profile_path"` } `json:"guest_stars"` Name string Overview string ID int ProductionCode string `json:"production_code"` SeasonNumber int `json:"season_number"` StillPath string `json:"still_path"` VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` Runtime uint32 `json:"runtime"` }
TvEpisode struct
type TvEpisodeImages ¶
TvEpisodeImages struct
type TvExternalIds ¶
type TvExternalIds struct { ID int ImdbID string `json:"imdb_id"` FreebaseID string `json:"freebase_id"` FreebaseMid string `json:"freebase_mid"` TvdbID int `json:"tvdb_id"` TvrageID int `json:"tvrage_id"` FacebookID string `json:"facebook_id"` InstagramID string `json:"instagram_id"` TwitterID string `json:"twitter_id"` }
TvExternalIds struct
type TvImage ¶
type TvImage struct { FilePath string `json:"file_path"` Width int Height int Iso639_1 string `json:"iso_639_1"` AspectRatio float32 `json:"aspect_ratio"` VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` }
TvImage struct
type TvKeywords ¶
type TvKeywords struct { ID int Results []struct { ID int Name string } AlternativeTitles *TvAlternativeTitles `json:"alternative_titles,omitempty"` Changes *TvChanges `json:",omitempty"` Credits *TvCredits `json:",omitempty"` Images *TvImages `json:",omitempty"` Similar *TvPagedResults `json:",omitempty"` Translations *TvTranslations `json:",omitempty"` Videos *TvVideos `json:",omitempty"` }
TvKeywords struct
type TvPagedResults ¶
type TvPagedResults struct { ID int `json:",omitempty"` Page int Results []TvShort TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` AlternativeTitles *TvAlternativeTitles `json:"alternative_titles,omitempty"` Changes *TvChanges `json:",omitempty"` Credits *TvCredits `json:",omitempty"` Images *TvImages `json:",omitempty"` Keywords *TvKeywords `json:",omitempty"` Similar *TvPagedResults `json:",omitempty"` Translations *TvTranslations `json:",omitempty"` Videos *TvVideos `json:",omitempty"` }
TvPagedResults struct
type TvRecommendations ¶
type TvRecommendations struct { Page int `json:"page"` Results []struct { BackdropPath string `json:"backdrop_path"` FirstAirDate string `json:"first_air_date"` GenreIDs []int `json:"genre_ids"` ID int `json:"id"` OriginalLanguage string `json:"original_language"` OriginalName string `json:"original_name"` Overview string `json:"overview"` OriginCountry []string `json:"origin_country"` PosterPath string `json:"poster_path"` Popularity float32 `json:"popularity"` Name string `json:"name"` Networks []struct { ID int `json:"id"` Logo struct { Path string `json:"path"` AspectRatio float32 `json:"aspect_ratio"` } `json:"logo"` Name string `json:"name"` OriginCountry string `json:"origin_country"` } `json:"networks"` VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` } `json:"results"` TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
TvRecommendations struct for TV show recommendations.
type TvSearchResults ¶
type TvSearchResults struct { Page int Results []struct { ID int Name string BackdropPath string `json:"backdrop_path"` OriginalName string `json:"original_name"` FirstAirDate string `json:"first_air_date"` OriginCountry []string `json:"origin_country"` PosterPath string `json:"poster_path"` Popularity float32 VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` GenreIds []uint32 `json:"genre_ids"` OriginalLanguage string `json:"original_language"` Overview string `json:"overview"` } TotalPages int `json:"total_pages"` TotalResults int `json:"total_results"` }
TvSearchResults struct
type TvSeason ¶
type TvSeason struct { ID int AirDate string `json:"air_date"` Name string Overview string PosterPath string `json:"poster_path"` SeasonNumber int `json:"season_number"` Episodes []TvEpisode Credits *TvCredits ExternalIDs *TvSeasonExternalIds `json:"external_ids,omitempty"` }
TvSeason struct
type TvSeasonExternalIds ¶
type TvSeasonExternalIds struct { ID int FreebaseID string `json:"freebase_id"` FreebaseMid string `json:"freebase_mid"` TvdbID int `json:"tvdb_id"` TvrageID int `json:"tvrage_id"` }
TvSeasonExternalIds struct
type TvShort ¶
type TvShort struct { Adult bool `json:"adult"` BackdropPath string `json:"backdrop_path"` ID int `json:"id"` OriginalName string `json:"original_name"` GenreIDs []int32 `json:"genre_ids"` OriginCountry []string `json:"origin_country"` Popularity float32 `json:"popularity"` PosterPath string `json:"poster_path"` FirstAirDate string `json:"first_air_date"` Name string `json:"name"` Overview string `json:"overview"` Video bool `json:"video"` VoteAverage float32 `json:"vote_average"` VoteCount uint32 `json:"vote_count"` }
TvShort struct
type TvTranslations ¶
type TvTranslations struct { ID int Translations []struct { Iso3166_1 string `json:"iso_3166_1"` Iso639_1 string `json:"iso_639_1"` Name string `json:"name"` EnglishName string `json:"english_name"` Data struct { Name string `json:"name,omitempty"` Overview string `json:"overview,omitempty"` Homepage string `json:"homepage,omitempty"` } `json:"data"` } }
TvTranslations struct
Source Files
¶
- account.go
- authentication.go
- certifications.go
- changes.go
- collections.go
- companies.go
- configuration.go
- credits.go
- discover.go
- find.go
- genres.go
- guestsessions.go
- jobs.go
- keywords.go
- lists.go
- main.go
- movies.go
- networks.go
- people.go
- reviews.go
- roundrobin.go
- search.go
- timezones.go
- trending.go
- tv.go
- tvepisodes.go
- tvseasons.go