2.0.1 • Published 7 years ago

tanetjson v2.0.1

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

tanetjson

NPM

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

  • Request - Designed to be the simplest way possible to make http calls
  • X-Ray - Web Scraper & Crawler

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.

2.0.1

7 years ago

2.0.0

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago