Using astro-sdk with apache.org

Python integration

Install
pip install astro-sdk
Quick start
import astro-sdk

client = astro_sdk.Client("YOUR_API_KEY")
List DAGs
curl \
  -u "$API_USER:$API_PASS" \
  https://apache.local/dags
List pools
curl \
  -u "$API_USER:$API_PASS" \
  https://apache.local/pools
List roles
curl \
  -u "$API_USER:$API_PASS" \
  https://apache.local/roles
SDK on GitHub 📄 API Docs
SDK
astro-sdk
Python
API
apache.org
apache.org
At a glance
Language Python
Endpoints73
Base URLhttps://apache.local