cram

package
v0.0.0-...-6b61f70 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2015 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const IMDB_URL = "http://www.omdbapi.com"
View Source
const METACRITIC_URL = "http://www.metacritic.com"
View Source
const TMDB_KEY = "5450d19ab0d8917dfc1389aef4b27098"
View Source
const TMDB_URL = "https://api.themoviedb.org/3"

Variables

This section is empty.

Functions

func GetRatings

func GetRatings(w http.ResponseWriter, r *http.Request)

Types

type Final

type Final struct {
	Title   string
	Ratings map[string]map[string]string
}

type IMDB_MOVIE

type IMDB_MOVIE struct {
	ImdbRating   string
	TomatoRating string
	TomatoMeter  string
}

type Movie

type Movie struct {
	IMDB_ID string  `json:"imdb_id"`
	Rating  float64 `json:"vote_average"`
	Name    string  `json:"original_title"`
}

type Result

type Result struct {
	Id int `json:"id"`
}
type Search struct {
	Results      []Result `json:"results"`
	TotalResults int      `json:"total_results"`
}

Jump to

Keyboard shortcuts

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