README
spagiapi
An API for accessing data on the Spaggiari registro elettronico site
Usage
This API can login into the site and retrive the user data
var spagiapi = require("spagiapi");
spagiapi.login(username, password, function(data) {
console.log(data);
});
This returns an object:
{ loggedIn: true,
accountType: 'S',
id: 1105043,
surname: 'ZAUSA',
name: 'GIULIO',
class: '5C' }