Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (31 sloc) 1.42 KB

Find Cine Build Status Dependency Status Built with Grunt

NPM

Description

A NPM module to find movie theaters close to an address (to use with geo-location). I create this module to use in a hack project for FirefoxOS at the FirefoxAppDays in Madrid.

Install

$ npm install find-cine

Usage

In the findCine.near function you need to pass the address

var findCine = require('find-cine');

findCine.near('Calle del Pinar 6 Madrid', function (err, results) {
  console.log(results);
});

In the findCine.theaterId function you pass the address and the id of the theater

var findCine = require('find-cine');

findCine.theaterId('Calle del Pinar 6 Madrid', 'f5620c58eb9a048e', function (err, results) {
  console.log(results);
});

Author

twitter/vitorleal
Vitor Leal

License

See LICENSE.txt