| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| dist.zip | 2024-08-26 | 96.0 MB | |
| Totals: 1 Item | 96.0 MB | 0 | |
How to get API key?
A. Enable APIs for Google Sheets and Google Drive
- Go to Google Developers Console and create a new project
- Enter a name for the project. You may leave ‘Location’ as ‘No Organization’. Press Create
- Now, we will enable the Google Sheets and Google Drive APIs. To do so, click on 'Enable APIs ans services'
- Enter 'Google Sheets API' in the search bar, click on the 'Google Sheets API' option, and press 'Enable'
- Similarly, search for and enable the 'Google Drive API'
B. Create a Service Account and fetch credentials
- To create one, click on 'Create credentials'
- Select 'Google Sheets API' in the 'Select an API' section, 'Application Data' and 'No, I’m not using them' in the following questions. Click 'Next'
- Enter the display name and name for the service account
- Now we will enter the access level for the service account. Click on 'Select a Role' and select 'Editor' under the 'basic' section. Press 'Continue'
- You may leave the 'Grant users access to this service account' section as blank and now, press 'Done'
- Now click on the service account that was just created
- Go to the 'Keys' section and click on 'Add key'. Select 'Create new key'
- Select 'JSON' to download the keys in the JSON file format. Click on 'Create'
- The above file will be downloaded into your system. Do not share the keys with anyone and keep them safe!
- Choose this JSON file at the 'Upload API Json' button. Feature: you do not need to load it twice!
C. Add Service Account as an editor
- Merely add the service account as one of the editors in that sheet. You will find the Service Account email in your keys file as 'client_email'
Why does not it work?
- You may have mixed up sales and remains files
- You may have replaced API key: how can we find them without your help?
- Internet is too slow
- You may have changed the structure of files in Google Sheets
- You may have forgotten to add your Service Account as an editor
Who could you contact?
Ivan Golubev, email: g0lubew.iv@yandex.ru