Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 522 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 522 Bytes

UnivIS API

This package creates a wrapper for the PRG export of the univis servers. It is inspired by michigg/univis_api.

Usage

Create a UnivIS client:

import { UnivISClient } from 'univis-api'

const client = new UnivISClient({ domain: 'univis.uni-bamberg.de' })

// Get Calendar events
client.getCalendar({ start: '2023-05-03', end: '2023-05-05' }).then(console.log)

// Manual request to get all faculties
client.request('departments', { name: 'Fakultät' })