1.0.0 • Published 2 years ago

the-utc-api v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

UTC APIs

An awesome API to work with students's information studying in UTC!

This is a NodeJS library with Javascript support NodeJS Server

Built With

Getting Started

Installation

npm install the-utc-api

Prerequisites

const { getAllSchedule, getScheduleOfToday, getScheduleOfDay, getMarks, getGPA, getStudent, getTuition, getPaidTuition, getTuitionDebt } = require('utc-schedule-api')

or

const api = require('the-utc-api')

Usage

1. Schedule

  • Get all the subjects and time periods of student
await getAllSchedule(username, password)
  • Get the subjects and time periods of student today
await getScheduleOfToday(username, password)
  • Get the subjects and time periods of student on specific day
await getScheduleOfDay(username, password, new Date(year, month, day))

2. Mark

  • Get all the marks of the student
await getMarks(username, password, grade)
  • Get the GPA of the student (at specific year)
await getGPA(username, password, year)

3. Student Profile

  • Get all personal information of the student
await getStudent(username, password)

4. Tuition

  • Get all the tuition detail of the student
await getTuition(username, password)
  • Get all the paid tuition of the student
await getPaidTuition(username, password)
  • Get all the tuition debt of the student
await getTuitionDebt(username, password)

Contact

Vu Hoang Minh - Facebook - dackheros@gmail.com

Project Link: UTC-API