python - Google Spreadsheet Secure Client Email Sharing? -
i using gspread python library write data google spreadsheet. however, google spreadsheet secure , unable share client email write data spreadsheet. there work around write data python script? unable change configuration make sharable anything.
scope: spreadsheets.google.com/feeds/ email scope not required
e.g.
scopes = ["https://spreadsheets.google.com/feeds/"]
sound oauth2 issue - suggest list oauth 2 scope settings using, think e-mail not required
i think example tend include it, don't think needed. example python, might you, include email https://github.com/eddyparkinson/gridspree
it has:
def login(force=true): next = request.args.get('next') or settings.service_url scopes = ["https://spreadsheets.google.com/feeds/", "https://www.googleapis.com/auth/plus.me", "https://www.googleapis.com/auth/userinfo.email", "https://www.googleapis.com/auth/drive.readonly"] params = { 'response_type':'code', 'access_type':'offline', 'state': next } if force: params.update(approval_prompt='force') authorization_url = get_auth_url(' '.join(scopes), **params)
Comments
Post a Comment