Ga naar inhoud

Projectdatabundle ophalen

Begin vanuit het scriptconfiguratie-blok en voeg vervolgens de onderstaande fragmentcode toe.

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