2021年1月2日星期六

How to create a Google Doc with regular text as the body?

I'm in the process of taking information stored in a Google Sheet and trying to neatly format it on a Google Doc. I'm using the Google Docs API here, but I'm not following how to properly use the 'body:' part of the JSON representation.

For the sake of simplicity, how would you create a new document with the title "Test" and the body just saying "Hello world!". If needed, I'm using Python 3.7.

Thanks for any help!

https://stackoverflow.com/questions/65544228/how-to-create-a-google-doc-with-regular-text-as-the-body January 03, 2021 at 05:22AM

没有评论:

发表评论