Trovebox API client library for node.js
node-Trovebox is a node.js client library for Trovebox...
Installation
npm install trovebox
Usage
var trovebox = require('trovebox');
var serveropts = {
host:"http://photo.example.com",
consumer_key: "consumer_key",
consumer_secret: "consumer_secret",
token: "token",
token_secret: "token_secret"
}
var client = new trovebox(serveropts);
client.photo.list(function(err, data) {
if(!err){
console.log(data);
}
});
Simple example app: https://github.com/endast/node-trovebox-example
Todo
Group api
Webhooks api
Versions
0.0.2 - First version