seanabrahams / movies

Elixir library for querying movie data.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Movies

Elixir library for querying movie data.

The idea is to expose a standardized API for movie data that can be backed by any API. Right now it currently only supports themoviedb.org's API, however should there be movie info not available via themoviedb.org, this library should query other APIs to get the desired information.

This library is open source (MIT License) and welcomes contributions!

Installation

  1. Add movies to your list of dependencies in mix.exs:

    def deps do [{:movies, git: "https://github.com/seanabrahams/movies.git"}] end

You will need an account and API key from themoviedb.org.

config :movies,
  tmdb_api_key: "Your TMDb API key"

Usage

Movies.search("coherence") # Search for a specific movie
Movies.popular() # Movies that are currently popular
Movies.top() # Most highly rated movies regardless of release date

Todo

About

Elixir library for querying movie data.

License:MIT License


Languages

Language:Elixir 100.0%