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.4.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: piapi-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 2ec87203b188e6c2c3911680f7fb464e87fb4dd8fd731ecdf00c40049d527bf0
MD5 0fc476100179477d31bde7d41193f69f
BLAKE2b-256 916a86f2ff310d38e36b112254d00906a4003563d4d7956c14bbca862e0f5075

See more details on using hashes here.

File details

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

File metadata

  • Download URL: piapi-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 63ba3d78da55f2587935173d042ffa6e7be2ddddc2a616e9539b299083a40817
MD5 ec32183e6b1831592e554b8b2e37b727
BLAKE2b-256 6a6f4f7fd079c08dcd71b229a734450bc1b78e8f18c2e2914153e2c1e0588bda

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