Versions in this module Expand all Collapse all v0 v0.0.2 Sep 13, 2023 Changes in this version + const RT_HOST + var REQUEST_HEADERS http.Header = http.Header + func GetChunksFromString(startTag string, endTag string, content string) []string + func GetGenres(movieName string, year *int, proxyUrl string) ([]string, error) + func GetMovieTitle(movieName string, year *int, proxyUrl string) (string, error) + func RemoveSpecialChars(raw string) string + type RTMovieInfo struct + AudienceScore RTScore + Genres []string + Rating string + Runtime string + Title string + TomatometerScore RTScore + Year int + func GetMovieInfo(movieName string, year *int, proxyUrl string) (*RTMovieInfo, error) + type RTSchemaAggregateRating struct + BestRating string + Description string + Name string + RatingCount int + RatingValue string + ReviewCount int + Type string + WorstRating string + type RTSchemaCompany struct + Name string + Type string + type RTSchemaJson struct + Actors []RTSchemaPerson + AggregateRating RTSchemaAggregateRating + Author []RTSchemaPerson + Character []string + ContentRating string + Context string + DateCreated string + DateModified string + Director []RTSchemaPerson + Genre []string + Image string + Name string + ProductionCompany RTSchemaCompany + Type string + Url string + type RTSchemaPerson struct + Image string + Name string + Url string + func GetActors(movieName string, year *int, maxActors int, proxyUrl string) ([]RTSchemaPerson, error) + func GetDirectors(movieName string, year *int, maxDirectors int, proxyUrl string) ([]RTSchemaPerson, error) + type RTScore struct + AverageRating string + BandedRatingCount string + LikedCount int + NotLikedCount int + RatingCount int + ReviewCount int + State string + Value int + type RTScoreDetails struct + MediaType string + PrimaryImageUrl string + Scoreboard RTScoreboard + type RTScoreboard struct + AudienceCountHref string + AudienceScore RTScore + Info string + Rating string + Title string + TomatometerScore RTScore + type SearchListing struct + HasTomatometer bool + IsMovie bool + Title string + Url string + Year int + func FromHtml(htmlSnippet string) (*SearchListing, error) v0.0.1 Sep 8, 2023