简体   繁体   English

是否可以使用JavaScript将数据写入Google表格?

[英]Is it possible to write data to google sheets using JavaScript?

I'm using the Google charts query for selecting a data from google sheets and after processing the data, I want to write or push it back into google sheets. 我正在使用Google图表查询从Google表格中选择数据,并且在处理完数据后,我想将其写入或推回Google表格中。 Is it possible to do this using JavaScript? 是否可以使用JavaScript做到这一点?

Good news: yes, you can do with JavaScript. 好消息:是的,您可以使用JavaScript。

More info: https://developers.google.com/apps-script/guides/rest/quickstart/js#prerequisites 更多信息: https : //developers.google.com/apps-script/guides/rest/quickstart/js#前提条件

Also, don't forget: with JS you can do XMLHTTPRequests , which allows you to work with a lot of API's. 另外,请不要忘记:使用JS,您可以执行XMLHTTPRequests ,它使您可以使用许多API。 :-) :-)

Have fun! 玩得开心!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM