metacritic

package
v0.0.0-...-ea8b56b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 16, 2015 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BASE_URL = "http://www.metacritic.com"

Variables

This section is empty.

Functions

func Find

func Find(kind, query string) (string, error)
func Search(kind, query string) (string, error)

Types

type Album

type Album struct {
	AlbumBasic
	UserRating    Rating
	CriticReviews []CriticReview
	UserReviews   []UserReview
}

type AlbumBasic

type AlbumBasic struct {
	Name, Url, Summary, Poster, ReleaseDate, Genres, RecordLabel string
	CriticRating                                                 Rating
}

type CreditInfo

type CreditInfo struct {
	CriticRating, Name, Url, Year, Credit, UserRating string
}

type CriticReview

type CriticReview struct {
	Score, Source, Author, Summary, Url string
}

type Distribution

type Distribution struct {
	Positive, Mixed, Negative string
}

type Game

type Game struct {
	GameBasic
	UserRating    Rating
	CriticReviews []CriticReview
	UserReviews   []UserReview
}

type GameBasic

type GameBasic struct {
	Name, Url, Poster, Summary, ReleaseDate, Certificate, Genres, Publisher, Platform string
	CriticRating                                                                      Rating
}

type Movie

type Movie struct {
	MovieBasic
	CriticReviews []CriticReview
	UserReviews   []UserReview
}

type MovieBasic

type MovieBasic struct {
	Name, Url, Poster, Summary, Certificate, Runtime, ReleaseDate, Genres string
	UserRating                                                            Rating
	CriticRating                                                          Rating
}

type Person

type Person struct {
	PersonBasic
	Biography    string
	MovieScores  Distribution
	TVScores     Distribution
	MovieCredits []CreditInfo
	TVCredits    []CreditInfo
}

type PersonBasic

type PersonBasic struct {
	Name, Url, DOB, Categories string
	AverageMovieScore          Rating
	AverageTVScore             Rating
}

type Rating

type Rating struct {
	Average, Count string
}

type TvBasic

type TvBasic struct {
	Name, Url, Summary, ReleaseDate, Genres string
	CriticRating                            Rating
}

type UserReview

type UserReview struct {
	Username, ProfileUrl, Score, ReviewDate, Review, Like, Dislike string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL