Google Apps Scriptを使って簡易APIをサクッと作る ref: http://qiita.com/edo_m18/items/0519d241ac7683815a53