Using ucsmsdk with cisco.com

Python integration

Install

pip install ucsmsdk

Quick start

import ucsmsdk

# Use an OAuth2 access token
client = ucsmsdk.Client(access_token="YOUR_ACCESS_TOKEN")
Used to obtain all advisories that affects the given ios version
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /security/advisories/ios
Used to obtain all advisories that affects the given ios version
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /security/advisories/iosxe
Used to obtain all advisories in Common Vulnerability Reporting Format (CVRF)…
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  /security/advisories/cvrf/all
SDK on GitHub 📄 API Docs
SDK
ucsmsdk
Python
API
cisco.com
cisco.com

At a glance

Language Python
Endpoints19