Versions in this module Expand all Collapse all v0 v0.2.3 Jun 7, 2024 v0.2.2 Jun 6, 2024 v0.2.1 Jun 5, 2024 v0.2.0 Jun 4, 2024 Changes in this version + type AdvSearchImage struct + Caption string + Height int + ID string + URL string + Width int + type AdvancedSearchNameResult struct + Bio string + ID string + Image AdvSearchImage + KnownFor struct{ ... } + Professions []string + Title string + func (s *AdvancedSearchNameResult) FullPerson(client *ImdbClient) (*Person, error) type AdvancedSearchTitleResult + CanRate bool + Certificate string + EndYear int + Genres []string + HasWatchOption bool + ID string + OriginalTitle string + Plot string + ReleaseYear int + Runtime int + TrailerID string + Type struct{ ... } type Image + URL string type Movie + ReleaseYear string + type MovieDetailsSection struct + Aka string + Companies types.Links + Languages types.Links + Locations types.Links + OfficialSites types.Links + Origin string + Releaseinfo string + type MovieJSONContent struct + Actors types.Links + ContentRating string + Directors types.Links + Genres []string + ID string + Keywords string + Plot string + PosterURL string + Rating Rating + ReleaseDate string + Review Review + Runtime string + Title string + Trailer VideoObject + Type string + URL string + Writers types.Links + type PersonDYKSection struct + Nickname string + Quote string + Trademark string + Trivia string + type PersonDetailsSection struct + Birthday string + Height string + OfficialSites types.Links + OtherWorks string + Spouse types.Links + type PersonJSONContent struct + Description string + Headline string + Image string + MainEntity struct{ ... } + Name string + URL string + Video VideoObject + type Rating struct + Best float32 + Value float32 + Votes int64 + Worst float32 + type Review struct + Author ReviewAuthor + Body string + Date string + ItemReviewed ReviewItem + Language string + Rating Rating + type ReviewAuthor struct + Name string + type ReviewItem struct + URL string + type VideoObject struct + Description string + Duration string + EmbedURL string + Name string + Thumbnail string + URL string + UploadDate string v0.1.0 May 31, 2024 Changes in this version + const ResultTypeName + const ResultTypeOther + const ResultTypeTitle + var ErrNoResults error = errors.New("no search results were found") + type AdvacedSearchNameResult struct + Description string + Image string + Index int + Link string + Professions []string + Title string + TopTitle types.Link + type AdvancedSearchNameOpts struct + AdultNames string + Awards []string + BirthRange types.SearchRange + Birthday string + DeathRange types.SearchRange + ExtraParams map[string]any + Genders []string + Name string + PageTopics []string + Titles []string + type AdvancedSearchTitleOpts struct + AdultTitles string + Awards []string + CastOrCrew []string + Certificates []string + Characters []string + Colors []string + Companies []string + Countries []string + ExtraParams map[string]any + Genres []string + InstantWatches []string + Keywords []string + Languages []string + Popularity types.SearchRange + Rating types.SearchRange + RelaseDate types.SearchRange + Runtime types.SearchRange + SoundMixes []string + TitleName string + Topics []string + Types []string + Votes types.SearchRange + type AdvancedSearchTitleResult struct + Description string + Image string + Index int + Link string + Metadata []string + Rating string + Title string + func (s *AdvancedSearchTitleResult) FullPerson(client *ImdbClient) (*Person, error) + func (s *AdvancedSearchTitleResult) FullTitle(client *ImdbClient) (*Movie, error) + type Image struct + Height int + ImageURL string + Width int + type ImdbCache struct + MovieCache *cache.Cache + PersonCache *cache.Cache + SearchCache *cache.Cache + func NewImdbCache(timeout time.Duration) *ImdbCache + type ImdbClient struct + func NewClient(o ...ImdbClientOpts) *ImdbClient + func (*ImdbClient) AdvancedSearchName(opts *AdvancedSearchNameOpts) ([]*AdvacedSearchNameResult, error) + func (*ImdbClient) AdvancedSearchTitle(opts *AdvancedSearchTitleOpts) ([]*AdvancedSearchTitleResult, error) + func (c *ImdbClient) GetMovie(id string) (*Movie, error) + func (c *ImdbClient) GetPerson(id string) (*Person, error) + func (c *ImdbClient) SearchAll(query string, configs ...*SearchConfigs) (*SearchResults, error) + func (c *ImdbClient) SearchNames(query string, configs ...*SearchConfigs) (*SearchResults, error) + func (c *ImdbClient) SearchTitles(query string, configs ...*SearchConfigs) (*SearchResults, error) + func (c *ImdbClient) SetCacheTimeout(t time.Duration) + func (c *ImdbClient) SetDisableCaching(b bool) + type ImdbClientOpts struct + CacheExpiration time.Duration + DisableCaching bool + type Movie struct + Aka string + Companies types.Links + Directors types.Links + Genres types.Links + ID string + Languages types.Links + Link string + Locations types.Links + OfficialSites types.Links + Origin string + Plot string + Rating string + Releaseinfo string + Runtime string + Stars types.Links + Title string + Votes string + Writers types.Links + Year string + func (t *Movie) PrettyPrint() + type Person struct + Bio string + Birthday string + Height string + ID string + KnownFor types.Links + Link string + Name string + Nickname string + OfficialSites types.Links + OtherWorks string + Poster string + Quote string + Roles []string + Spouse types.Links + Trademark string + Trivia string + type SearchConfigs struct + IncludeVideos bool + type SearchResult struct + Category string + Description string + ID string + Image Image + Rank int + Subtitle string + Title string + Videos []Video + Year int + Years string + func (s *SearchResult) FullPerson(client *ImdbClient) (*Person, error) + func (s *SearchResult) FullTitle(client *ImdbClient) (*Movie, error) + func (s *SearchResult) GetType() string + func (s *SearchResult) IsPerson() bool + func (s *SearchResult) IsTitle() bool + type SearchResults struct + Query string + Results []*SearchResult + V int + type Video struct + Duration string + ID string + Thumbnail Image + Title string