Elixir library for themoviedb.org's (tmdb) API.
This library is open source (MIT License) and welcomes contributions!
- Add movies to your list of dependencies in
mix.exs
:
def deps do
[{:tmdb, git: "https://github.com/seanabrahams/elixir-tmdb.git"}]
end
You will need an account and API key from themoviedb.org.
config :tmdb,
api_key: "Your TMDb API key"
Tmdb.Search.movies("coherence") # Search for a specific movie
Tmdb.Search.tv("brain dead") # Search for a specific tv show
Tmdb.Movies.popular() # Movies that are currently popular
Tmdb.Movies.top() # Most highly rated movies regardless of release date