4

I want to get comments from Google Docs using the Google Drive API. Does anyone know if the Google Drive API (or other Google Apps Application APIs) supports retrieve commenting?

Thanks.

1

2 Answers 2

0

Comments are not available via the API yet, but this is a common feature request that we are already evaluating. Stay tuned for updates soon.

Sign up to request clarification or add additional context in comments.

3 Comments

Possible using python interface. For example, using the printcomments function of this python script I found over on github: github.com/peterartman/GoogleDocCommentCollector/blob/…
it boggles my mind why you didn't just make everything API first
0

Comments are included for documents via download as text (using the DocumentsList API), although it may be difficult to distinguish comments from the regular text.

Comments for spreadsheets are included when the item is downloaded as html (again, using the DocumentsList API), but not included when downloaded in other formats.

Comments for presentations, drawings, and non-Google types are not readily available.

UPDATE

As noted by zengr, as of late 2018, comments have been added to the API.

4 Comments

is this available yet?
I've not seen it, but I haven't worked with the Drive API for a while.
was trying to build a chrome extension whenever user clicks "resolve comment" button, copy all comments to doc and then resolve it. as of now when user resolves all comments are gone and not easily searchable with current UI.
If you're doing an extension, then you could add a JS hook to the "resolve" button, and then use the API to save the resolved comments as property metadata or some other invisible document section.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.