Anvil has built-in functionality to integrate your apps with Google services.
The Quickstart shows you how to upload a file to Google Drive from your app’s User Interface.
Here’s what else you can do:
You can create, view, edit and delete files in Google Drive - these can be your own files, or you can use your users’ files (after displaying a permissions dialog).
Anvil’s Google Drive integration has a Python API for reading and editing Google Sheets that works in a similar way to Data tables. This is a good alternative data store, and it’s useful to be able to import data from spreadsheets or export data to spreadsheets.
Sending emails with GMail
You can automate sending of emails using GMail (although check whether the Email Service suits your needs first as it allows larger volumes of mail.)
Using Google REST APIs
There are also convenient ways to get and refresh Google REST API access tokens. In combination with Anvil’s HTTP module, this makes it easy to integrate your Anvil app with any Google APIs. In our code example, we show you how to get emails from the logged-in user’s GMail inbox.