Easy Google Docs¶
Quick Start¶
Install with:
pip install easy-google-docs
Import with:
from easygoogledocs import GoogleAPI
Authorize with either web-browser-based authentication:
from easygoogledocs import AUTH_TYPE_BROWSER
api = GoogleAPI(credentials_file='oauth_credentials.json')
api.authorize(authentication_type=AUTH_TYPE_BROWSER)
Or authorize with a service account:
from easygoogledocs import AUTH_TYPE_SERVICE_ACCOUNT
api = GoogleAPI(credentials_file='service_account_credentials.json')
api.authorize(authentication_type=AUTH_TYPE_SERVICE_ACCOUNT)