Skip to content

Latest commit

 

History

History
58 lines (43 loc) · 962 Bytes

README.md

File metadata and controls

58 lines (43 loc) · 962 Bytes

SheetDB GO Client

The Unoficial SheetDB client written in go

Documentation

For the API documentation, check SheetDB API Docs.

Installation

Install sheetDB go with

go get -u github.com/rslhdyt/sheetdb-go

Import using

import (
    "github.com/rslhdyt/sheetdb-go"
    "github.com/rslhdyt/sheetdb-go/client"
)

Usage

Create a client

package main

import (
    "github.com/rslhdyt/sheetdb-go"
    "github.com/rslhdyt/sheetdb-go/client"
)

func main() {
    ...

    // Basic setup
    sheetDB := client.New(sheetDBUsername, sheetDBPassword, sheetDBDocumentId)

    // Set params
    getContentParams := sheetdb.GetContentParams{}

    contents, err := sheetDB.Read.GetContent(&getContentParams)

    ...
}

Examples

For more examples, please check example directory.

Todo

  • Read
  • Search
  • Create
  • Update
  • Delete
  • Unit Test