pip install sdcclient
The repository includes a rich set of examples (in the examples subdir) that quickly address many use cases: everything from exporting metrics to creating dashboards and alerts. Here are a few one liner examples to get you started:
python resolve_alert_notifications.py <sysdig-token> <num-days-to-resolve>
python post_event.py <sysdig-token> <name> [-d DESCRIPTION] [-s SEVERITY] [-c SCOPE] [-t TAGS] [-h]
python create_sysdig_capture.py <sysdig-token> hostname capture_name duration [filter]
See the Github repo for the code and full documentation.