Aruba Instant On client
Project description
ion-client
Simple Aruba Instant On client. Handles re-authentication and 2FA with one-time passwords.
Installation
pip install ion-client
Usage
from ion_client import Client
# Omit `otp` to login without 2FA
client = Client("user@example.org", "password", "otp")
sites = client.json("/sites")
# {"elements": [{'kind': 'site', 'id': '...', 'name': '...', ...}]}
client.json(f"/sites/{sites[0]['id']}/clientSummary")
# {"elements": [{'kind': 'wirelessClientSummary', 'id': '...', 'name': '...', ...}]}
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
ion_client-1.0.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for ion_client-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd059d2acc8dd0aa1485797472de77a74978434086e52eb3f5e9718f90e0c5b8 |
|
MD5 | 8eec176d668fdd4da10362c112e84b22 |
|
BLAKE2b-256 | ffe6ace1682995710196db068f36e9c79b5abb42b2a96b853ad42e5258c04ad7 |