npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

zdu-student-api

v1.1.6

Published

API client for ZDU student services

Downloads

717

Readme

ZDU Student API

API для Житомирського державного університету імені Івана Франка.

Бібліотека надає програмний доступ до відкритих сервісів університету, зокрема:

  • 📅 розклад занять студентів / викладачів / аудиторій
  • 🚪 зайняті / вільні аудиторії
  • 🏫 списки аудиторій
  • 👥 списки груп
  • 👨‍🏫 списки викладачів

BETA API:

  • 🔑 Авторизація в кабінеті студента
  • 📝 Отримання анкетних данних студента
  • 📚 Отримання дисциплін студента
  • 📊 Отримання оцінок з окремого предмета
  • 👨‍💻 Клас кабінету для спрощеного керування функціями, який включає:
    • 🔐 Авторизація
    • 📂 Отримання всіх данних
    • ✅ Перевірка сесії
    • 📈 Отримання всіх оцінок з усіх дисциплін

🔮 У планах

  • стабільне API кабінету студента
  • Отримання історії оцінок з усіх предметів

⚠️ Проєкт не є офіційним API університету.


Встановлення

npm install zdu-student-api

Базове використання

Отримання розкладу

import { Schedule, scheduleErrors } from 'zdu-student-api';

const schedule = new Schedule();
schedule.group = '23Бд-СОінф';
schedule.type = 'group';
schedule.rosText = true;
schedule.allStreamComponents = true;

try {
    const sc = await schedule.getSchedule();
    console.log('Розклад:', sc);
} catch (err: any) {
    console.error(err.message);
    console.error(scheduleErrors[JSON.parse(err.message).errorcode]);
}

Розклад для аудиторії

const schedule = new Schedule();
schedule.roomId = 35;
schedule.type = 'room';
schedule.rosText = true;

const sc = await schedule.getSchedule();
console.log(sc);

Довідкові методи

Групи

import { getGroups } from 'zdu-student-api';

const groups = await getGroups('25Бд-Комп');
console.log(groups);

Викладачі

import { getTeachers } from 'zdu-student-api';

const teachers = await getTeachers('Кривонос Олександр');
console.log(teachers);

Аудиторії

import { getRooms } from 'zdu-student-api';

const rooms = await getRooms('319');
console.log(rooms);

Типи аудиторій

import { getTypesAudience } from 'zdu-student-api';

const types = await getTypesAudience('Ле');
console.log(types);

Аудиторії за корпусом / гуртожитком

import { Audience } from 'zdu-student-api';

const audience = new Audience();
audience.blockName = 'гуртож №3';

const audiences = await audience.getAudience();
console.log(audiences);

Додаткові параметри (DOPs)

import { getDops } from 'zdu-student-api';

const dops = await getDops();
console.log(dops);

Кабінет студента (WIP)

import { getSesId } from 'zdu-student-api';

const sessionId = await getSesId('LOGIN', 'PASSWORD');
console.log(sessionId);

⚠️ Функціонал у розробці


Документація

📘 API-документація (TypeDoc): https://nicita-3.github.io/zdu-student-api


Ліцензія

MIT © 2025