univis-api
v0.0.3
Published
javascript client for the univis api
Downloads
274
Readme
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' })