{"id":832,"date":"2019-05-19T12:14:16","date_gmt":"2019-05-19T03:14:16","guid":{"rendered":"https:\/\/ito-u-oti.com\/?p=832"},"modified":"2020-07-12T11:55:23","modified_gmt":"2020-07-12T02:55:23","slug":"post-832","status":"publish","type":"post","link":"https:\/\/ito-u-oti.com\/?p=832","title":{"rendered":"Google Apps Script\u3067Slack\u306bbot\u3092\u4f5c\u308b(1)"},"content":{"rendered":"\n<h2 id=\"outline__1\" class=\"wp-block-heading\">\u6982\u8981<\/h2>\n\n\n<p>GAS\u304c\u4e00\u5b9a\u9593\u9694\u3067Gmail\u304b\u3089\u30e1\u30fc\u30eb\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u65b0\u305f\u306b\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304c\u3042\u308c\u3070\u5185\u5bb9\u3092Slack\u306b\u6295\u7a3f\u3059\u308bbot\u3002<\/p>\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail1.png\" alt=\"\" class=\"wp-image-833\" width=\"557\" height=\"256\"\/><\/figure>\n\n\n\n<ol class=\"wp-block-list\"><li>\u8a2d\u5b9a\u3057\u305f\u30c8\u30ea\u30ac\u30fc\u304c\u5b9f\u884c\u3055\u308c\u308b\u3002<\/li><li>GAS\u304cgmail\u304b\u3089\u30e1\u30fc\u30eb\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/li><li>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306b\u3042\u308b\u524d\u56de\u5b9f\u884c\u3057\u305f\u3068\u304d\u306e\u30e1\u30fc\u30eb\u30c7\u30fc\u30bf\u3068\u6bd4\u8f03\u3057\u3001\u65b0\u305f\u306b\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304c\u3042\u308b\u304b\u3092\u78ba\u8a8d\u3059\u308b\u3002<\/li><li>\u65b0\u305f\u306b\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u306e\u5185\u5bb9\u3092Slack\u306bPOST\u3059\u308b\u3002<\/li><li>Slack\u306e\u30c1\u30e3\u30f3\u30cd\u30eb\u306b\u6295\u7a3f\u3055\u308c\u308b\u3002<\/li><\/ol>\n\n\n<p>\u4eca\u56de\u306f\u4f8b\u3068\u3057\u3066\u3001\u81ea\u5206\u306e\u30e1\u30fc\u30eb\u30dc\u30c3\u30af\u30b9\u306bconnpass\u304b\u3089\u914d\u4fe1\u3055\u308c\u308b\u52c9\u5f37\u4f1a\u306e\u60c5\u5831\u3092\u307e\u3068\u3081\u3066\u3044\u308b\u30e9\u30d9\u30eb\u304c\u3042\u308b\u306e\u3067\u3001\u305d\u3053\u304b\u3089\u65b0\u7740\u60c5\u5831\u3092\u62bd\u51fa\u3057\u3066Slack\u306b\u6d41\u3059\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><\/p>\n\n\n<h2 id=\"outline__2\" class=\"wp-block-heading\">\u4f5c\u6210<\/h2>\n\n\n\n<h3 id=\"outline__2_1\" class=\"wp-block-heading\">gmail\u307e\u308f\u308a<\/h3>\n\n\n\n<div class=\"wp-block-group\"><div class=\"wp-block-group__inner-container is-layout-flow wp-block-group-is-layout-flow\">\n<p>gmail\u304b\u3089\u300c\u52c9\u5f37\u4f1a\u300d\u3068\u3044\u3046\u30e9\u30d9\u30eb\u306b\u8a72\u5f53\u3059\u308b\u30e1\u30fc\u30eb\u60c5\u5831\u3092\u53d6\u5f97\u3059\u308b\u3002<\/p>\n<\/div><\/div>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail2-1024x311.png\" alt=\"\" class=\"wp-image-837\" width=\"512\" height=\"156\"\/><\/figure>\n\n\n\n<p>getMail.gs<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nfunction getMail() {\n  \n  var condition = 'label:\u52c9\u5f37\u4f1a';\n  var myThreads = GmailApp.search(condition,0,30);\n  var myMsgs = GmailApp.getMessagesForThreads(myThreads);\n  \n  var valMsgs = &#x5B;];\n  \n  \/\/\u5404\u30e1\u30fc\u30eb\u304b\u3089\u65e5\u6642\u3001\u9001\u4fe1\u5143\u3001\u4ef6\u540d\u3001\u5185\u5bb9\u3092\u53d6\u308a\u51fa\u3059\n  for(var i=0; i&lt;myMsgs.length; i++) {\n    valMsgs&#x5B;i] = &#x5B;];\n    valMsgs&#x5B;i]&#x5B;0] = myMsgs&#x5B;i]&#x5B;0].getDate();\n    valMsgs&#x5B;i]&#x5B;1] = myMsgs&#x5B;i]&#x5B;0].getFrom();\n    valMsgs&#x5B;i]&#x5B;2] = myMsgs&#x5B;i]&#x5B;0].getSubject();\n    valMsgs&#x5B;i]&#x5B;3] = myMsgs&#x5B;i]&#x5B;0].getPlainBody();\n  }\n  return valMsgs;\n}\n<\/pre><\/div>\n\n<p>condition\u306b\u30e1\u30fc\u30eb\u306e\u62bd\u51fa\u6761\u4ef6\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<h3 id=\"outline__2_2\" class=\"wp-block-heading\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u307e\u308f\u308a<\/h3>\n\n\n\n<h4 id=\"outline__2_2_1\" class=\"wp-block-heading\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u7528\u610f<\/h4>\n\n\n\n<p>\u4e8c\u3064\u306e\u5217\u306e\u30c7\u30fc\u30bf\u3092\u6bd4\u8f03\u3057\u3066\u3001\u5dee\u5206\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306a\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail3-1024x581.png\" alt=\"\" class=\"wp-image-873\" width=\"512\" height=\"291\"\/><\/figure>\n\n\n\n<p>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u540d\u306f\u300cbotSpreadSheet\u300d<br>\u30b7\u30fc\u30c8\u540d\u306f\u300cmailList\u300d<br>C\u5217\u306e\u4e00\u756a\u4e0b\u307e\u3067\u4ee5\u4e0b\u306e\u95a2\u6570\u3092\u5165\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: vb; title: ; notranslate\" title=\"\">\n=IF(COUNTIF($B$1:$B$1000,A1)=0,A1,)\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail4.png\" alt=\"\" class=\"wp-image-874\" width=\"468\" height=\"281\"\/><\/figure>\n\n\n\n<h4 id=\"outline__2_2_2\" class=\"wp-block-heading\">\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u64cd\u4f5c\u3059\u308b<\/h4>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u52d5\u4f5c\u3092\u5b9f\u88c5\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>A\u5217\u306b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080<\/li><li>A\u5217\u306e\u30c7\u30fc\u30bf\u3092B\u5217\u3078\u79fb\u52d5\u3059\u308b<\/li><li>C\u5217\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3059\u308b<\/li><\/ul>\n\n\n\n<p>spreadControl.gs<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\n\/\/A\u5217\u306b\u30c7\u30fc\u30bf\u3092\u914d\u5217\u3067\u66f8\u304d\u8fbc\u3080\uff081\u6b21\u5143\u914d\u5217\u304c\u5f15\u6570\uff09\nfunction setSheetColumnValues(values) {\n  \n  \/\/1\u6b21\u5143\u914d\u5217\u30922\u6b21\u5143\u914d\u5217\u306b\u5909\u63db\u3059\u308b\uff08setValues\u306f2\u6b21\u5143\u914d\u5217\u304c\u5f15\u6570\uff09\n  var doubleArray = &#x5B;];\n  for each(var value in values) {\n    doubleArray.push(&#x5B;value])\n  }\n  \n  var spreadSheet = SpreadsheetApp.openByUrl(\"&#x5B;\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u5171\u6709\u30d1\u30b9]\");\n  var sheet = spreadSheet.getSheetByName(\"mailList\");\n  var cols = values.length;\n  \n  sheet.getRange(1, 1, cols).setValues(doubleArray);\n}\n\n\/\/A\u5217\u306e\u30c7\u30fc\u30bf\u3092B\u5217\u3078\u79fb\u52d5\u3059\u308b\nfunction moveSheetColumnValues() {\n  var spreadSheet = SpreadsheetApp.openByUrl(\"&#x5B;\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u5171\u6709\u30d1\u30b9]\");\n  var sheet = spreadSheet.getSheetByName(\"mailList\");\n  \n  \/\/A\u5217\u306e\u30c7\u30fc\u30bf\u3092B\u5217\u3078\u30b3\u30d4\u30fc\n  sheet.getRange(\"A:A\").copyTo(sheet.getRange(\"B:B\"),{contentsOnly:true});\n  \/\/A\u5217\u306e\u30c7\u30fc\u30bf\u3092\u524a\u9664\n  sheet.getRange(\"A:A\").clear();\n}\n\n\/\/C\u5217\u306e\u30c7\u30fc\u30bf\u3092\u914d\u5217\u3067\u53d6\u5f97\u3059\u308b\nfunction getSheetColumnValues() {\n  var spreadSheet = SpreadsheetApp.openByUrl(\"&#x5B;\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u5171\u6709\u30d1\u30b9]\");\n  var sheet = spreadSheet.getSheetByName(\"mailList\");\n  var data = sheet.getRange(\"C:C\").getValues();\n  \n  var result = new Array();\n  \n  for each(var value in data) {\n    if(value != null && value != \"\") {\n      result.push(value);\n    }\n  }\n  \n  return result;\n}\n<\/pre><\/div>\n\n\n<h3 id=\"outline__2_3\" class=\"wp-block-heading\">Slack\u307e\u308f\u308a<\/h3>\n\n\n\n<p>Slack\u306b\u901a\u77e5\u3055\u308c\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail7.png\" alt=\"\" class=\"wp-image-875\" width=\"359\" height=\"61\"\/><\/figure>\n\n\n\n<h4 id=\"outline__2_3_1\" class=\"wp-block-heading\">Incoming Webhook\u306e\u4f5c\u6210<\/h4>\n\n\n\n<p>Slack\u306eApp\u304b\u3089Incoming Webhook\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail6.png\" alt=\"\" class=\"wp-image-876\" width=\"505\" height=\"306\"\/><\/figure>\n\n\n\n<h4 id=\"outline__2_3_2\" class=\"wp-block-heading\">Slack\u306b\u6295\u7a3f\u3059\u308b<\/h4>\n\n\n\n<p>postSlack.gs<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nfunction testPost() {\n  var text = \"text\";\n  postSlack(text);\n}\n\nfunction postSlack(text,url) {\n  \n  var url=\"&#x5B;Incoming Webhook\u3067\u8a2d\u5b9a\u3057\u305fURL]\";\n  var jsonData={\n    \"channel\":\"bot\u30c6\u30b9\u30c8\",\n    \"username\":\"J.A.R.V.I.S\",\n    \"text\":text\n  }\n  \n  var options={\n    \"method\":\"POST\",\n    \"headers\":{\"Content-type\":\"application\/json\"},\n    \"payload\":JSON.stringify(jsonData)\n  };\n  UrlFetchApp.fetch(url,options);\n}\n<\/pre><\/div>\n\n\n<p>\u3053\u306e\u4f8b\u3060\u3068\u3001\u300c#bot\u30c6\u30b9\u30c8\u300d\u3068\u3044\u3046\u30c1\u30e3\u30f3\u30cd\u30eb\u304c\u3042\u308a\u3001\u305d\u3053\u306b\u300cJ.A.R.V.I.S\u300d\u3068\u3044\u3046\u540d\u524d\u3067\u6295\u7a3f\u3059\u308b\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br>\u203bJ.A.R.V.I.S\u306f\u30a2\u30a4\u30a2\u30f3\u30de\u30f3\u306e\u6620\u753b\u306b\u51fa\u3066\u304f\u308b\u30c8\u30cb\u30fc\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308bAI\u306e\u540d\u524d\u3067\u3059\u3002<br>testPost()\u3092\u5b9f\u884c\u3055\u305b\u308b\u3068\u4e0a\u306e\u6295\u7a3f\u304c\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h3 id=\"outline__2_4\" class=\"wp-block-heading\">\u4e00\u3064\u306eApp\u3068\u3057\u3066\u307e\u3068\u3081\u308b<\/h3>\n\n\n\n<p>main.gs<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nfunction main() {\n  var mailDataList = getMail();\n  \n  var titleList = &#x5B;];\n  for each(var mailData in mailDataList) {\n    titleList.push(mailData&#x5B;2]);\n  }\n  \n  setSheetColumnValues(titleList);\n  \n  var targetList = getSheetColumnValues();\n  \n  moveSheetColumnValues();\n  \n  if(targetList.length === 0) {\n    Logger.log(\"through\");\n  } else {\n    Logger.log(\"push slack\");\n    \n    for each(var postText in targetList) {\n      postSlack(postText.toString());\n    }\n  }\n  Logger.log(targetList);\n}\n<\/pre><\/div>\n\n\n<h3 id=\"outline__2_5\" class=\"wp-block-heading\">\u30c8\u30ea\u30ac\u30fc\u3092\u8a2d\u5b9a\u3059\u308b<\/h3>\n\n\n\n<p>gas\u30a8\u30c7\u30a3\u30bf\u30fc\u753b\u9762\u4e0a\u3067\u300c\u73fe\u5728\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c8\u30ea\u30ac\u30fc\u300d\u30bf\u30d6\u3092\u9078\u629e\u3059\u308b\u3068\u30c8\u30ea\u30ac\u30fc\u753b\u9762\u306b\u9077\u79fb\u3057\u307e\u3059\u3002<br>\u300c\u30c8\u30ea\u30ac\u30fc\u3092\u8ffd\u52a0\u300d\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a2d\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail8.png\" alt=\"\" class=\"wp-image-877\" width=\"542\" height=\"601\"\/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>\u5b9f\u884c\u3059\u308b\u95a2\u6570\u306f\u300cmain\u300d<\/li><li>\u30a4\u30d9\u30f3\u30c8\u306e\u30bd\u30fc\u30b9\u306f\u6642\u9593\u4e3b\u5c0e\u578b\u306b<\/li><li>\u30c8\u30ea\u30ac\u30fc\u30bf\u30a4\u30d7\u306f\u5206\u30d9\u30fc\u30b9<\/li><li>\uff11\uff15\u5206\u304a\u304d<\/li><\/ul>\n\n\n\n<h4 id=\"outline__2_5_1\" class=\"wp-block-heading\">GAS\u304b\u3089\u30e1\u30fc\u30eb\u306e\u53d6\u5f97\u306f\uff11\u65e5\uff11\uff10\uff10\u56de\u307e\u3067\u3057\u304b\u3067\u304d\u306a\u3044<\/h4>\n\n\n\n<p>GAS\u304b\u3089\u30e1\u30fc\u30eb\u3092\u53d6\u5f97\u3059\u308b\u95a2\u6570\u3092\u53e9\u3044\u305f\u3068\u304d\u306b\u3001\u53d7\u4fe1\u306f\u7121\u6599\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u5834\u5408\u3060\u3068\uff11\u65e5\uff11\uff10\uff10\u4ef6\u3057\u304b\u884c\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u305b\u3093\u3002<br><a href=\"https:\/\/developers.google.com\/apps-script\/guides\/services\/quotas\">https:\/\/developers.google.com\/apps-script\/guides\/services\/quotas<\/a> <\/p>\n\n\n\n<p>\u306a\u306e\u3067\u3001\uff11\u65e5\uff12\uff14\u6642\u9593\u3067\uff11\uff10\uff10\u56de\u53e9\u304f\u3053\u3068\u3092\u9006\u7b97\u3057\u3066\u3001\uff11\uff15\u5206\u7f6e\u304d\u3067\u3042\u308c\u3070\uff11\u65e5\uff19\uff14\u56de\u306e\u5b9f\u884c\u3067\u6e08\u3080\u8a08\u7b97\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h2 id=\"outline__3\" class=\"wp-block-heading\">\u5b9f\u884c<\/h2>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" src=\"https:\/\/ito-u-oti.com\/wp-content\/uploads\/2019\/05\/postSlack_getMail5.png\" alt=\"\" class=\"wp-image-878\" width=\"466\" height=\"63\"\/><\/figure>\n\n\n\n<p>Slack\u4e0a\u306b\u6295\u7a3f\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u30e1\u30fc\u30eb\u3092\u53d6\u5f97\u3057\u30bf\u30a4\u30c8\u30eb\u306e\u307f\u3092\u6295\u7a3f\u3055\u305b\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001<br>\u53d6\u5f97\u3057\u305f\u30e1\u30fc\u30eb\u306e\u672c\u6587\u3092\u6574\u5f62\u3057\u3066\u6295\u7a3f\u51fa\u6765\u305f\u308a\u3082\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30e1\u30fc\u30eb\u306e\u30ea\u30b9\u30c8\u306e\u672c\u6587\u306b\u5bfe\u3057\u3066\u6b32\u3057\u3044\u6587\u5b57\u5217\u3060\u3051\u3092\u62bd\u51fa\u3057\u3066\u8fd4\u3059\u95a2\u6570\u3082\u4f5c\u6210\u3057\u305f\u306e\u3067\u4e00\u5fdc\u8f09\u305b\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: jscript; title: ; notranslate\" title=\"\">\nfunction mailDataList() {\n  \n  var list = getMail();\n  \n\n  var regex = new RegExp(&quot;\u3010\u5897\u5e2d\u3011.*|URL.*&quot;,&quot;g&quot;);\n  var resultList = &#x5B;];\n  \n  for(var i=0; i&lt;list.length; i++) {\n    resultList&#x5B;i] = list&#x5B;i]&#x5B;3].match(regex);\n  }\n  \n  Logger.log(resultList);\n  \n  return resultList;\n}\n<\/pre><\/div>\n\n\n<p>\u4e0a\u306e\u4f8b\u3067\u306f\u3001<br>\u300c\u3010\u5897\u5e2d\u3011\u300d\u3001\u300cURL\u300d\u3068\u3044\u3046\u6587\u5b57\u304c\u3064\u3044\u3066\u3044\u308b\u6587\u7ae0\u3092\u62bd\u51fa\u3059\u308b\u3088\u3046\u306a\u6b63\u898f\u8868\u73fe\u3067\u3001\u3059\u3079\u3066\u306e\u30e1\u30fc\u30eb\u306b\u5bfe\u3057\u3066\u9069\u7528\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6982\u8981 GAS\u304c\u4e00\u5b9a\u9593\u9694\u3067Gmail\u304b\u3089\u30e1\u30fc\u30eb\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u65b0\u305f\u306b\u53d7\u4fe1\u3057\u305f\u30e1\u30fc\u30eb\u304c\u3042\u308c\u3070\u5185\u5bb9\u3092Sla [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":881,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[199,200,198,197,201],"class_list":["post-832","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programing","tag-gas","tag-gmail","tag-google-apps-script","tag-slack","tag-spread-sheet"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=832"}],"version-history":[{"count":39,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/832\/revisions"}],"predecessor-version":[{"id":1232,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/832\/revisions\/1232"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/media\/881"}],"wp:attachment":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}