简体   繁体   中英

How can I post some data from google app script to my python script on the local machine?

I have a google spreadsheet and a google app script which allows me to get the user selected values on the sheet. I need to know a way which helps me to send me this user selection to my python script on the local machine so that I query my data storage file and return back the updated values to the google sheet.

  1. I have tried using python quickstart but this doesnt let me get the data selected by the user on the spreadsheet.

  2. I have tried to use Socket.io to establish a connection between google script and flask server but havent been successful at it.

Any pointers would be greatly appreciated.

您可以捕获所选信息并将其存储在文件中,然后Google Drive Sync会将其复制到本地驱动器,您可以在其中使用Python打开它。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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