Skip to content

Instantly share code, notes, and snippets.

@fraszczakszymon
Created November 23, 2017 14:21
Show Gist options
  • Save fraszczakszymon/24698fd816b85a6d635b81c724a9e8a5 to your computer and use it in GitHub Desktop.
Save fraszczakszymon/24698fd816b85a6d635b81c724a9e8a5 to your computer and use it in GitHub Desktop.
Export all Qubole commands to JSON file
export QUBOLE_AUTH_TOKEN="your auth token goes here";
curl -X GET -H "X-AUTH-TOKEN:$QUBOLE_AUTH_TOKEN" -H "Content-Type:application/json" -H "Accepts:application/json" "https://api.qubole.com/api/v1.2/commands?per_page=10000" > qubole_commands.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment