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 details)

Uploaded Source

Built Distribution

ion_client-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for ion_client-1.0.0.tar.gz
Algorithm Hash digest
SHA256 01b11a90053c827c126dafee2edb3ac95f65fcbb7ad60c0c4dd2aaa4fadec887
MD5 98cb18e368ab1bfcdd19672eecf3e58b
BLAKE2b-256 2be56f4914c63233006ec8a23faf453c783b2a8e55517204a4375eaf192ab00f

See more details on using hashes here.

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

Hashes for ion_client-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd059d2acc8dd0aa1485797472de77a74978434086e52eb3f5e9718f90e0c5b8
MD5 8eec176d668fdd4da10362c112e84b22
BLAKE2b-256 ffe6ace1682995710196db068f36e9c79b5abb42b2a96b853ad42e5258c04ad7

See more details on using hashes here.

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