Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

googlesheetcomment

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googlesheetcomment

Append data to a Google Sheet.

  • 1.7.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
134
decreased by-82.16%
Maintainers
1
Weekly downloads
 
Created
Source

Google Sheet Helper

Brought to you by The Times Tooling team  🛠

Overview

A simple tool to append data to a Google Sheet. This tool also handles the authentication required to interact Google Sheets.

Installation

Before you can use the tool you will need to ensure that you have access to the following S3 bucket within The Times Dev account:

release-google-sheet-helper

Use

Generate a new access token

gsh refresh-token: This command will help you generate a new access token required to access the desired spreadsheet. Note the command must be run by someone with Read/Write access to the spreadsheet. This command should only be run by the Tools Team.

gsh set-sheet-location: This command will set the sheet location. The sheet will then be used by the 'update-sheet' command. This command should only be run by the Tools Team.

set-api-credentials: This command will set the Google API credentials required to use the spreadsheet API. This command should only be run by the Tools Team.

gsh update-sheet [options]: This command will update the sheet with the content provided in options. E.g. 'gsh update-sheet "this,is,a,test".

Exit Codes

Code 1: Unknown error occurred

Code 2: Invalid credentials

Code 3: Invalid request has been made. This could be the spreadsheet id, document id or content.

Code 4: Credentials stored on the bucket are not valid for this document. Share the document with the user account.

Code 5: Invalid user input provided.

Code 6: Failed to upload the sheet configuration.

Code 7: Failed to update the API credentials.

Development

yarn to get the dependencies

yarn build to build the project (must be done when making changes)

npm link to create the symbolic link for running the binary from your terminal e.g. ohSheet -v

Test

yarn test to run all tests

FAQs

Package last updated on 07 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc