-
export BROWSER=google-chrome
# avoid Ubuntu error -
create new Google Sheet with #{sheet_id} in url
https://docs.google.com/spreadsheets/d/1tXj5jCVBudPdqa3IyjX0pyfZk9s6WktC9zoiS8PEWFo/edit#gid=0
-
[quickstart.py]
SAMPLE_SPREADSHEET_ID=#{sheet_id}
-
add
Hello
tab to sheet -
add random data in
Hello!A1:B2
-
[quickstart.py]
SAMPLE_RANGE_NAME=Hello!A1:B2
justin@justin-XPS-13-9360:~/work$ python quickstart.py
[['one', 'two'], ['three', 'four']]
[may be redirected via browser for auth]
- auth seems to be a different scheme than used by translate API
- eg contents of
credentials.json
seem to be different (and simpler) than those used by translate API - don't seem to need to get
GOOGLE_APPLICATION_CREDENTIALS