Here's your doc:
Get the document_id
, after d/
and before the /edit
. Append it to the end of:
$ curl -L 'https://docs.google.com/spreadsheets/d/document_id/export?exportFormat=csv'
And you're good to go. -O file_name.csv
to save it somewhere!