Using oauth2 and your google credentials this script will allow you to download a CSV of any table/spreadsheet that you own to your local computer