Documentation ¶
Index ¶
- func ASCIIPoster()
- func DataCleaner(data string) string
- func GetImdbParentsGuide(MovieName string)
- func GetJSON(url string, target interface{}) error
- func GetTrailer(mname string) string
- func LogError(err error)
- func PrettyPrinter(MovieName string, year string)
- func RtReviewScraper(mname string, year string)
- func RtScraper(mname string, year string) string
- type ImdbMovie
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataCleaner ¶
func GetTrailer ¶
GetTrailer takes in a movie name as argument and searches youtube for "<movie name> movie trailer" and returns the first result
func PrettyPrinter ¶
PrettyPrinter Print function which prints all the information from all the modules
func RtReviewScraper ¶
RtReviewScraper function also takes in movieName and year(an optional argument) as arguments prints all the reviews
Types ¶
type ImdbMovie ¶
type ImdbMovie struct { Title string Year string Rated string Released string Genre string Director string Actors string Plot string Awards string Poster string Metascore string ImdbRating string `json:"imdbRating"` ImdbID string }
ImdbMovie structure for parsing the json from omdbapi
func GetImdbRatings ¶
GetImdbRatings function takes the moviename as argument and returns the json result from the omdbapi
Click to show internal directories.
Click to hide internal directories.