1.0.0 • Published 8 years ago

findango-api v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

🎥 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);
});