{"version":"1.0","type":"rich","title":"Get a static map from a viz.json using python","description":"This example generates a static map image from a CartoDB visualization JSON file using Python. It extracts the map’s center, bounds, zoom level, and visible layer definitions from the viz.json, then constructs a new map configuration with a dark basemap. The code uses the `requests` library to fetch the JSON and the CartoDB Maps API to create a named map, ultimately printing a URL for a static center-positioned PNG at 800x500 pixels.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-dd2d1e7e6a1a611e966089b85c77ec98?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}