onconnect-movies-api

0.0.4 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.40latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i onconnect-movies-api

Weekly Downloads

0

Version

0.0.4

License

ISC

Last publish

Collaborators

  • emilioicai
  • feedhenry