Welcome to wingpy¶
- Everyone deserves a smooth start with Cisco REST APIs, and network automation.
Wingmen domain knowledge and some of the best open source libraries were used to make wingpy
Getting Started with the API Clients¶
Find more advanced examples in the Cisco APIC Client User Guide
Explore the wingpy client API Cisco APIC Client API Reference
import wingpy
apic = wingpy.CiscoAPIC(
base_url="https://apic.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco Catalyst Center Client User Guide
Explore the wingpy client API Cisco Catalyst Center Client API Reference
import wingpy
catalyst_center = wingpy.CiscoCatalystCenter(
base_url="https://catalyst-center.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco Catalyst SD-WAN vManage Client User Guide
Explore the wingpy client API Cisco Catalyst SD-WAN vManage Client API Reference
import wingpy
vmanage = wingpy.CiscoVmanage(
base_url="https://vmanage.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco Cyber Vision Client User Guide
Explore the wingpy client API Cisco Cyber Vision Client API Reference
import wingpy
cybervision = wingpy.CiscoCyberVision(
base_url="https://cybervision.example.com/api/3.0", # (1)!
token="ics-token", # (2)!
verify=False,
)
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco FMC Client User Guide
Explore the wingpy client API Cisco FMC Client API Reference
import wingpy
fmc = wingpy.CiscoFMC(
base_url="https://fmc.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco Hyperfabric Client User Guide
Explore the wingpy client API Cisco Hyperfabric Client API Reference
import wingpy
hyperfabric = wingpy.CiscoHyperfabric(
token="eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", # (1)!
)
- Environment variable:
Find more advanced examples in the Cisco ISE Client User Guide
Explore the wingpy client API Cisco ISE Client API Reference
import wingpy
ise = wingpy.CiscoISE(
base_url="https://ise.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco Meraki Dashboard Client User Guide
Explore the wingpy client API Cisco Meraki Dashboard Client API Reference
import wingpy
merakidashboard = wingpy.CiscoMerakiDashboard(
token="eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", # (1)!
org_name="My Organization Name", # (2)!
)
-
Environment variable:
-
Environment variable:
Find more advanced examples in the Cisco Modeling Labs Client User Guide
Explore the wingpy client API Cisco Modeling Labs Client API Reference
import wingpy
cml = wingpy.CiscoModelingLabs(
base_url="https://cml.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Nautobot Client User Guide
Explore the wingpy client API Nautobot Client API Reference
import wingpy
nautobot = wingpy.Nautobot(
base_url="https://nautobot.example.com", # (1)!
token="token", # (2)!
verify=False,
)
- Environment variable:
- Environment variable:
Find more advanced examples in the NetBox Client User Guide
Explore the wingpy client API NetBox Client API Reference
import wingpy
netbox = wingpy.NetBox(
base_url="https://netbox.example.com", # (1)!
token="token", # (2)!
verify=False,
)
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco Nexus Dashboard Client User Guide
Explore the wingpy client API Cisco Nexus Dashboard Client API Reference
import wingpy
nexusdashboard = wingpy.CiscoNexusDashboard(
base_url="https://nexusdashboard.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Cisco Secure Network Analytics Client User Guide
Explore the wingpy client API Cisco Secure Network Analytics Client API Reference
import wingpy
sna = wingpy.CiscoSNA(
base_url="https://sna.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable:
Find more advanced examples in the Splunk Enterprise Client User Guide
Explore the wingpy client API Splunk Enterprise Client API Reference
from wingpy import SplunkEnterprise
splunk = SplunkEnterprise(
base_url="https://splunk.example.com", # (1)!
username="admin", # (2)!
password="password", # (3)!
verify=False,
)
- Environment variable:
- Environment variable:
- Environment variable: