An open API service indexing awesome lists of open source software.

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 🎥

Awesome Lists containing this project

README

          

[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat)](LICENSE) [![CircleCI](https://circleci.com/gh/mlabouardy/moviedb.svg?style=svg)](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