python - Wrong format in Drive API when exporting spreadsheet as CSV -
i glad see drive api supports exporting spreadsheets csv files, , seems work fine. however, not work docs. i'm using exact same code 2 different docs , 1 of them returned in proper csv format. other 1 returned in xlsx format, though format specified csv.
here's code used:
export_url = "https://docs.google.com/spreadsheets/exportid=%s&exportformat=csv" % key _response, content = self.drive_api._http.request(export_url)
also verified exportlink doc, , lists csv format , exact same url above. still, it's returning in xlsx format.
has noticed this? bug in api, or doing wrong?
thanks, anders
yes there bug in google spreadsheet api yesterday. google instantly took account , fixed till evening. developers experiencing 500 , 403's.
hope issue resolved @ end too.
Comments
Post a Comment