Skip to main content

Aruba Networks AirWave API Client.

Project description

Airwaveapiclient is a utility tool for Aruba Networks AirWave users. This module connects to AirWave and gets the information such as the access point list, detail, client, etc.

https://secure.travis-ci.org/mtoshi/airwaveapiclient.svg?branch=master https://coveralls.io/repos/mtoshi/airwaveapiclient/badge.svg?branch=master&service=github Latest Version Documentation Status

Requirements

  • Python2.7, 3.4, 3.5, 3.6, PyPy.

Installation

  • PyPI or Github

    $ pip install airwaveapiclient
    
    or
    
    $ git clone https://github.com/mtoshi/airwaveapiclient
    $ cd airwaveapiclient
    $ sudo python setup.py install

Using example

  • Documentation: Readthedocs
  • Sample code: Github
  • Login

    >>> airwave = AirWaveAPIClient(username='admin',
    ...                            password='*****',
    ...                            url='https://192.168.1.1')
    >>> airwave.login()
  • Get Access Point List

    >>> res = airwave.ap_list()
    >>> res.status_code
    200
    >>> res.text # xml output
    '<?xml version="1.0" encoding="utf-8" ...'
  • Get Access Point Detail

    >>> ap_id = 1
    >>> res = airwave.ap_detail(ap_id)
    >>> res.status_code
    200
    >>> res.text # xml output
    '<?xml version="1.0" encoding="utf-8" ...'
  • Logout

    >>> airwave.logout()

See also

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

airwaveapiclient-0.1.10.tar.gz (12.8 kB view details)

Uploaded Source

File details

Details for the file airwaveapiclient-0.1.10.tar.gz.

File metadata

  • Download URL: airwaveapiclient-0.1.10.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.4

File hashes

Hashes for airwaveapiclient-0.1.10.tar.gz
Algorithm Hash digest
SHA256 47fee4243d987e78024f8d48d8327eca783f9f0c51d01d92933242d39495c308
MD5 48c5f5c08a3acaac3b797a104946054b
BLAKE2b-256 153e63fad7648bd3cb501f7f48a2ec55079f6b74552ab624498bcad3e5399d9c

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