Skip to content

Latest commit

 

History

History
67 lines (47 loc) · 2.92 KB

google-apis-usage.md

File metadata and controls

67 lines (47 loc) · 2.92 KB

Google APIs

Authentication

We should have a credentials.json file to use for the authentication process. You could obtain your credentials using google developer console

Using the same credentials you could specify all scopes you need, e.g:

- 'https://www.googleapis.com/auth/drive'
- 'https://www.googleapis.com/auth/script.projects'
- 'https://www.googleapis.com/auth/gmail.readonly'
- 'https://www.googleapis.com/auth/documents.readonly'
- 'https://www.googleapis.com/auth/spreadsheets.readonly'

As we did it in this examples/google-api-client/auth.py. Note that we are using python for this but you could try other programming languages

google drive

google sheets

gmail

google docs

app scrips

General things

A shareable URL of a Google Form is of the form

https://docs.google.com/forms/d/{ID}/viewform

where id is the ID associated with the file containing the form. We can obtain that id via API.