Google apps script update fusion table from spreadsheet script

前端 未结 2 1558
难免孤独
难免孤独 2020-12-15 15:06

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

2条回答
  •  甜味超标
    2020-12-15 15:35

    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......';
    

提交回复
热议问题