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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.