Using vsphere-automation-sdk-python with vmware.local

Python integration

✓ Official SDK
Install
pip install vsphere-automation-sdk-python
Quick start
import vsphere-automation-sdk-python

# Set your API key
client = vsphere_automation_sdk_python.Client(api_key="YOUR_API_KEY")
List nodes
curl \
  -H "Authorization: $API_KEY" \
  http://vmware.local/infra/nodes
List vms
curl \
  -H "Authorization: $API_KEY" \
  http://vmware.local/entities/vms
Show version info
curl \
  -H "Authorization: $API_KEY" \
  http://vmware.local/info/version
SDK on GitHub 📄 API Docs
SDK
vsphere-automation-sdk-python
Python
API
vmware.local
vmware.local:vrni
At a glance
Language Python
Endpoints161
Base URLhttp://vmware.local
✓ Official