Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/giulioz/spagiapi
- Owner: giulioz
- License: mit
- Archived: true
- Created: 2016-11-12T13:42:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-23T08:35:22.000Z (over 7 years ago)
- Last Synced: 2024-09-07T10:19:01.465Z (2 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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' }
```