Skip to main content

Cisco Prime Infrastructure REST API for python

Project description

piapi module stands for (Cisco) Prime Infrastructure API. The module implements the PIAPI class which helps interacting with the Cisco Prime Infrastructure REST API using simple methods that can either request data or request an action.

The Cisco Prime Infrastructure API is a REST API which exposes several resources that can be of 2 types:
  • Data resources: expose some data collected by the software which can be retrieved (e.g: client summary).

  • Service resources: expose some service that can modify the configuration of the software (e.g: modify/update an Access Point)

The REST API is applying request rate limiting to avoid server’s overloading. To bypass this limitation, especially when requesting data resources, the PIAPI uses multithreading requests (grequests library) with an hold time between chunk of requests. Please check the documentation to knowns more about rate limiting.

Also note that the piapi module only works with the JSON structure exposed by the REST API. The module doesn’t support the default XML structure.

Please check your Cisco Prime REST API available at https://{server-name}/webacs/api/v1/

test modification

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

piapi-0.1.5.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

piapi-0.1.5-py3-none-any.whl (10.7 kB view details)

Uploaded Python 3

File details

Details for the file piapi-0.1.5.tar.gz.

File metadata

  • Download URL: piapi-0.1.5.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for piapi-0.1.5.tar.gz
Algorithm Hash digest
SHA256 2053547db8a3464bda2829642ef3291eada7777c1f95037cae9ad903cca85e5e
MD5 db27d7739923b490b429b5b85af36e95
BLAKE2b-256 8273165340338890b0928cf2e447175d7510a67d70bef86cdfa146c09ff83fcb

See more details on using hashes here.

File details

Details for the file piapi-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: piapi-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for piapi-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a342e79f096ef0151599a7f23396ed50fbe4f950b698697599a7fe34078c4f70
MD5 71fd0a2a1f25fba091af8d34c48add98
BLAKE2b-256 d28cd8b79a6c581f77a9acb58cf9284749502f971cf8448fca2b35f0e8f5fb1c

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