sheets

package
v1.11.3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ScopeSpreadsheets         = "https://www.googleapis.com/auth/spreadsheets"
	ScopeSpreadsheetsReadonly = "https://www.googleapis.com/auth/spreadsheets.readonly"
)
View Source
const Domain = "sheets.googleapis.com"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(options ...sheets_config.Option) *Client

func (*Client) GetSpreadsheet

func (c *Client) GetSpreadsheet(ctx context.Context, spreadsheetId string, options ...get_spreadsheet_config.Option) (*spreadsheet.Spreadsheet, error)

GetSpreadsheet retrieves spreadsheet metadata (the sheet list and properties), not cell data.

func (*Client) GetValues

func (c *Client) GetValues(ctx context.Context, spreadsheetId string, valuesRange string, options ...get_values_config.Option) (*value_range.ValueRange, error)

GetValues retrieves a range of cell values. The range is given in A1 notation (e.g. "'Besök'!A2:E") or as a named range.

Jump to

Keyboard shortcuts

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