I would like to create an apps script in a google docs spreadsheet that will periodically copy rows from the sheet and insert them into a fusion table. Below I\'ve pasted my
Here's an updated version of a script that John McGrath via the Google Fusion Tables group authored to create a manual "sync" between a Google spreadsheet and a Google Fusion Table.
I've modified the script a bit for my needs and have added use of an API key and the new Fusion Tables API endpoint as the original version used the SQL API endpoint, which is being phased out.
To use, simply add your Fusion Table's encrypted table ID to the top of the script...
// Add the encrypted table ID of the fusion table here
var tableIDFusion = '17xnxY......';
And add your api key...
// key needed for fusion tables api
var fusionTablesAPIKey = '17xnxY......';