Asynchronous API wrapper for CHSU schedule API
Project description
CHSUScheduleAPI
Asynchronous API wrapper for CHSU schedule API
Covered methods
- Auth (validate token and sign in)
- Building (get building list)
- StudentGroup (get all the student groups)
- Department (get list of departments and cathedras)
- Auditorium (get auditorium list)
- TimeTable (get number of academic week / get schedule for lecturer / group / full)
- Discipline (get list of discipline)
- Teacher (get list of lecturers)
Example
import asyncio
from chsu_schedule_api import CHSUApi
client = CHSUApi(username="USERNAME", password="PASSWORD")
async def main() -> None:
await client.auth_signin()
buildings = await client.get_buildings()
print(buildings)
if __name__ == "__main__":
asyncio.run(main())
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for chsu_schedule_api-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451d422a50a2967de4533363fab2ea94c79ece18d271a009668c3483bcd6cfd8 |
|
MD5 | 01824af96557abed0fa0887ffe7815ac |
|
BLAKE2b-256 | e107a84c0afcc59863dc660bcc13ab678ccf8c0a77d93bf25e8e34c9f87c43e1 |