ryngonzalez / findango-api

:movie_camera: Wrapper for Fandango's "Nearby Movies" RSS feed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🎥 findango-api

Wrapper for Fandango's "Nearby Movies" RSS feed.

Usage

Findango.find returns a Promise that resolves to a set of theatre results:

var Findango = require('findango-api')

Findango.find({
  zipCode: '94107'
}).then(theatres => {
  // Theatres have the format:
  // {
  //  name: '…',              // Name of theatre
  //  location: '…',          // Theatre address
  //  films: [{
  //    title: "Movie Title"  // Title of film
  //    url: '…'              // Fandango URL for showtimes
  //  }]
  // }
  renderApp(theatres);
});

About

:movie_camera: Wrapper for Fandango's "Nearby Movies" RSS feed.

License:MIT License


Languages

Language:JavaScript 100.0%