Skip to content

Instantly share code, notes, and snippets.

@engr-ch
engr-ch / gas_line.gs.js
Created May 17, 2020 08:32
GoogleAppScriptを使用してGoogleSpreadSheetのデータをLineへ通知します
function main() {
const prop = PropertiesService.getScriptProperties().getProperties();
const post_data = getPostData(prop);
if (post_data){
sendPostContent(prop, post_data);
}
}
function getPostData(prop){
const spsheet = SpreadsheetApp.openById(prop.spid);