0.1.1 • Published 9 years ago

issuu v0.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

ISSUU NodeJS module

WARNING! Module in development. Only documents.list and document.upload methods supported. But you can add and test new methods by your self.

Installation

Installation via npm:

$ npm install issuu --save

Initialization

var IssuuClient = require('issuu');

var credetials = {
	api_key: 'my_api_key',
	api_secret: 'my_api_secret'
}

var client = new IssuuClient(credetials);

client.documents.list({}, function(err, documents_list){
	if(err) return console.log(JSON.stringify(err));
	console.log(JSON.stringify(documents_list));
})

Calling methods

You can use two methods for calling api. Firts:

client.documents.list({}, function(err, documents_list){
	if(err) return console.log(JSON.stringify(err));
	console.log(JSON.stringify(documents_list));
})

Second:

client.documentsList({}, function(err, documents_list){
	if(err) return console.log(JSON.stringify(err));
	console.log(JSON.stringify(documents_list));
})

Useful links

Contacts

Jaroslav Khorishchenko

websnipter@gmail.com

0.1.1

9 years ago

0.1.0

9 years ago