Skip to content

hirossan4049/OpenUNIPA

Repository files navigation

OpenUNIPA

  • SIMPLE
  • FAST
  • EASY
Node.js Swift C C++ Java
🚧

Requirements

  • node20
  • yarn@3.4.1

Installation

$ yarn add open-unipa

Usage

import { OpenUNIPA } from 'open-unipa';

const unipa = new OpenUNIPA({
  username: "2412110000a",
  password: "password",
  univ: UnivList.KINDAI.HIGASHI_OSAKA,
})
await unipa.account.login()

const timetable = await unipa.timetable.fetch()
timetable.print()
console.log(timetable.items)
// [{
//   week: 0, // 0: 月曜日, 1: 火曜日...
//   period: 1, // 0: 1限目, 1: 2限目...
//   subject: '基礎線形代数学1', // 科目名
//   class: 'Aクラス', // クラス名?
//   teacher: '山田 武士', // 教員名?
//   room: 'E-101', // 教室名?
//   syllabus: { year: '2024', id: 'N1124C0218' } // シラバス情報
// },

計測

計測方法
stub real(有線)
real(大学WiFi)
time bun run console.time time bun run console.time time bun run console.time
login -> timetable 0.2s
86.47ms
1.897s

License

todo.

About

awesome UNIPA nodejs library📚

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published