{"version":"1.0","type":"rich","title":"Basic Python API request","description":"This example demonstrates a basic HTTP request to a remote API, retrieving JSON data and checking the response status. It uses Python’s `requests` library to send a GET request to `https://www.something.com`, passing custom headers with a token and query parameters. The code calls `response.json()` to parse the returned payload and accesses `response.status_code` to verify the request’s success. The data source is the external endpoint, and the rendering approach is absent, as the snippet focuses solely on the request lifecycle.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-80a1a3ef008095ce9b8b7c0efca6e2d6?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}