Skip to main content
100%

Import CartoDB file with cURL (Mac version)

✓ Published0🌍 Public
Aandrewxhill
Last edited Jun 28, 2013
Created on Jun 28, 2013

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.

AI-generated description

Similar vizzes