Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
node.js API for Cineworld
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/cineworld
tests
.gitignore
README.md
package.json

README.md

cineworld-node

node.js API for Cineworld.

Installation

Use NPM:

npm install cineworld-node

Or from source

git clone git://github.com/marcofucci/cineworld-node.git
cd cineworld-node
npm link

Usage

var Cineworld = require('cineworld-node');
var cw = new Cineworld('my-key');

//cinemas
cw.cinemas(function(err, res, json) {console.log(json);});

//films
cw.films(function(err, res, json) {console.log(json);});

//dates
cw.dates(function(err, res, json) {console.log(json);});

//performances
cw.performances({film:'edi-id', cinema:'cinema-id', date:'date'} function(err, res, json) {console.log(json);});

//categories
cw.categories(function(err, res, json) {console.log(json);});

//events
cw.events(function(err, res, json) {console.log(json);});

//distributors
cw.distributors(function(err, res, json) {console.log(json);});

For the full list of params see: Cineworld API Documentation

Something went wrong with that request. Please try again.