Skip to main content

Aruba Instant On client

Project description

ion-client

Tests PyPI

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


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)

Uploaded Source

Built Distribution

ion_client-1.0.0-py3-none-any.whl (4.5 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