gosh2json

command module
v0.0.0-...-dee6881 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2016 License: MIT Imports: 11 Imported by: 0

README

gosh2json

Google Spreadsheet to JSON converter written in Go.

Project Status Go Report Card License

gosh2json is a simple tool that converts the content of a Google Spreadsheet into a JSON object.

Usage

Usage of gosh2json:
  -c string
        path to JSON config file
  -i string
        spreadsheet ID
  -p    pretty print JSON

Example

$ gosh2json -i 34ZfqfhHiynWxs2TT6ocpX4tm7D3T1nkI2rRL3sgZkPM -c client.json -p
{
  "Sheet1": [
    [
      "Date",
      "Name",
      "Title",
      "Website",
    ],
    [
      "Jan 19",
      "Tom Johnson",
      "Life Groups Pastor",
      "example.org"
    ],
    [
      "Jan 26",
      "Russ Whitehead",
      "Pastor",
      "example.org"
    ],
    [
      "Feb 2",
      "Juan Juarez",
      "Missions Director",
      "www.example.edu"
    ]
  ]
}

License

gosh2jon is licensed under the MIT license. See LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL