Library for working with the nz.ua service
pip install nz-ua
Or use the version from github:
pip install git+https://github.com/GoldMasterPro/nz-ua
import nz
import asyncio
USER_NAME = "your username"
PASSWORD = "your password"
async def main():
async with nz.Client() as client:
await client.login(USER_NAME, PASSWORD)
schedule = await client.get_schedule()
print(schedule.dict())
if __name__ == "__main__":
asyncio.run(main())