Using app-services-sdk-python with redhat.local

Python integration

✓ Official SDK
Install
pip install app-services-sdk-python
Quick start
import app-services-sdk-python

# Set your API key
client = app_services_sdk_python.Client(api_key="YOUR_API_KEY")
Show me all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/systems
Show me all installed packages across my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/packages/
Show me all applicable advisories for all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/advisories
SDK on GitHub 📄 API Docs
SDK
app-services-sdk-python
Python
API
redhat.local
redhat.local:patchman-engine
At a glance
Language Python
Endpoints21
Base URLhttp://redhat.local
✓ Official