{"version":"1.0","type":"rich","title":"Import CartoDB file with cURL (Mac version)","description":"A shell script demonstrates how to import a file into a CartoDB account using cURL. It sends the file to CartoDB's import API endpoint, parses the returned job ID with sed, then polls the import status endpoint every two seconds until the state reports \"complete.\" The script requires the CartoDB username, API key, and filename as command-line arguments.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-5884759?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}