This blog talks about how you can use a little known Google Docs Sheets API to download spreadsheets as a CSV.