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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.4
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i onconnect-movies-api

Weekly Downloads

0

Version

0.0.4

License

ISC

Last publish

Collaborators

  • emilioicai
  • feedhenry