Google Visualization API data

The source data colorTable we want to load to our database is currently in a Google Spreadsheet. With scriptDB, we can access it directly. However,  to load data into parse we need to use the google visualization query API, since we are doing this from a javaScript app.

Using query API

Here's how to use the Google Viz API along with jQuery promises. Since getting the current contents of parse and this are async, we can do them at the same time - using promises to sync up when done.

async google visualization API

For more on see

For help and more information join our forumfollow the blogfollow me on twitter

You want to learn Google Apps Script?

Learning Apps Script, (and transitioning from VBA) are covered comprehensively in my my book, Going Gas - from VBA to Apps script, All formats are available from O'ReillyAmazon and all good bookshops. You can also read a preview on O'Reilly

If you prefer Video style learning I also have two courses available. also published by O'Reilly.
Google Apps Script for Developers and Google Apps Script for Beginners.