0.0.4 • Published 7 years ago

onconnect-movies-api v0.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

Onconnect Movies API

Node library around the Onconnect movies API (http://developer.tmsapi.com/page). You need an API key to use this library.

Usage

OnconnectAPI.init receives the API key. You will need to call this method (once) before calling any other method.

OnconnectAPI.getMoviesByLocation receives a latitude, a longitude and a callback. It will call the callback passing the list of the movies playing today nearby your location.

var OnconnectAPI = require('onconnect-movies-api')

OnconnectAPI.init('<YOUR_API_KEY>');
OnconnectAPI.getMoviesByLocation('34.0386656','-118.4221519',function(movies){
  //Implement your code here
});
0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago