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.1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for unifi_client-0.0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25fe1759033adb38d3907a712fd1a31e76ceb1c3414320cc99abd92457fc5f9c |
|
MD5 | a236ed1495f698f455d74ad1b73dbed1 |
|
BLAKE2b-256 | 43262da53d9f49515181d99b509847c0fcf997a8b4e24ea9db9179f49449bbbc |