How to programmatically create a Google Docs spreadsheet WITH CONTENT?

后端 未结 3 2044
小蘑菇
小蘑菇 2021-01-05 04:19

I have found multiple StackOverflow questions dealing with how to create or edit Google Doc spreadsheets using the Google Spreadsheets API, or older API\'s. However, this S

3条回答
  •  有刺的猬
    2021-01-05 04:48

    Answer in bullet form ...

    • It's only the old docslist API which is deprecated. The spreadsheet API is still alive and kicking since there is no replacement
    • The gdata libs are possibly no longer supported, but you will probably be better served using the spreadsheet API directly anyway
    • The Drive API is only concerned with operations at the whole file level
    • You could create a populated spreadsheet using the Drive API by uploading a file in a format that can be converted to a Google Spreadsheet, eg. MS Excel
    • Be aware that the spreadsheet API (and possibly the Drive API) do not yet support the new (end 2013) spreadsheet format

提交回复
热议问题