Metadata-Version: 2.1
Name: unifipy
Version: 1.0.4
Summary: Unifi Python API
Home-page: https://github.com/fronbasal/unifipy
Author: Daniel Malik
Author-email: mail@fronbasal.de
License: MIT License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests

# Unifi Python Voucher API
![PyPI](https://img.shields.io/pypi/v/unifipy)
![PyPI - License](https://img.shields.io/pypi/l/unifipy)

This API contains a Unifi API wrapper specifically for creating vouchers programmatically.

## Usage

```python
from unifi import unifi
api = Unifi("foo", "bar", "http://unifi.local")
```

```python
vouchers = api.generate_voucher(expire=42, usages=23)
for voucher in vouchers:
    print(voucher["code"])
```


