Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

Latest commit

 

History

History
19 lines (14 loc) · 454 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 454 Bytes

GimSisAPI

An asynchronous unofficial API for GimSisExt2016, written in Python.

Usage

import os
import asyncio

from gimsisapi import GimSisAPI, make_markdown_table

gimsis = GimSisAPI(os.environ.get("GIMSIS_USERNAME"), os.environ.get("GIMSIS_PASSWORD"))

async def main():
    classes, days = await gimsis.fetch_timetable()
    print(make_markdown_table(classes, days))
    print(gimsis.fetch_timetable("12 09 2022"))

asyncio.run(main())