JSPM

aztu-api

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q27179F
  • License ISC

API written for retrieving student data from AzTU's Electronic Education Management System (KOICA) using student ID and password

Package Exports

  • aztu-api
  • aztu-api/aztu-api.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (aztu-api) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

AzTU API

API written for retrieving student data from AzTU's Electronic Education Management System (KOICA) using student ID and password.

Instructions for use

aztu.login() // Logging in to the system
aztu.getStudentInfo() // Return information about the student
aztu.getTranscript() // Return transcript
aztu.getCurrentLectures() // Return information about the subjects of the current semester

Example

//index.js
import AzTU from "./aztu-api.js";

const user = { UserId: "Username", Password: "Password" }; // The student's information is entered

const aztu = new AzTU(user);
aztu.login()
  .then(() => aztu.getStudentInfo().then(res => console.log(res)))
// Response:
{
  student: {
    typeOfEdu: 'Dövlət sifarişli',
    formOfEdu: 'Əyani',
    section: 'Azərbaycan dili',
    faculty: 'İnformasiya və telekommunikasiya texnologiyaları',
    department: 'Mühəndis riyaziyyatı və süni intelekt',
    specialty: 'Kompüter elmləri',
    year: 'II kurs',
    status: 'təhsil alir',
    admission: '20220915',
    graduation: ''
  },
  personal: {
    name: 'AMİN',
    surname: 'BAĞIYEV',
    fatherName: 'İSLAM',
    gender: 'Kişi',
    mobile: '994*********'
  },
  exam: {
    studentID: '*********',
    verbalPassword: '*********',
    testPassword: '*********'
  }
}

License

See the LICENSE file for license rights and restrictions. (ISC)

Other languages

🇦🇿 Azerbaijani