Skip to main content

Ubiquiti Unifi REST API Client.

Project description

# unifi_client

Install it via

```bash

pip install unifi_client

```

## Usage

```python

from unifi_client import AirMaxAPIClient

unifi = AirMaxAPIClient(
url="https://air.max.example.com",
username="username",
password="password",
verify=False,
proxy="socks5h://localhost:5050"
)

unifi.login() # Login to device

unifi.statistics() # Get all the statistics from device

unifi.logout() # Logout from device
```

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

unifi_client-0.0.1.2.tar.gz (3.2 kB view hashes)

Uploaded source

Built Distribution

unifi_client-0.0.1.2-py3-none-any.whl (3.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page