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.0.tar.gz (6.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: nz-ua-2.0.0.tar.gz
  • Upload date:
  • Size: 6.7 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.0.tar.gz
Algorithm Hash digest
SHA256 14b1403ca2c483b02f68990816e9612b3e6c994051ad49cf160099921aaa7e74
MD5 b2f38bada7c41edbcb379d4a66873c41
BLAKE2b-256 d09c1ab9e3424c63dc9130fcb59c476500da0247567486d47a86da5dc3abda10

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