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
```
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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for unifi_client-0.0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7da404ad0c8b90c3e654ad08f1760a152189230f6a7ae43e3417efdee891f600 |
|
MD5 | df84d293e17bb0daf281ffc13023fd1a |
|
BLAKE2b-256 | f0cbe23a467a6453fd574fa377fe48de4fbfc8066734281cb31eb61b3e37c486 |