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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nz-ua-2.0.1.tar.gz.

File metadata

  • Download URL: nz-ua-2.0.1.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for nz-ua-2.0.1.tar.gz
Algorithm Hash digest
SHA256 c68878321cc49e719307da3da5f90f395bde24a06f3482f8a8591e737b1cfe99
MD5 f15c7838aa0f6cbfd5535ed2ec7411db
BLAKE2b-256 5e1412c9471e01ac3c681a47127755c091b9331362c2bcdf3674c807f7aa2268

See more details on using hashes here.

File details

Details for the file nz_ua-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: nz_ua-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for nz_ua-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8bcec14b88d88e10a7dd3926c68230bcea9995533bc968fe0141881395d9da13
MD5 226d3fd9a1d6af1191b83954ea69a7fb
BLAKE2b-256 554c1135355ff1fc8361b3fe852806eda0db460ef0637f96bb3a88d4d39e662b

See more details on using hashes here.

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