Some functions to make Google APIs more usable.
pip install google-api-support
The contributions are encouraged so the library can keep growing and help more people.
You can also create an issue in order to point other contributors to desired functionalities.
Sheets
Slides
Drive
Storage
In order to use Google APIs you will need to authenticate, this steps guide you through the process:
https://console.developers.google.com
Create google service account.
Go to https://console.developers.google.com/projectselector/apis/credentials and create a new project.
Create credentials.
Create a service account.
Now you have your service account created inside your new project.
Copy your "user id" in "Manage service accounts" to use it later.
first-service-account@example-id-175820.iam.gserviceaccount.com
Go to your dashboard screen and go to "ENABLE APIS AND SERVICES" to "unlock" the desired API calls. In our example, we will just enable "Google sheets API".
pip install httplib2 oauth2client pandas google-api-python-client google.auth.transport.requests google.oauth2.credentials google_auth_oauthlib.flow
virtualenv venv
pip install google-api-support
pip install jupyterlab
source venv/Scripts/activate
export GOOGLE_APPLICATION_CREDENTIALS=C:/path/to/my/service_account_credentials.json
jupyter lab
virtualenv venv
pip install .
pip install jupyterlab
source venv/Scripts/activate
export GOOGLE_APPLICATION_CREDENTIALS=C:/path/to/my/service_account_credentials.json
jupyter lab