moviemeter
A node wrapper module for the Moviemeter.nl API.
Installing
npm install moviemeter
Note: You need to request an API key in order to use most functionality of this the API (and this module).
Basic Usage
Most API calls need an active session key to be passed. You can retrieve one with your API key. See the example below.
var moviemeter = ; var apiKey = 'MY_SUPER_SECRET_API_KEY'; moviemeter;
Full List of methods
Session
// start a session. It will invoked the callback with an array with sessionkey // and unix timestamp for session's expiration datemoviemeter // close a session. The callback will get invoked with a boolean indicating success.moviemeter
Films
// retrieves an array with filmsmoviemeter // retrieves array with information about the current score (average, total, amount of votes)moviemeter // retrieves array with imdb code, url, score and votes for this filmmoviemeter // retrieves filmId corresponding to the imdb code suppliedmoviemeter // retrieves array with information about the filmmoviemeter // retrieves array with information and base64 encoded contents of poster and its thumbnailmoviemeter // retrieves summarized reviews for the filmmoviemeter // retrieves full reviewmoviemeter // retrieve cinema datamoviemeter // retrieve video datamoviemeter // retrieve TV datamoviemeter // retrieve all TV datamoviemeter
Directors
// returns array with directorsmoviemeter // returns array with director's informationmoviemeter // returns array with director's filmsmoviemeter // returns array with information // and base64 encoded contents of director image (if exists) and its thumbnailmoviemeter
System
// retrieve al ist of methods known to the Moviemeter.nl Web servicemoviemeter // get help on a certain web service methodmoviemeter // get the signature of a methodmoviemeter
License
(The MIT License)
Copyright (c) by Sebastian Van Sande sebastian@vansande.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.