{"id":4956,"date":"2019-06-19T09:00:42","date_gmt":"2019-06-19T00:00:42","guid":{"rendered":"https:\/\/cg-method.com\/?p=4956"},"modified":"2026-09-20T14:52:27","modified_gmt":"2026-09-20T05:52:27","slug":"chatwork-get-room-members","status":"publish","type":"post","link":"https:\/\/cg-method.com\/work-tools\/chatwork-get-room-members\/","title":{"rendered":"Chatwork\u2502\u7279\u5b9a\u306e\u30b0\u30eb\u30fc\u30d7\u306b\u6240\u5c5e\u3057\u3066\u3044\u308b\u30e1\u30f3\u30d0\u30fc\u540d\u524d\u3068ID\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Chatwork\u3067\u4f3c\u305f\u69cb\u6210\u306e\u30b0\u30eb\u30fc\u30d7\u30c1\u30e3\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u969b\u3001\u7ba1\u7406\u8005\u6a29\u9650\u304c\u3042\u308c\u3070<strong>\u300c\u540c\u3058\u30e1\u30f3\u30d0\u30fc\u3067\u30c1\u30e3\u30c3\u30c8\u3092\u65b0\u898f\u4f5c\u6210\u300d<\/strong>\u304c\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3057\u304b\u3057\u7ba1\u7406\u8005\u6a29\u9650\u304c\u306a\u3044\u5834\u5408\u306f\u500b\u5225\u306b\u30e1\u30f3\u30d0\u30fc\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066\u30e1\u30f3\u30d0\u30fc\u4e00\u89a7\u3092\u53d6\u5f97\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u7279\u5b9a\u306e\u30b0\u30eb\u30fc\u30d7\u306b\u6240\u5c5e\u3057\u3066\u3044\u308b\u30e1\u30f3\u30d0\u30fc\u540d\u524d\u3068ID\u3092\u53d6\u5f97\u3059\u308b\u65b9\u6cd5<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u3092\u65b0\u898f\u4f5c\u6210\n<\/li>\n\n\n\n<li>\u300c\u62e1\u5f35\u6a5f\u80fd\u300d\uff1e\u300cApps Script\u300d\u304b\u3089\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u958b\u304f\n<\/li>\n\n\n\n<li> <span style=\"background-color: rgba(79, 79, 79, 0.2); font-size: revert; color: var(--color_text); font-family: var(--swl-font_family); font-weight: var(--swl-font_weight); letter-spacing: var(--swl-letter_spacing,normal);\">\u5f8c\u8ff0\u306e\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u3001API\u30c8\u30fc\u30af\u30f3\u3068\u30eb\u30fc\u30e0ID\u3092\u8a2d\u5b9a\u3057\u3066getRooms\u95a2\u6570\u3092\u5b9f\u884c<\/span> <\/li>\n<\/ol>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>var ChatworkToken = &quot;\u30c1\u30e3\u30c3\u30c8\u30ef\u30fc\u30afAPI\u30c8\u30fc\u30af\u30f3&quot;;\nvar sheet_name = &quot;\u30b7\u30fc\u30c81&quot;;\nvar room_id = &quot;\u30eb\u30fc\u30e0ID&quot;;\nvar url =  &quot;https:\/\/api.Chatwork.com\/v2\/rooms\/&quot; + room_id + &quot;\/members&quot;;\nvar sheet = SpreadsheetApp.getActive().getSheetByName(sheet_name);\n\nfunction getRooms(){\n  var params = {\n    headers : {&quot;X-ChatworkToken&quot; : ChatworkToken },\n    method : &quot;get&quot;\n  }; \n  var strRespons = UrlFetchApp.fetch(url, params); \n  var json = JSON.parse(strRespons.getContentText()); \n\n  for each(var obj in json){\n      sheet.appendRow([obj.name, obj.account_id]);\n  }\n}\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0a\u306e\u624b\u9806\u3067\u3001\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u300c\u30b7\u30fc\u30c81\u300d\u306b\u30b0\u30eb\u30fc\u30d7\u6240\u5c5e\u30e1\u30f3\u30d0\u30fc\u306e\u540d\u524d\u3068\u30a2\u30ab\u30a6\u30f3\u30c8ID\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"546\" height=\"265\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2019\/06\/Screenshot_2019_0617_06-1.png\" alt=\"\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u30b7\u30fc\u30c81\u306b\u30b0\u30eb\u30fc\u30d7\u6240\u5c5e\u30e1\u30f3\u30d0\u30fc\u306e\u540d\u524d\u3068\u30a2\u30ab\u30a6\u30f3\u30c8ID\u304c\u51fa\u529b\u3055\u308c\u305f\u5b9f\u884c\u7d50\u679c\u306e\u4f8b\u3002\" class=\"wp-image-4957\" srcset=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2019\/06\/Screenshot_2019_0617_06-1.png 546w, https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2019\/06\/Screenshot_2019_0617_06-1-300x146.png 300w\" sizes=\"auto, (max-width: 546px) 100vw, 546px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ed5\u4e8b\u304c\u6357\u308b\u307b\u304b\u306e\u30c4\u30fc\u30eb\u306f\u3001\u307e\u3068\u3081\u304b\u3089\u3054\u89a7\u3044\u305f\u3060\u3051\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2026\/09\/work-tools-matome-3-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/work-tools-matome\/\">Windows\u30fbPC\u4f5c\u696d\u306e\u52b9\u7387\u5316\u307e\u3068\u3081\uff5c\u8a2d\u5b9a\u30fb\u30c4\u30fc\u30eb\u30fb\u30c8\u30e9\u30d6\u30eb\u5bfe\u51e6<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Windows\u3084\u5468\u8fba\u30c4\u30fc\u30eb\u306e\u6d3b\u7528\u6cd5\u30fb\u30c8\u30e9\u30d6\u30eb\u5bfe\u51e6\u6cd5\u3092\u76ee\u7684\u5225\u306b\u307e\u3068\u3081\u307e\u3057\u305f\u3002 \u8a2d\u5b9a\u3067\u3064\u307e\u305a\u3044\u305f\u5834\u9762\u3084\u4f5c\u696d\u52b9\u7387\u3092\u4e0a\u3052\u305f\u3044\u3068\u304d\u306e\u53c2\u7167\u7528\u306b\u5206\u985e\u3057\u3066\u3044\u307e\u3059\u3002 \u5404\u30ab\u30c6\u30b4\u30ea\u30fc\u306f\u95b2\u89a7&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<!-- cgm-topic:start -->\n\n\n<p class=\"wp-block-paragraph\">Chatwork\u3084Slack\u3078\u901a\u77e5\u3092\u9001\u308b\u65b9\u6cd5\u306f\u3001\u307b\u304b\u306b\u3082\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2018\/12\/gas-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/slack-gas-weather\/\">Slack\u2502\u4eca\u65e5\u306e\u5929\u6c17\u3068\u6c17\u6e29\u3092\u6295\u7a3f\u3059\u308b\u65b9\u6cd5\u2502GAS<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">2018\u5e74\u306bGoogle Apps Script\uff08GAS\uff09\u3067\u5929\u6c17\u3068\u6c17\u6e29\u3092Slack\u3078\u901a\u77e5\u3057\u305f\u5b9f\u88c5\u30e1\u30e2\u3067\u3059\u3002 \u53c2\u8003\u306b\u3057\u305f\u53d6\u5f97\u30b3\u30fc\u30c9\u3068\u5f53\u6642\u306e\u7d50\u679c\u3092\u6b8b\u3057\u3001\u73fe\u5728\u7d44\u307f\u76f4\u3059\u3068\u304d\u306e\u78ba\u8a8d\u70b9\u3092\u8ffd\u8a18\u3057\u307e\u3057\u305f\u3002&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2019\/05\/slim-chatwork-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/slim-chatwork\/\">Slim Chatwork\u306e\u4f7f\u3044\u65b9\uff5cChatwork\u306e\u753b\u9762\u3092\u8a70\u3081\u3066\u898b\u3084\u3059\u304f\u3059\u308bChrome\u62e1\u5f35<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Slim Chatwork\u306f\u3001Chatwork\u306e\u753b\u9762\u306e\u4f59\u767d\u3084\u6587\u5b57\u30b5\u30a4\u30ba\u3092\u8abf\u6574\u3067\u304d\u308bGoogle Chrome\u62e1\u5f35\u6a5f\u80fd\u3067\u3059\u3002 \u7121\u6599\u3067\u5229\u7528\u3067\u304d\u307e\u3059\u3002 \u6a19\u6e96\u306eChatwork\u306f1\u4ef6\u3042\u305f\u308a\u306e\u8868\u793a\u306e\u9ad8\u3055\u304c\u5e83\u304f\u3001\u30c1&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2019\/08\/gas-300x300.png\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/slack-gas-scraping\/\">Slack\u2502\u682a\u4fa1\u3092\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3057\u3066\u6295\u7a3f\u3059\u308b\u65b9\u6cd5 \u2502GAS<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066\u682a\u4fa1\u3092\u30b9\u30af\u30ec\u30a4\u30d4\u30f3\u30b0\u3057\u3001Slack\u3078\u81ea\u52d5\u6295\u7a3f\u3059\u308b\u624b\u9806\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002 Yahoo!\u30d5\u30a1\u30a4\u30ca\u30f3\u30b9\u3092\u306f\u3058\u3081\u3068\u3059\u308b\u591a\u304f\u306e\u682a\u4fa1\u60c5\u5831\u30b5\u30fc\u30d3\u30b9\u3067\u306f\u3001\u5229&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cg-method.com\/work-tools\/wp-content\/uploads\/2020\/10\/18445_google-calendar-line-notify-300x169.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/cg-method.com\/work-tools\/google-calendar-line-notify\/\">Google\u30ab\u30ec\u30f3\u30c0\u30fc\u2502\u4e88\u5b9a\u304c\u59cb\u307e\u308b\u76f4\u524d\u306bLine\u3078\u901a\u77e5\u3092\u9001\u308b\u65b9\u6cd5<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Google\u30ab\u30ec\u30f3\u30c0\u30fc\u306e\u901a\u77e5\u97f3\u3092\u805e\u304d\u9003\u3057\u3066\u3057\u307e\u3046\u3053\u3068\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002 \u30aa\u30f3\u30e9\u30a4\u30f3\u82f1\u4f1a\u8a71\u306e\u6642\u9593\u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u6bce\u56de\u30a2\u30e9\u30fc\u30e0\u3092\u30bb\u30c3\u30c8\u3057\u3066\u3044\u307e\u3057\u305f\u304c\u3001\u624b\u52d5\u3067\u306e\u8a2d\u5b9a\u306b\u624b\u9593\u304c&#8230;<\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n<!-- cgm-topic:end -->\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u53d6\u5f97\u3057\u305f\u4e00\u89a7\u3092\u3082\u3068\u306b\u30b0\u30eb\u30fc\u30d7\u30c1\u30e3\u30c3\u30c8\u3092\u65b0\u898f\u4f5c\u6210\u3057\u3001\u30ea\u30b9\u30c8\u306e\u30a2\u30ab\u30a6\u30f3\u30c8ID\u3092\u78ba\u8a8d\u3057\u306a\u304c\u3089\u30e1\u30f3\u30d0\u30fc\u3092\u8ffd\u52a0\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>Chatwork\u3067\u4f3c\u305f\u69cb\u6210\u306e\u30b0\u30eb\u30fc\u30d7\u30c1\u30e3\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u969b\u3001\u7ba1\u7406\u8005\u6a29\u9650\u304c\u3042\u308c\u3070\u300c\u540c\u3058\u30e1\u30f3\u30d0\u30fc\u3067\u30c1\u30e3\u30c3\u30c8\u3092\u65b0\u898f\u4f5c\u6210\u300d\u304c\u4f7f\u3048\u307e\u3059\u3002 \u3057\u304b\u3057\u7ba1\u7406\u8005\u6a29\u9650\u304c\u306a\u3044\u5834\u5408\u306f\u500b\u5225\u306b\u30e1\u30f3\u30d0\u30fc\u3092\u78ba\u8a8d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u305f\u3081\u3001Google Apps S [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4958,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pochipp_cv_data":"","swell_btn_cv_data":"","ssp_meta_description":"\u7ba1\u7406\u8005\u6a29\u9650\u304c\u306a\u3044\u30b0\u30eb\u30fc\u30d7\u30c1\u30e3\u30c3\u30c8\u3067\u3001\u30e1\u30f3\u30d0\u30fc\u4e00\u89a7\u3092Google Apps Script\uff08GAS\uff09\u3092\u4f7f\u3063\u3066\u30b9\u30d7\u30ec\u30c3\u30c9\u30b7\u30fc\u30c8\u306e\u300c\u30b7\u30fc\u30c81\u300d\u3078\u51fa\u529b\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002API\u30c8\u30fc\u30af\u30f3\u3068\u30eb\u30fc\u30e0ID\u3092\u8a2d\u5b9a\u3057\u3066\u540d\u524d\u3068\u30a2\u30ab\u30a6\u30f3\u30c8ID\u3092\u53d6\u5f97\u3067\u304d\u307e\u3059\u3002","ssp_meta_title":"Chatwork\u306e\u30b0\u30eb\u30fc\u30d7\u30e1\u30f3\u30d0\u30fc\u540d\u3068ID\u3092GAS\u3067\u53d6\u5f97\u3059\u308b\u65b9\u6cd5","ssp_meta_robots":"","ssp_meta_canonical":"","ssp_meta_image":"","ssp_meta_keyword":"","book_review_data":"","footnotes":""},"categories":[24,20],"tags":[],"class_list":["post-4956","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chatwork","category-work"],"_links":{"self":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts\/4956","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/comments?post=4956"}],"version-history":[{"count":4,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts\/4956\/revisions"}],"predecessor-version":[{"id":23692,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/posts\/4956\/revisions\/23692"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/media\/4958"}],"wp:attachment":[{"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/media?parent=4956"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/categories?post=4956"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cg-method.com\/work-tools\/wp-json\/wp\/v2\/tags?post=4956"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}