Skip to main content

Cisco Support APIs allow Cisco Partner Support Services (PSS) partners and Cisco Smart Net Total Care (SNTC) customers to programmatically access and consume Cisco Support data in the cloud in a simple, secure, and scalable manner.

Project description

Python API wrapper for the Cisco Support APIs.

devnet docs tests coverage pypi


The ciscosupportsdk supports all of the Cisco Support API interactions via a native Python library. This makes working with these APIs a more natural experience and eases the burden of writing your own boilerplate code to deal with API semantics, like authentication and pagination.

For detailed information and onboarding information, see the support api documentation on DevNet.

Quick Usage

from ciscosupportsdk.api import CiscoSupportAPI

api = CiscoSupportAPI(CS_API_KEY, CS_API_SECRET)

# find if a serial number is covered and when it's warranty expires
for item in api.serial_information.get_coverage_status(['FXS2130Q286']):
   print(f'{item.is_covered} {item.warranty_end_date}')

Features

  • Represents all of the Cisco Support API interactions in native python
    • Authentication and connection management

    • All APIs organized hierarchically as attributes and methods under the main API object

    • Returned data objects are all native python objects

  • Pagination is automatic and transparent

  • API documentation will appear in your IDE to ease development

Installation

Installing and upgrading the ciscosupportsdk is easy with pip

pip install ciscosupportsdk
# or to upgrade use...
pip install ciscosupportsdk --upgrade

If you want to setup a development environment, use poetry instead:

# Install poetry using pipx
python -m pip install pipx
python -m pipx ensurepath
pipx install poetry

# Clone repository
git clone https://github.com/supermanny81/ciscosupportsdk.git
cd ciscosupportsdk/

# Install dependencies
poetry install

Examples

Looking for some sample usage? Check out the examples folder!

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

ciscosupportsdk-0.2.2.tar.gz (18.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ciscosupportsdk-0.2.2-py3-none-any.whl (26.1 kB view details)

Uploaded Python 3

File details

Details for the file ciscosupportsdk-0.2.2.tar.gz.

File metadata

  • Download URL: ciscosupportsdk-0.2.2.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.15 Linux/6.17.0-1020-azure

File hashes

Hashes for ciscosupportsdk-0.2.2.tar.gz
Algorithm Hash digest
SHA256 eb24defe9695523924be7050f2870fc8b2b640cca5e8087516f364bb608b9ae7
MD5 974b8c0800a5dc135e3c7805643b22f6
BLAKE2b-256 9ba87733c1d4942b5a2c7f21713e4d315388de92387676eed2b25d54de12e2d2

See more details on using hashes here.

File details

Details for the file ciscosupportsdk-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: ciscosupportsdk-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 26.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.11.15 Linux/6.17.0-1020-azure

File hashes

Hashes for ciscosupportsdk-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4721756283fb0c1eb0bfcfb25713e4afc99111b97fb123db54184fc73863132
MD5 169a5b95210b4726031bb943fb42b3d5
BLAKE2b-256 4949e0e25897a10823090da1ffa5a83d2ab9e6ad1ebe17d0eecd3ea43f36799f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page