2.0.1 • Published 7 years ago
tanetjson v2.0.1
tanetjson
It's a JSON Parser for TNEU Rating System.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Installing
First, you need to clone the repository on your local machine:
npm install tanetjson
Test
npm test
How to use it?
var Tanet = require('tanetjson');
var tanet = new Tanet();
tanet.setUserCredentials({
username: "LOGIN",
password: "PASSWD"
});
tanet.parse().then(res => console.log(res))
.catch(err => console.error(err));
Config Hosts
If domain of TNEU Rating System will change you can also change it in config.
tanet.setConfig({
"domain_post" : "http://mod.tanet.edu.te.ua/site/login",
"domain_get" : "http://mod.tanet.edu.te.ua/ratings/index"
});
Built With
Changelog
- v 1.0.2
Added
parse
return a Promise * now you can change domains in config
Author
- Petro Liashchynskyi - TNEU, FCIT - Java Software Developer
License
This project is licensed under the GPL-3.0. For more see LICENSE file.