Google Apps Scriptã¯é常ã«ä¾¿å©ãªåé¢ã æ©ã¾ãããã®ãã½ã¼ã¹ã³ã¼ãã®ç®¡çã§ãã ä»åãgas-managerã¨ãããGASã®ã³ã¼ããã¤ã³ãã¼ã/ã¨ã¯ã¹ãã¼ãã§ãããã¼ã«ã使ã£ã¦ã¿ãã®ã§ 使ç¨æ¹æ³ãã¾ã¨ãã¦ã¿ã¾ããã gas-managerã®ãªãã¸ããªã¯ãã¡ãã https://github.com/soundTricker/gas-manager (2016/01/31追è¨) gas-manager ã¨åçã®æ©è½ãæä¾ãã node-google-apps-script ã¨ãã CLI ã Google Developers Japan ã®ããã°ã§ç´¹ä»ããã¦ã¾ããã ãã¡ãã«ã¤ãã¦ã¯ä»¥ä¸ã®è¨äºã«ã¾ã¨ãã¾ããããåèã¾ã§ã GoogleAppsScriptãã¼ã«ã«éçºç¨ã®å ¬å¼CLI(node-google-apps-script)ãã¤ãã«ç»å ´ããã®ã§è©¦ãã¦ã¿ã (追è¨ããã¾
ããã«ã¡ã¯ããã¡ã¼ã ãã¼ããããã¯ãéçºã°ã«ã¼ãã®ä¼è¤ã§ãã å æ¥ãã¹ã¿ããããã°ã§å¸¯åºæ¬ç¤¾ã«ç§å ´ãä½ãã¾ãããä»åããã®ç§å ´ãå¼·åãããã¨æã£ãã®ã§ãããç²åã®æé ãéã«åããªãã£ãã®ã§æ¥åã§ä½¿ã£ãå 容ãã¾ã¨ãã¦ã¿ã¾ãã ç§ã¯ã¨ã³ã¸ãã¢ã§ã¯ãªãã¢ã·ã¹ã¿ã³ãã¨ãã¦ãã¹ããè¡ã£ã¦ãã¾ãããã¹ãã±ã¼ã¹ããã¹ããã¼ã¿ãä½ã£ã¦ãã¦ãä½åº¦ããã¹ããã¼ã¿ãæµãç´ããããã¼ã¿ãï¼ä»¶ã¥ã¤ç»é²ãããã¨æéãããã£ã¦å¤§å¤ã§ãããããã§ãããã¦ï¼ä»¶ãã¤ç»é²ããä½æ¥ãèªååãããã¨æãè²ã 調ã¹ãã¨ãããGoogleã®ã¹ãã¬ããã·ã¼ãã®ãã¼ã¿ãå¤é¨ããåå¾ããAPIããã£ãã®ã§ããã¹ãã¬ããã·ã¼ãã«ç»é²ããããã¼ã¿ãä¿åãã¦ããã¦ãå¤é¨ãããã¼ã¿ãåå¾ãããã°ã©ã ã§èªåçã«ç»é²ãããæé«ã§ãããã£ã¦ã¿ã¾ãããã ä»ååèã«ããã¦ããã ãããµã¤ãããã¡ãã§ãã ãGASãã¹ãã¬ããã·ã¼ãã®ãã¼ã¿ãJSONåºåããé¢æ°
æ ªå¼ä¼ç¤¾Speeeã®å±±æ¬ã§ããçæ§ãããã«ã¡ã¯ï¼ ä»åãç´¹ä»ããã¦ããã ãã®ã¯ãSpeeeã§å®è·µãã¦ããGoogle Apps Script(ä»¥ä¸ GAS) ãç¨ããã¢ãã³ãªéçºææ³ã«ã¤ãã¦ã§ãããã®è¨äºãéãã¦GASã£ã¦ã便å©ã ã使ããããï¼ãã¨æã£ã¦ããã ããã°å¹¸ãã§ãã Google Apps Scriptã¨ã¯ Google Apps Scriptã¯ãè¨ããã¨ç¥ããGoogleãæä¾ãããµã¼ããµã¤ãã®ã¹ã¯ãªããç°å¢ã§ãã åºæ¬çã«ã¯Webãã©ã¦ã¶ãéãã¦éçºãè¡ãã¾ãã ä½æ¥å¹çåã«å¨åãçºæ®ããGAS Speeeã§ã¯ç¹ã«ã管çé¨éã®ä½æ¥å¹çåã§GASã使ç¨ãã¦ããã±ã¼ã¹ãå¤ããä¾ãã° Slackã®å¶éä»ãã¦ã¼ã¶ãå種ãã£ãã«ã«æå¾ ããã¢ããªã±ã¼ã·ã§ã³ ã¡ã¼ãªã³ã°ãªã¹ãã®æé¢çæãèªååããã¢ããªã±ã¼ã·ã§ã³ Speeeã©ã¦ã³ã¸ã®ä½¿ç¨ç¶æ³ãé²è¦§ããã¢ããªã±ã¼ã·ã§ã³ ãªã©ãæ§ã ãªç¨éã§G
Googleã®ã¹ãã¬ããã·ã¼ãã使ã£ã¦ã¿ã¹ã¯ç®¡çããå ´é¢ãã¡ããã¡ããããã¾ãã ã¿ã¹ã¯ãå²ãæ¯ã人ãã©ãã©ãã¹ãã¬ããã·ã¼ãã«ã¿ã¹ã¯ã追å ãã¦ããã®ã§ããããã®ã¿ã¹ã¯è¿½å ããããã®ããã£ããã¯ã¼ã¯å´ã«éç¥åºæ¥ãªãããªãã¨æã£ãã®ã§ä½ã£ã¦ã¿ã¾ããã ##å ã«ä½ã£ããã®ã®ç´¹ä» ä¾ãã°ããããªæã㧠æ°ããã¿ã¹ã¯ã追å ãããã¨â ãããªæãã§ãã£ããã¯ã¼ã¯ã«éç¥ããã¾ãã ##å¤æ´æ¤ç¥ã®onEdit() GASã§ã¯ã¹ã¯ãªããå®è¡ã®ããªã¬ã¼ãè¨å®ãããã¨ãã§ãã¾ãã ããã©ã«ãã§ã¯ä¸å®æéæ¯ã«å®è¡ããããã¨ãªã©ãå¯è½ã§ãããä»åã¯ã¹ãã¬ããã·ã¼ãã®å¤æ´ãæ¤ç¥ããonEdit()ã¨ããé¢æ°ãç¨æããã¦ããã®ã§ãããã使ã£ã¦å¤æ´æ¤ç¥ãã¦ã¿ã¾ãã e.rangeã§å¤æ´ããã»ã«ã®å 容ãåå¾ãããã§ãã¾ãã åè: Understanding Events - Google Apps Script â G
2015 - 09 - 19 ï¼»GASï¼½ã¯ã¦ãªããã¯ãã¼ã¯ã®Webhookçµç±ã§ãããã¯ãã¼ã¯æ å ±ãSpreadSheetã«ä¿åãã Google Apps Script ã¯ã¦ãªããã¯ãã¼ã¯ ã®ã³ã³ãã³ãã追å /æ´æ°/åé¤ã®ã¿ã¤ãã³ã°ã§ãä»»æã®URLã«ãªã¯ã¨ã¹ããéä¿¡ããWebhookãããã¾ãã ãã¡ãã®ããªã¬ã¼ã使ã£ã¦ã追å ã³ã³ãã³ããSpreadSheetã«ä¿åãã¦ã¿ã¾ãã æºå ã¹ã¯ãªãã ãã¡ã¤ã«ãæ°è¦ã§ä½æãã以ä¸ã®ã³ã¼ããè¨è¿°ãã¾ãã URLã«ã¢ã¯ã»ã¹ãããéã®ãHTTP ã¡ã½ãã ãã doGet doPost ã®ããããã«å¯¾å¿ãã¦ãã¾ãã function doGet(request) { if (!request) return ; return ContentService.createTextOutput( 'get request' ); } function d
ã¯ã¦ãªãã¼ãã¨ã³ã¸ãã¢ã® id:motemen ã§ãã 以åã®è¨äºã§ç´¹ä»ããããã«ã¯ã¦ãªæè¡ã°ã«ã¼ãããã³ãã¶ã¤ã³ã°ã«ã¼ãã§ã¯æ¯é±ç¤¾å ã§åå¼·ä¼ãéå¬ãã¦ãã¾ããããããéå¶ãã¦ããã«ããã£ã¦ã²ã¨ã¤èª²é¡ã§ãã£ãã®ãæ¯é±ã®ãªãã¤ã³ãã§ããã developer.hatenastaff.com æ¯åçºè¡¨è ãéãã¾ãããããããããçã«ãä»æ¥ã¯ââããã®ÃÃã¨ããçºè¡¨ã§ãï¼ãã¨å¨ç¥ãã¦æå¾ ãé«ãããã§ãããã¾ã次åã®çºè¡¨è ã«ã¯äºåããã¦çºè¡¨ã®æºåãé²ãã¦ããã¦ãããªããã°ãªãã¾ãããçºè¡¨è ã»ã¿ã¤ãã«ã»æ¥ä»ãªã©ãè¨ããã¹ãã¬ããã·ã¼ãããã¹ã¿ã¼ãã¼ã¿ã¨ãã¦ãã£ãã®ã§ãå ã ã¯ç§ã人æã§ãGoogleã¹ãã¬ããã·ã¼ãã«è¨è¼ããçºè¡¨é ãè¦ãªããSlackã«å ±æãã¦ãã¾ãããããããã¯ãå人ã«ããéç¨ã ã¨äºåå¿ãããã£ãããå¨ç¥ã®ã¿ã¤ãã³ã°ãæãªãå¤æ¹ãªãã¾ã¡ã¾ã¡ã§ãã£ããã¨ãåå è ã«ãä¸ä¾¿ãå¼·ãã¦ãããã
éå¶ä¸ã®Player!ã®KPI管çã¨ãã¦ãSlackã¸ã®KPIèªåæ稿ãè¡ãããã«ãã¾ããï¼ Slackã¸ã®èªåæ稿 DAUã®åæ¥æ¯ããã©ã¹ãªã:thumbsup:ãåæ¥æ¯ããã¤ãã¹ãªã:thumbsdown:ã¨ãããµãã«ã¡ãã»ã¼ã¸ãåºãããã¦ã¾ãã ãã®è¨äºã®æ§æ åãæ¸ããã³ã¼ããå ¨ã¦è¨è¼ããä¸ã§ã2é¨æ§æã«åãã¦èª¬æãã¾ãã 1.Google Apps Scriptã§Slackã®ãã£ãã«ã«æ稿ããã®ã«å¿ è¦ãªä½æ¥ 2.ã¹ãã¬ããã·ã¼ãããå¤ãåå¾ããæ稿ã¡ãã»ã¼ã¸ãä½æããã®ã«å¿ è¦ãªä½æ¥ ã¾ãã¯ãã³ã¼ããå ¨ã¦ãè¦ããã // å ±éé¨å var slack = { postUrl: 'https://slack.com/api/chat.postMessage', token: 'â ', // Slackã®token channelId: "â¡", // Slakckã®ãã£ãã«ã®ID u
ãè¯ãããªã¼ã¨æã£ã¦ãã¾ãã éçºç°å¢ç·¨ ãã£ã¨æè¦å¤ãæ¸ãã¨ã ãã¾ãè¤éã§ãªããå°ãããªã¢ããªã±ã¼ã·ã§ã³ãããã¼ã«ã«ã§éçºããã¡ãªããããã¾ãæããããªãå ´å ScriptEditorã§ä½ã£ãã»ããè¯ãã§ãã ã©ããã¦ããã¼ã¸ã§ã³ç®¡çããããaltJSã§éçºããããContainer Bound Scriptã®éçºãããªã Eclipseããã®ä»ãµã¼ããã¼ãã£ãã¼ã«ãªã©ãã¼ã«ã«ã§éçº åãã¦ãªãããã¦ãããã»ããè¯ãã ScriptEditor GASã®éçºç°å¢ã¯é常ã¯ScriptEditorã«ãªãã¨æãã¾ãã åãããGoogleã®APIãå©ç¨ããã¹ã¯ãªãããæ¸ãå ´åã¯ScriptEditorä¸ã§éçºãã¾ãã ScriptEditorã§ã¯å種ã·ã§ã¼ãã«ãããããã¾ãã®ã§ãæåå³åã§ãããã®è¨äºãè¦ã¦ããã¨è¯ãã¨æãã¾ãã Eclipse çµ±åéçºç°å¢ã¨ãã¦æåãªEclipseã§ãGA
ãµã¼ãã¹çµäºã®ãç¥ãã NAVERã¾ã¨ãã¯2020å¹´9æ30æ¥ããã¡ã¾ãã¦ãµã¼ãã¹çµäºãããã¾ããã ç´11å¹´éãNAVERã¾ã¨ãããå©ç¨ã»ãæ顧ããã ãèª ã«ãããã¨ããããã¾ããã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}