Versions in this module Expand all Collapse all v0 v0.4.0 Nov 25, 2020 Changes in this version type Episode + ContainsSpoilers bool type Person + Backdrop_path string type Season + Season_number_string string + func GetSeason(serie *TvSerie, language string, seasonNumber int) (Season, error) v0.3.0 May 23, 2020 Changes in this version + func GetGenres(language string, itemType datastructure.ItemType) (map[int]string, error) + func GetItemTypeFromShow(show Show) datastructure.ItemType type Episode + Experiences []time.Time + func (e Episode) GetLastExperience(strings i18n.Translation, timezone string) string + func (e Episode) IsWatched() bool type Film + Experiences []time.Time + Id int + IsOnWantList bool + func (f *Film) GetItemInfo() datastructure.ItemInfo + func (f *Film) GetItemType() datastructure.ItemType + func (f *Film) SetOnWantList(isOnList bool) + func (f Film) GetLastExperience(strings i18n.Translation, timezone string) string + func (f Film) GetLastExperienceFull(strings i18n.Translation) string + type Genres struct + Genres []struct{ ... } type Season + func GetSeason0(serie *TvSerie, language string) ([]Season, error) type Show + SetOnWantList func(isOnList bool) type TvSerie + AllEpisodes int + IsOnWantList bool + Next_episode_to_watch Episode + Progress int + SkippedEpisodes int + WatchedEpisodes int + func (s *TvSerie) GetItemInfo() datastructure.ItemInfo + func (s *TvSerie) GetItemType() datastructure.ItemType + func (s *TvSerie) SetOnWantList(isOnList bool) v0.2.0 Feb 10, 2020 Changes in this version type Film + BasedOn wikidata.Book + Source string + func (f *Film) AddBasedOn(book wikidata.Book) type Person + Source string + type Query struct + type RandomFilms struct + Results []struct{ ... } type Season + Credits ShowCredits + type Show interface + AddBasedOn func(book wikidata.Book) + type ShowCastEntry struct + Character string + Id int + Name string + Profile_path string + type ShowCredits struct + Cast []ShowCastEntry + Crew []ShowCrewEntry + type ShowCrewEntry struct + Id int + Job string + Name string + Profile_path string + type TvSerie struct + Backdrop_path string + BasedOn wikidata.Book + Credits ShowCredits + Episode_run_time []int + Etag string + First_air_date time.Time + First_air_date_str string + Genres []struct{ ... } + Id string + Last_air_date time.Time + Last_air_date_str string + Last_episode_to_air Episode + Name string + Number_of_episodes int + Original_name string + Overview string + Poster_path string + Seasons []Season + Source string + Status string + Type string + Vote_average float32 + Vote_count int + func (s *TvSerie) AddBasedOn(book wikidata.Book) + func (s TvSerie) GetYears() string v0.1.0 Jan 22, 2020 Changes in this version + const API_KEY + func GetRandomComedy(language string) (string, error) + type Collection struct + Id int + Name string + Parts []struct{ ... } + func GetCollection(id string, language string, etag string) (*Collection, error) + type Credits struct + Cast []struct{ ... } + Crew []struct{ ... } + type Episode struct + Air_date time.Time + Air_date_str string + Episode_code string + Episode_number int + Name string + Overview string + Season_number int + Still_path string + Vote_average float32 + Vote_count int + type Film struct + Backdrop_path string + Collection Collection + Credits struct{ ... } + Etag string + Genres []struct{ ... } + Original_title string + Overview string + Poster_path string + Release_date time.Time + Release_date_str string + Runtime int + Status string + Tagline string + Title string + Vote_average float32 + Vote_count int + func GetFilm(id string, language string, etag string) (*Film, error) + type HttpError struct + Status int + func (e HttpError) Error() string + type Person struct + Biography string + Birthday time.Time + Birthday_str string + Credits Credits + Deathday time.Time + Deathday_str string + Etag string + Name string + Place_of_birth string + Profile_path string + func GetPerson(id, language, etag string) (*Person, error) + type SearchResults struct + Page int + Query string + Results []struct{ ... } + Total_pages int + func Search(query, language, page string) (*SearchResults, error) + func (r SearchResults) NextPage() int + func (r SearchResults) PrevPage() int + type Season struct + Episodes []Episode + Season_number int + func GetSeasons(serie *Serie, language, etag string) ([]Season, error) + type Serie struct + Backdrop_path string + Credits struct{ ... } + Episode_run_time []int + Etag string + First_air_date time.Time + First_air_date_str string + Genres []struct{ ... } + Id string + Last_air_date time.Time + Last_air_date_str string + Last_episode_to_air Episode + Name string + Number_of_episodes int + Original_name string + Overview string + Poster_path string + Seasons []Season + Status string + Type string + Vote_average float32 + Vote_count int + func GetSerie(id, language, etag string) (*Serie, error) + type TmdbQuery struct + type TmdbRequest struct