项目作者: MartinCastroAlvarez

项目描述 :
Python integration with Google Spreadsheets.
高级语言: Python
项目地址: git://github.com/MartinCastroAlvarez/wolverine.git
创建时间: 2019-04-16T19:51:48Z
项目社区:https://github.com/MartinCastroAlvarez/wolverine

开源协议:

下载


Wolverine

Google Spreadsheets CLI integration.

alt text

Setup your config

Update $HOME/.wolverine with the following:

  1. {
  2. "ampush": {
  3. "private_key_id": "###",
  4. "private_key": "###",
  5. "client_email": "###",
  6. "client_id": "###",
  7. "type": "service_account"
  8. }
  9. }

Uploading a CSV to Google Sheets:

  1. 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.

  1. python3 wolverine.py details --profile ampush --spreadsheet-id 1t90q05AOBAiO2k5jegM0F4WSO8kMvaPzQsSSsF3HtPw --worksheet-name "Sheet13"