Using the google drive API to download a spreadsheet in csv format

前端 未结 7 766
执笔经年
执笔经年 2020-11-30 19:10

I\'m sorry if this is an obvious question, I\'m still pretty new to the API. I\'m using the python drive api library, and trying to download a google spreadsheet as a csv.

7条回答
  •  萌比男神i
    2020-11-30 19:57

    The exportLinks collection doesn't expose the CSV format as this will only export the first worksheet of a spreadsheet. If retrieving the first worksheet as a CSV is the behavior you are looking for, you can build the link manually and set the ?exportFormat= query parameter to ?exportFormat=csv.

提交回复
热议问题