sheets

package
v0.0.0-...-38f9865 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package sheets provides functions to interact with Google Sheets API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SheetsService

type SheetsService struct {
	// contains filtered or unexported fields
}

SheetsService provides functions to interact with Google Sheets API

func NewSheetsService

func NewSheetsService(apiKey string) (*SheetsService, error)

NewSheetsService creates a new SheetsService

func (*SheetsService) GetSheetData

func (s *SheetsService) GetSheetData(spreadsheetID string, readRange string) ([]string, []map[string]interface{}, error)

GetSheetData retrieves data from a Google Sheet

type SheetsServiceInterface

type SheetsServiceInterface interface {
	SpreadsheetsValuesGet(spreadsheetId string, range_ string) (*sheets.ValueRange, error)
}

type SheetsServiceWrapper

type SheetsServiceWrapper struct {
	// contains filtered or unexported fields
}

func (*SheetsServiceWrapper) SpreadsheetsValuesGet

func (s *SheetsServiceWrapper) SpreadsheetsValuesGet(spreadsheetId string, range_ string) (*sheets.ValueRange, error)

Jump to

Keyboard shortcuts

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