Metadata-Version: 2.1
Name: arubaos-client
Version: 0.1.2.1
Summary: Aruba OS REST API Client.
Home-page: https://github.com/Selfnet/arubaos_client
Author: Marcel Fest
Author-email: marcelf@selfnet.de
License: MIT
Keywords: metric prometheus airhead aruba mobility access controller os arubaos
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Dist: requests
Requires-Dist: pytimeparse
Provides-Extra: dev
Requires-Dist: pylint; extra == 'dev'
Requires-Dist: autopep8; extra == 'dev'
Requires-Dist: pep8; extra == 'dev'
Requires-Dist: PySocks; extra == 'dev'
Provides-Extra: socks
Requires-Dist: PySocks; extra == 'socks'

# arubaos_client

Install it via

```bash

pip install arubaos_client

```

## Usage

```python

from arubaos_client import MobilityControllerAPIClient

aruba = MobilityControllerAPIClient(
        username='',
        password='',
        url='https://aruba-ac.example.com:4343',
        proxy="socks5h://localhost:5050",
        verify=False
    )

# Login to the device
aruba.login()

# Logout
aruba.logout()

# Get a List of APs
aruba.aps()

# Get amount of 2g clients
aruba.clients(band='2g')
aruba.clients_2g()

# Get amount of 5g clients
aruba.clients(band='5g')
aruba.clients_5g()

# Get AP by its MAC address
aruba.ap_by_mac("00:00:00:00:00:00")

# Get AP by its name
aruba.ap('ap_name')

# Get CPU load
aruba.cpu_load()

# Get Memory usage
aruba.memory_usage()

```

