https://github.com/mlabouardy/moviedb
themoviedb.org Golang library 🎥
https://github.com/mlabouardy/moviedb
api cinema movies series theatre tv-shows
Last synced: 8 months ago
JSON representation
themoviedb.org Golang library 🎥
- Host: GitHub
- URL: https://github.com/mlabouardy/moviedb
- Owner: mlabouardy
- License: mit
- Created: 2017-11-04T18:25:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-04T18:57:05.000Z (almost 8 years ago)
- Last Synced: 2025-01-15T18:40:25.743Z (9 months ago)
- Topics: api, cinema, movies, series, theatre, tv-shows
- Language: Go
- Homepage:
- Size: 431 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](LICENSE) [](https://circleci.com/gh/mlabouardy/moviedb)
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
* [Generate beautiful Swagger Documentation from Insomnia](http://www.blog.labouardy.com/generate-swagger-documentation-from-insomnia-rest-client/)
## Maintainers
- Mohamed Labouardy - mohamed@labouardy.com
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details