import gspread

# OAuth2Credentials must be an object with a valid access_token attribute,
# such as one created with the oauth2client library: