Create and format a table using the API

I have created an add-in that reads data from a number of sources and I wish to use this data with the API to automatically produce a table.

As well as the data to be contained in the table, my data includes:

  • row count
  • column count
  • column labels
  • cell formatting

Could I accomplish this task using the DraftSight API?