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/

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

Uploaded Source

Built Distribution

piapi-0.1.3-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: piapi-0.1.3.tar.gz
  • Upload date:
  • Size: 7.5 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.3.tar.gz
Algorithm Hash digest
SHA256 9a55e7e1314fa90b66a450ff175e001eb32a856d3cbe671f7eb06f9c284f5784
MD5 347ebd76300cc52d134db7924ab778f7
BLAKE2b-256 e03e1c1de5a0380a330b2472920386be60058333c67de4435726d626631ec390

See more details on using hashes here.

File details

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

File metadata

  • Download URL: piapi-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 10.6 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c0e7a33c878df9a2044112cbf15b3f9c8b622660c905244df0bfb56b12220879
MD5 7b88a5ee895c27b3acb998a47fc5f67e
BLAKE2b-256 338bfdc1f107791d350fc86047264aae3e6b88d4d2361ec04bca79a5c5906ecb

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