Skip to main content

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

Metadata

Release files for piapi 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for piapi 0.1.5
File Size Uploaded
piapi-0.1.5.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for piapi 0.1.5
File Interpreter ABI Platform
piapi-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 18.6 kB

Release files / piapi-0.1.5.tar.gz

Download URL piapi-0.1.5.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2053547db8a3464bda2829642ef3291eada7777c1f95037cae9ad903cca85e5e
BLAKE2b-256 checksum
How to use checksums
8273165340338890b0928cf2e447175d7510a67d70bef86cdfa146c09ff83fcb
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / piapi-0.1.5-py3-none-any.whl

Download URL piapi-0.1.5-py3-none-any.whl
Size 10.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a342e79f096ef0151599a7f23396ed50fbe4f950b698697599a7fe34078c4f70
BLAKE2b-256 checksum
How to use checksums
d28cd8b79a6c581f77a9acb58cf9284749502f971cf8448fca2b35f0e8f5fb1c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page