콘텐츠로 이동

사이트 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))