gsmsheets

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Overview

Package gsmsheets provides functions to utilize the Google Sheets API Copyright © 2020 Hannes Hayashi

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Package gsmsheets provides functions to utilize the Google Sheets API Copyright © 2020 Hannes Hayashi

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchUpdateSpreadsheet

func BatchUpdateSpreadsheet(spreadsheetID, fields string, batchUpdateSpreadsheetRequest *sheets.BatchUpdateSpreadsheetRequest) (*sheets.BatchUpdateSpreadsheetResponse, error)

BatchUpdateSpreadsheet applies one or more updates to a spreadsheet.

func CreateSpreadsheet

func CreateSpreadsheet(spreadsheet *sheets.Spreadsheet, fields string) (*sheets.Spreadsheet, error)

CreateSpreadsheet creates a spreadsheet, returning the newly created spreadsheet.

func GetSpreadsheet

func GetSpreadsheet(spreadsheetID, fields string, ranges []string, includeGridData bool) (*sheets.Spreadsheet, error)

GetSpreadsheet returns the spreadsheet at the given ID.

func GetSpreadsheetByDateFilter

func GetSpreadsheetByDateFilter(spreadsheetID, fields string, getSpreadsheetByDataFilterRequest *sheets.GetSpreadsheetByDataFilterRequest) (*sheets.Spreadsheet, error)

GetSpreadsheetByDateFilter returns the spreadsheet at the given ID.

func SetClient

func SetClient(c *http.Client)

SetClient is used to inject a *http.Client into the package

Types

This section is empty.

Jump to

Keyboard shortcuts

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