The rest excel library uses cdataset to manage the data it retrieves from queries. In Excel, it is often useful to use tables. You can easily create an Excel table from any cDataSet. See How to make a table from a cdataset for details.
Here's an example of creating an Excel table from a cDataSet result
.dset.makeListObject() will take the dataset created from the rest query, and make an Excel table out of it. The result will be a formatted Excel table, that looks like this
with a name dervied from the cDataSet name - in this case 'table_freegeoip'
Services > Desktop Liberation - the definitive resource for Google Apps Script and Microsoft Office automation > excel to json and back > Rest to Excel library >