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 Python 3

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