In this package you will find functions to deal with google apis. Sheets, Drive, Storage and Slides
Some functions to make Google APIs more usable.
- Get pandas.dataframe from Sheets
- Upload pandas.dataframe to Sheets
- Retrieve sheet names
- Create presentation
- Get presentation info
- Get presentation slides
- Get slide notes
- Replace text
- Replace shape with image
- Replace image
- Get slide notes
- Batch replace text
- Batch replace shapes with images
- Insert image
- Duplicate object
- Delete object
- Batch delete object
- Delete text
- Batch delete text
- Delete presentation notes
- Transform object
- Get file name
- Move file
- Delete file
- Copy file
- Upload image
- Create folder
- List folders in folder
- Get folder id by name
- Get folder id by path
- Download file
'''pip install google-api-support'''
You might need to install manually:
'''pip install google-api-python-client httplib2 oauth2client pandas'''
Steps to use google Sheets API
In order to use Google APIs you will need to authenticate, this steps guide you through the process:
- Create a project in console.developers.google.com
Create google service account. 0. Go to https://console.developers.google.com/projectselector/apis/credentials and create a new project.
- In this first version, i will explain how to deal with Services accounts, so select "Service account key".
Create a service account.
- Download the .json file and KEEP IT SAFE.
Now you have your service account created inside your new project.
Copy your "user id" in "Manage service accounts" to use it later.
- It looks like this one: "email@example.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".
Save credentials file inside the project:
Create a folder named
.Credentials and store newly downloaded credentials renaming them with
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for google_api_support-0.0.6-py3-none-any.whl