Skip to main content

Library for working with the nz.ua service

Project description

nz-ua

PyPI

Library for working with the nz.ua service

Requirements

  • Python 3.10+
  • Aiohttp for making requests to nz.ua api.
  • Pydantic for data validation.

Installing

pip install nz-ua

Or use the version from github:

pip install git+https://github.com/GoldMasterPro/nz-ua

Quick usage

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())

Links

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

nz-ua-2.0.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

nz_ua-2.0.1-py3-none-any.whl (8.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page