I need to find the location index of all the Characters present in Google document and the time at which the characters were inserted in the document (docs.google.com with doc id)
Please help me finding the Google API for the same.
I am trying the following way today - Every time you type some character in google docs it raises the following call to google itself-
/save?id=1iz2wfUhHEI8rUq3j2U3GdCtUNjg9zWbGaCmTIrUATNg&sid=3f66d339b8644b95&vc=1&c=1&w=1&flr=0&smv=8&token=AC4w5VgG1zJmVE7TEMTnRVyJWSr83I-VJw%3A1588917639984&includes_info_params=true
In header we have following "bundles" tag - bundles: [{"commands":[{"ty":"is","ibi":3,"s":"is"}],"sid":"3f66d339b8644b95","reqId":1}]
So in bundles "S" is the string you typed (I typed "is") "ibi" is index of the character where it is inserted in the google docs
I keep building the index map for the entire character in the doc, so looking for some clean solution where i can ask all the index of character in a google document and the time when it was inserted...
Found a nearby approach using.. https://docs.google.com/document/d//revisions/load?id=&start=1&end=29
Gives initial timestamp and index
start = start rev end = end minor rev