https://github.com/martincastroalvarez/python-google-spreadsheets
Python integration with Google Spreadsheets.
https://github.com/martincastroalvarez/python-google-spreadsheets
cli google-spreadsheet-api python3
Last synced: 22 days ago
JSON representation
Python integration with Google Spreadsheets.
- Host: GitHub
- URL: https://github.com/martincastroalvarez/python-google-spreadsheets
- Owner: MartinCastroAlvarez
- Created: 2019-04-16T19:51:48.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T04:59:32.000Z (over 2 years ago)
- Last Synced: 2025-04-08T22:25:57.439Z (3 months ago)
- Topics: cli, google-spreadsheet-api, python3
- Language: Python
- Homepage: https://martincastroalvarez.com
- Size: 585 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Wolverine
Google Spreadsheets CLI integration.
### Setup your config
Update `$HOME/.wolverine` with the following:
```
{
"ampush": {
"private_key_id": "###",
"private_key": "###",
"client_email": "###",
"client_id": "###",
"type": "service_account"
}
}
```
### Uploading a CSV to Google Sheets:
```
python3 wolverine.py upload --profile ampush --spreadsheet-id 1t90q05AOBAiO2k5jegM0F4WSO8kMvaPzQsSSsF3HtPw --worksheet-name "Sheet13" --file-path "/opt/ampush/payments/tmp/dataloss/results.csv"
```### Iterate over all rows.
```
python3 wolverine.py details --profile ampush --spreadsheet-id 1t90q05AOBAiO2k5jegM0F4WSO8kMvaPzQsSSsF3HtPw --worksheet-name "Sheet13"
```