https://github.com/horothesun/google-sheets-cell-update-script
Bash script for Google Sheets cell update with OAuth 2.0.
https://github.com/horothesun/google-sheets-cell-update-script
bash bash-script bash-scripting curl google-oauth2 google-sheets google-sheets-api google-sheets-api-v4 jq oauth2
Last synced: 2 months ago
JSON representation
Bash script for Google Sheets cell update with OAuth 2.0.
- Host: GitHub
- URL: https://github.com/horothesun/google-sheets-cell-update-script
- Owner: horothesun
- License: mit
- Created: 2020-12-31T01:14:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-31T01:45:39.000Z (over 4 years ago)
- Last Synced: 2025-01-04T15:30:10.350Z (4 months ago)
- Topics: bash, bash-script, bash-scripting, curl, google-oauth2, google-sheets, google-sheets-api, google-sheets-api-v4, jq, oauth2
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Google Sheets cell update script
Bash script for Google Sheets cell update with OAuth 2.0.
## Requirements
- `curl`
- `jq`
- Google APIs OAuth 2.0 Client IDs Desktop credentials with the `https://www.googleapis.com/auth/spreadsheets` _scope_
- Google Sheets private document## Setup
```bash
cp .env.example .env
```then follow the instructions printed out by the main script
```bash
./googleSheetsCellUpdate.sh
```## References
- [@LindaLawton](https://github.com/LindaLawton) original [GoogleAuthenticationCurl.sh Gist](https://gist.github.com/LindaLawton/cff75182aac5fa42930a09f58b63a309)
- Google APIs [dashboard](https://developers.google.com/oauthplayground/)
- Google Sheets API [writing sample](https://developers.google.com/sheets/api/samples/writing)
- Google Sheets API [_values update_ "Try this API" reference](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/update?apix=true)