Metadata-Version: 2.1
Name: nz-ua
Version: 2.0.0
Summary: Library for working with the nz.ua service
Home-page: https://github.com/GoldMasterPro/nz-ua
Author: GoldMasterPro
License: MIT
Project-URL: Documentation, https://GoldMasterPro.github.io/nz-ua
Keywords: nz,nz-ua,nz.ua,async,api,python,python3,python3.11
Requires-Python: >=3.10.0
Description-Content-Type: text/markdown
License-File: LICENSE

nz-ua
==========

![PyPI](https://img.shields.io/pypi/v/nz-ua?style=for-the-badge)

Library for working with the nz.ua service

Requirements
----------

* Python 3.10+
* [Aiohttp](https://github.com/aio-libs/aiohttp) for making requests to nz.ua api.
* [Pydantic](https://github.com/pydantic/pydantic) for data validation.

Installing
----------

```console
pip install nz-ua
```
Or use the version from github:
```console
pip install git+https://github.com/GoldMasterPro/nz-ua
```

Quick usage
----------

```python
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
------

- [Documentation](https://GoldMasterPro.github.io/nz-ua)
- [Pypi](https://test.pypi.org/project/nz-ua/)
