如何在Go中使用Google Spreadsheet API?

huangapple go评论82阅读模式
英文:

How can I use Google Spreadsheet API from Go?

问题

我需要能够读写电子表格中的数据。我正在使用Go语言在Google App Engine中进行编程。

英文:

I need to be able to read and write data to a spreadsheet. I am programming in the Go Language in Google App Engine.

答案1

得分: 3

自从提出和回答这个问题以来,已经过去了很长时间。现在,使用golang与Google Sheets的交互要好得多。

目前,“Google Apps Script Execution API”提供了最广泛的访问权限。在这里开始:https://developers.google.com/apps-script/guides/rest/quickstart/go

英文:

A lot of time has passed since this question was asked and answered. Interaction with Google Sheets from golang is much better now.

Currently the "Google Apps Script Execution API" offers the broadest access. Get started here: https://developers.google.com/apps-script/guides/rest/quickstart/go

答案2

得分: 2

很不幸,Go语言没有支持的GData客户端库。有一个名为gdata-go-client的项目在Google Code上,但是它对于文档的支持尚未实现3。这个功能需要从另一个现有的客户端库进行移植,例如Java或者.NET

英文:

Unfortunately there is not a supported GData client library for Go. There is a project called gdata-go-client on Google Code, but its support for Docs is unimplemented. That functionality would need to be ported from another existing client library, e.g. from Java or .NET.

huangapple
  • 本文由 发表于 2012年8月3日 10:47:31
  • 转载请务必保留本文链接:https://go.coder-hub.com/11788562.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定