Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/giulioz/spagiapi

An API for accessing data on the Spaggiari registro elettronico site
https://github.com/giulioz/spagiapi

Last synced: about 2 months ago
JSON representation

An API for accessing data on the Spaggiari registro elettronico site

Awesome Lists containing this project

README

        

# spagiapi
An API for accessing data on the [Spaggiari registro elettronico](http://web.spaggiari.eu/) site
# Usage
This API can login into the site and retrive the user data
```js
var spagiapi = require("spagiapi");

spagiapi.login(username, password, function(data) {
console.log(data);
});
```
This returns an object:
```js
{ loggedIn: true,
accountType: 'S',
id: 1105043,
surname: 'ZAUSA',
name: 'GIULIO',
class: '5C' }
```