コンテンツにスキップ

Get site 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))