Skip to content
/ czu-lib Public

A JavaScript library for logging in and fetching schedules from Czech University of Life Sciences Prague's university information system (ČZU UIS).

License

Notifications You must be signed in to change notification settings

4k1k01/czu-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

czu-lib

A JavaScript library for logging in and fetching schedules from Czech University of Life Sciences Prague's university information system (ČZU UIS).

Installation

npm i czu-lib

Usage

const czu = require("czu-lib");

(async () => {
  const cookies = await czu.login("xname001", "p455w0rd");

  const schedule = await czu.fetchSchedule(
    cookies,
    "1.1.2024",
    "30.12.2024",
    "en" /*Language optional (default Czech)*/
  );

  console.log(schedule);
})();

Goals

  • provide quick way to get login session
  • make life easier by alowing you to get your schedule in JSON
  • easy and simple to understand

About

A JavaScript library for logging in and fetching schedules from Czech University of Life Sciences Prague's university information system (ČZU UIS).

Resources

License

Stars

Watchers

Forks