Documentation ¶
Overview ¶
package providers contains metadata gatherers
Index ¶
Constants ¶
View Source
const ImdbEP = "https://v2.sg.media-imdb.com"
View Source
const McHost = "https://www.metacritic.com"
View Source
const OmdbEP = "https://www.omdbapi.com/"
View Source
const RtHost = "https://www.rottentomatoes.com"
View Source
const TmdbEP = "https://api.themoviedb.org/3"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Imdb ¶
type Imdb struct{}
IMDb hidden API interface
func (*Imdb) Populate ¶
func (*Imdb) Populate(m elements.FilmMetadata) (*elements.FilmMetadata, error)
identify by title and year when imdbid not known
type Metacritic ¶
type Metacritic struct{}
metacritic scraper
func (*Metacritic) Populate ¶
func (mc *Metacritic) Populate(m elements.FilmMetadata) (*elements.FilmMetadata, error)
get metascore using title and year
type Omdb ¶
type Omdb struct{}
OMDb API interface
func (*Omdb) Populate ¶
func (o *Omdb) Populate(m elements.FilmMetadata) (*elements.FilmMetadata, error)
populate metadata from imdbid or title/year
type RottenTomatoes ¶
type RottenTomatoes struct{}
rotten tomatoes scraper
func (*RottenTomatoes) Populate ¶
func (rt *RottenTomatoes) Populate(m elements.FilmMetadata) (*elements.FilmMetadata, error)
get rotten tomatoes score using title and year
type Tmdb ¶
type Tmdb struct{}
TMDB API interface
func (*Tmdb) Populate ¶
func (t *Tmdb) Populate(m elements.FilmMetadata) (*elements.FilmMetadata, error)
populate metadata from imdbid or title/year
Click to show internal directories.
Click to hide internal directories.