2.0.1 • Published 3 years ago

edusoft v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

EduSoft

EduSoft Package can help you get information from https://edusoftweb.hcmiu.edu.vn easily.

Installation

NPM

npm install edusoft

Yarn

yarn add edusoft

Usage

You need to provide credentials before using any feature that requires authentication.

const edu = require("edusoft");

edu.config({
    username: "<Student ID>",
    password: "<Passwod>",
});

News

Crawl all the news from https://edusoftweb.hcmiu.edu.vn/default.aspx?page=danhsachthongtin&type=0.

const news = await edu.getNews();

Schedule of current week

Not support for specific week yet.

const schedule = await edu.getSchedule();

Midterm schedule

const midtermSchedule = await edu.getMidtermSchedule();

Final schedule

const finalSchedule = await edu.getFinalSchedule();

Tuition

Information about your tuition.

const tuition = await edu.getTution();

Transcript

Getting transcript bases on year and semester. Parameters:

  • Year: required
  • Semester: default 1
const transcript = await edu.getTranscript(<Year>, <Semester>);

Register for courses

Registering for courses bases on a list of subject IDs (How to get ID).
ID of a subject looks like this: PT002IU01 |PT002IU|Physical Training 2|01|3|3|01/01/0001|0|0|0| |0|ITIT19CS31.

Warning: Do not sign in to your account while this function is working.

await edu.register([<Subject_ID_1>, <Subject_ID_2>], true);
2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

0.2.0

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

3 years ago