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 details)
Built Distribution
File details
Details for the file ion_client-1.0.0.tar.gz
.
File metadata
- Download URL: ion_client-1.0.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01b11a90053c827c126dafee2edb3ac95f65fcbb7ad60c0c4dd2aaa4fadec887 |
|
MD5 | 98cb18e368ab1bfcdd19672eecf3e58b |
|
BLAKE2b-256 | 2be56f4914c63233006ec8a23faf453c783b2a8e55517204a4375eaf192ab00f |
File details
Details for the file ion_client-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: ion_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd059d2acc8dd0aa1485797472de77a74978434086e52eb3f5e9718f90e0c5b8 |
|
MD5 | 8eec176d668fdd4da10362c112e84b22 |
|
BLAKE2b-256 | ffe6ace1682995710196db068f36e9c79b5abb42b2a96b853ad42e5258c04ad7 |