LANG SELRCT

Apps Script Reference  (Create: Create new Spreadsheet | Create new Apps Script

Monday, December 11, 2017

Fusion Tables API を利用する手順


Fusion tableは December 3, 2019 に終了とのこと
https://support.google.com/fusiontables/answer/9185417
Notice: Google Fusion Tables Turndown
Last updated: December 11, 2018
Google Fusion Tables and the Fusion Tables API will be turned down December 3, 2019. Embedded Fusion Tables visualizations — maps, charts, tables and cards — will also stop working that day. Maps using the Fusion Tables Layer in the Maps JavaScript API v3.37 will start to see errors in August 2019.



今回はFusion Tables API を利用するまでの手順を書きます
(2017/12/11現在に試した手順です)

  1. Fusion TabelsをGoogle Driveに追加する
  2. Fusion Tables APIを有効にする



1. Fusion TabelsをGoogle Driveに追加する


Google Driveのmy-driveにアクセスします
https://drive.google.com/drive/my-drive


新規>その他>アプリを追加 を選択します


検索ボックスに「fusiontable」と入れて確定すると以下のようにFusion Tablesがヒットするので「+ 接続」をクリックします


追加されたら「OK」をクリックして閉じます


新規>その他>「Google Fusion Tables」を選択します


「Create empty table」をクリックします


新しいTableが作成されました



2. Fusion Tables APIを有効にする


スクリプトエディタを開きます
https://script.google.com/macros/create


リソース>「Google の拡張サービス」を選択します


Fusion Tables API を「ON」にします


「Google API コンソール」をクリックします


上部の検索ボックスで「fusion」と入れて出てくる「Fusion Tables API」を選択します


開いたページで「有効にする」をクリックします


完了すると以下のような画面になります

これで Fusion Tables API を使う準備ができました


参考

About Fusion Tables
https://support.google.com/fusiontables/answer/2571232

Using the API
https://developers.google.com/fusiontables/docs/v1/using

Getting Started
https://developers.google.com/fusiontables/docs/v1/getting_started

Using the API
https://developers.google.com/fusiontables/docs/v1/using
Quotas
The default request quota limits are the following:
25,000 requests per day per API project, where reads count as one request and writes count as five requests.
30 write requests per minute per table
You may request more quota at the Google APIs Console under the "Quotas" tab.
The storage quota limits are:
250 MB per table
1 GB total among all your tables
Type and size of files to import
https://support.google.com/fusiontables/answer/171181?hl=en 

Latest post

Extracting data from Google Sheets with regular expressions

Introduction Regular expressions are a powerful tool that can be used to extract data from text.  In Google Sheets, regular expressions ca...