跳转到内容

获取站点 Data Bundle

脚本设置代码块开始,然后添加下面的片段代码。

# ... script setup ...
SITE_ID = "your-site-id"
BUNDLE_ID = "your-bundle-id"
bundle = api_get(f"/v1/site/{SITE_ID}/bundles/{BUNDLE_ID}")
print(json.dumps(bundle, indent=2))