themoviedb.org Golang library 🎥
Switch branches/tags
Nothing to show
Clone or download
Latest commit 4292f0d Nov 4, 2017

README.md

MIT License CircleCI

Library to get movies & tv airing today.

Methods

Method Description
GetPopularMovies() What are the most popular movies?
GetUpcomingMovies() What are the upcoming movies?
GetTopRatedMovies() What are the top rated movies?
GetNowPlayingMovies() What movies are in theatres?
GetPopularTVShows() What are the most popular tv shows?
GetTopRatedShows() What are the top rated tv shows?
GetOnTVShows() What tv shows are on tv?
GetAiringTodayShows() What are the tv shows airing today?

Install

go get -u github.com/mlabouardy/moviedb

Examples

To get list of upcoming movies:

func main() {
	db := NewMovieDB()
	fmt.Println("Upcoming movies")
	for _, show := range db.GetUpcomingMovies() {
		fmt.Printf("\tTitle: %s\n\tCover: %s\n\n", show.Title, show.Cover)
	}
}

Tutorials

Maintainers

License

This project is licensed under the MIT License - see the LICENSE file for details