โ [DEPRECATED], use https://github.com/TP-O/goer instead
EduSoft Package can help you get information from https://edusoftweb.hcmiu.edu.vn easily.
npm install edusoft
yarn add edusoft
You need to provide credentials before using any feature that requires authentication.
const edu = require("edusoft");
edu.config({
username: "<Student ID>",
password: "<Passwod>",
});
Crawl all the news from https://edusoftweb.hcmiu.edu.vn/default.aspx?page=danhsachthongtin&type=0.
const news = await edu.getNews();
Not support for specific week yet.
const schedule = await edu.getSchedule();
const midtermSchedule = await edu.getMidtermSchedule();
const finalSchedule = await edu.getFinalSchedule();
Information about your tuition.
const tuition = await edu.getTution();
Getting transcript bases on year and semester. Parameters:
- Year: required
- Semester: default
1
const transcript = await edu.getTranscript(<Year>, <Semester>);
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);