Append value on Google doc through API

I want to ask few questions related to google doc :- 

  1. I want to append value on multiples line on google doc.
  2. there is a table of 3*3 and I want to add data on each cell of table in google doc.

  Discussion posts and replies are publicly visible