shell - Call Google Spreadsheet by bash -


i call private google spreadsheet bash/shell. don't want edit or something, read , put content on stand-output... possible? found way, can call published projects google drive, doesn't fit, have confidential data in spreadsheet!

also haven't find easy use api solution 1 simple thing.

thanks!

yes it's possible.

your script need 3 things, each curl:-

  1. use saved refresh token request access token
  2. use access token fetch spreadsheet's file resource (json)
    • parse json extract exportlinks object, , choose format (eg. csv) want download
  3. get exportlink

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -