{"id":1009,"date":"2021-06-02T09:15:21","date_gmt":"2021-06-02T00:15:21","guid":{"rendered":"http:\/\/blog.jansnap.com\/?p=1009"},"modified":"2021-12-15T04:04:26","modified_gmt":"2021-12-14T19:04:26","slug":"bubblegoogle%20docs%e3%81%abapi%e7%b5%8c%e7%94%b1%e3%81%a7%e3%82%a2%e3%82%af%e3%82%bb%e3%82%b9%e3%81%99%e3%82%8b%e5%ae%9f%e8%b7%b5%e7%b7%a8%e9%a0%98%e5%8f%8e%e6%9b%b8%e3%82%92%e4%bd%9c%e6%88%90%e3%81","status":"publish","type":"post","link":"https:\/\/blog.jansnap.com\/?p=1009","title":{"rendered":"(Bubble)Google Docs\u306bAPI\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b(\u5b9f\u8df5\u7de8)\u9818\u53ce\u66f8\u3092\u4f5c\u6210\u3057\u3066PDF\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b"},"content":{"rendered":"\r\n<h2><span class=\"ez-toc-section\" id=\"%E6%A6%82%E8%A6%81\"><\/span>\u6982\u8981<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><a href=\"https:\/\/qiita.com\/jansnap\/items\/0b11b28460e1c4d7322f\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">\u524d\u3005\u56de<\/a>\u3001<a href=\"https:\/\/note.com\/jansnap\/n\/n466e853dc5ec\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">\u524d\u56de<\/a>\u3068\u3001Bubble\u3067Google Docs\u306bAPI\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u6e96\u5099\u3092\u884c\u3044\u307e\u3057\u305f\u3002<br>\u4eca\u56de\u306f\u3044\u3088\u3044\u3088\u5b9f\u969b\u306bGoogle\u306eAPI\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<br>\u4f8b\u3068\u3057\u3066\u3001Bubble\u306eDB\u3092\u5143\u306b\u9818\u53ce\u66f8\u3092\u4f5c\u6210\u3057\u3066PDF\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"%E9%9B%9B%E5%BD%A2%E3%81%AE%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%92%E4%BD%9C%E6%88%90\"><\/span>\u96db\u5f62\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u66f8\u304d\u63db\u3048\u5143\u306b\u306a\u308b\u9818\u53ce\u66f8\u3092Google Docs\u306b\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf27\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53694226\/picture_pc_a1660939caa416a55ec0557ff49b02f7.png?width=800\" width=\"620\" height=\"382\" class=\"lazyload is-slide\" style=\"width: 372px; height: 229.2px;\" tabindex=\"0\" role=\"button\"><\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"%E3%81%A9%E3%81%AEAPI%E3%82%92%E4%BD%BF%E3%81%86%E3%81%8B%E8%AA%BF%E3%81%B9%E3%82%8B\"><\/span>\u3069\u306eAPI\u3092\u4f7f\u3046\u304b\u8abf\u3079\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u307e\u305a\u306f\u3001\u51e6\u7406\u306e\u6d41\u308c\u3068\u3001\u4f7f\u7528\u3059\u308bAPI\u3092\u6574\u7406\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u9818\u53ce\u66f8\u3092\u4f5c\u6210\u3059\u308b\u306e\u3067\u3001\u4ee5\u4e0b\u306e\u6d41\u308c\u306b\u306a\u308a\u307e\u3059\u3002<br>(1)\u96db\u5f62\u306b\u306a\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u30fb\u30fb\u30fb\u624b\u52d5(URL\u304b\u3089\u30d5\u30a1\u30a4\u30ebID\u3092\u30e1\u30e2\u3057\u3066\u304a\u304f)<br>(2)\u96db\u5f62\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u7528\u306b\u30b3\u30d4\u30fc\u30fb\u30fb\u30fbGoogle Drive\u306eAPI\u306efile\/copy<br>(3)\u30b3\u30d4\u30fc\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u6307\u5b9a\u6587\u5b57\u5217\uff08\u5b9b\u540d\u306a\u3069\uff09\u3092\u3001Bubble\u306eDB\u306e\u5024\u306b\u5f93\u3063\u3066\u7f6e\u63db\u30fb\u30fb\u30fbGoogle Docs\u306eAPI\u306edocuments\/batchUpdate<br>(4)\u7f6e\u63db\u6e08\u307f\u306e\u30d5\u30a1\u30a4\u30eb\u3092PDF\u5316\u30fb\u30fb\u30fbGoogle\r\n    Drive\u306eAPI\u306eFiles\/export\r\n    <br>(5)PDF\u30d5\u30a1\u30a4\u30eb\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30fb\u30fb\u30fbFile Downloader\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u6e21\u3059<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"API%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88%E3%82%92%E6%8E%A2%E3%81%99\"><\/span>API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u63a2\u3059<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u4e0a\u8a18\u306e(2),(3),(4)\u306eAPI\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u8abf\u3079\u307e\u3059\u3002<br>(2)\u96db\u5f62\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u7528\u306b\u30b3\u30d4\u30fc\u30fb\u30fb\u30fbGoogle Drive\u306efile\/copy\u30fb\u30fb\u30fb<a href=\"https:\/\/developers.google.com\/drive\/api\/v3\/reference\/files\/copy\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/developers.google.com\/drive\/api\/v3\/reference\/files\/copy<\/a><br>(3)\u30b3\u30d4\u30fc\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u6307\u5b9a\u6587\u5b57\u5217\uff08\u5b9b\u540d\u306a\u3069\uff09\u3092\u3001Bubble\u306eDB\u306e\u5024\u306b\u5f93\u3063\u3066\u7f6e\u63db\u30fb\u30fb\u30fbdocuments\/batchUpdate\u30fb\u30fb\u30fb\r\n    <a href=\"https:\/\/developers.google.com\/docs\/api\/reference\/rest\/v1\/documents\/batchUpdate\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/developers.google.com\/docs\/api\/reference\/rest\/v1\/documents\/batchUpdate<\/a><br>(4)\u7f6e\u63db\u6e08\u307f\u306e\u30d5\u30a1\u30a4\u30eb\u3092PDF\u5316\u30fb\u30fb\u30fbFiles\/export\u30fb\u30fb\u30fb\r\n    <a href=\"https:\/\/developers.google.com\/drive\/api\/v3\/reference\/files\/export\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/developers.google.com\/drive\/api\/v3\/reference\/files\/export<\/a>\r\n<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"API%E3%83%89%E3%82%AD%E3%83%A5%E3%83%A1%E3%83%B3%E3%83%88%E3%82%92%E8%A6%8B%E3%81%A6%E3%83%91%E3%83%A9%E3%83%A1%E3%82%BF%E3%82%92%E6%8A%8A%E6%8F%A1%E3%81%99%E3%82%8B\"><\/span>API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u898b\u3066\u30d1\u30e9\u30e1\u30bf\u3092\u628a\u63e1\u3059\u308b<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u898b\u306a\u304c\u3089\u3001\u5fc5\u8981\u306a\u30d1\u30e9\u30e1\u30bf\u3092\u628a\u63e1\u3057\u307e\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001(2)\u306e\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fc\u3092\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\r\n<p>\u307e\u305a<a href=\"https:\/\/developers.google.com\/drive\/api\/v3\/reference\/files\/copy\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">\u3053\u3053<\/a>\u304b\u3089API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u898b\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf2\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439099\/picture_pc_84fe030fcb994a49d0c68ef433bf848c.png?width=800\" width=\"620\" height=\"327\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf3\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439131\/picture_pc_102f9d6e36f02c129b679c081060741c.png?width=800\" width=\"620\" height=\"414\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf4\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439320\/picture_pc_9cbe4cbe4f43e9fd35252f2b20084d5c.png?width=800\" width=\"620\" height=\"351\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>Request\u306e\u9805\u76ee\u3092\u898b\u308b\u3068\u3001API\u306e\u547c\u3073\u51fa\u3057\u306b\u5fc5\u8981\u306aURL\u3084\u30e1\u30bd\u30c3\u30c9\u3084\u30d1\u30e9\u30e1\u30bf\u3084body\u306e\u4e2d\u8eab\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf5\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439432\/picture_pc_a55184d4498435cf701be8a386aa10ca.png?width=800\" width=\"620\" height=\"95\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>Response\u306e\u9805\u76ee\u3092\u898b\u308b\u3068\u3001\u623b\u308a\u5024\u304c\u5206\u304b\u308a\u307e\u3059\u3002Files resource\u3068\u3044\u3046\u5f62\u5f0f\u3067\u8fd4\u3063\u3066\u304f\u308b\u306e\u3067\u3001\u898b\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf6\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439603\/picture_pc_23229386bbf244f24b2074c0c2dace57.png?width=800\" width=\"620\" height=\"369\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>id\u3084name\u306a\u3069\u3092\u542b\u3093\u3060JSON\u5f62\u5f0f\u3067\u8fd4\u3063\u3066\u304f\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf7\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439710\/picture_pc_61df25fff008fecef405d3fc72281006.png?width=800\" width=\"620\" height=\"345\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u4e0b\u306e\u307b\u3046\u306b\u3042\u308b\u300cTry this API\u300d\u306e\u62e1\u5927\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u3001\u30d1\u30e9\u30e1\u30bf\u3092\u5165\u308c\u3066\u3001\u3069\u3046\u3044\u3063\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u304c\u9001\u4fe1\u3055\u308c\u308b\u304b\u3092\u898b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf8\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439952\/picture_pc_3b3351902f8d02854d2413f2213da859.png?width=800\" width=\"620\" height=\"295\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf9\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53439962\/picture_pc_a26388fab59e513215c58407a2edb860.png?width=800\" width=\"620\" height=\"305\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u30d5\u30a1\u30a4\u30ebID\u304c\u300cabcd1234\u300d\u3001\u65b0\u3057\u3044\u540d\u524d\u3092\u300crecept-new-01\u300d\u306b\u3057\u305f\u6642\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u306f\u4e0a\u8a18\u306e\u753b\u50cf\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<br>URL\u306b\u30d5\u30a1\u30a4\u30ebID\u3084\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u3092\u542b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3001\u30d8\u30c3\u30c0\u306b3\u7a2e\u985e\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3001\u5909\u66f4\u3059\u308b\u5185\u5bb9\u306fbody\u306b\u5165\u308c\u308b\u3053\u3068\u3082\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Bubble%E3%81%AEAPI_Connector%E3%82%92%E8%A8%AD%E5%AE%9A%E3%81%99%E3%82%8B\"><\/span>Bubble\u306eAPI Connector\u3092\u8a2d\u5b9a\u3059\u308b<br>\r\n<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>API\u306e\u547c\u3073\u51fa\u3057\u306b\u5fc5\u8981\u306a\u60c5\u5831\u304c\u5206\u304b\u3063\u305f\u306e\u3067\u3001Bubble\u3067\u753b\u9762\u3092\u4f5c\u308a\u3001API Connector\u306b\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u30c7\u30e2\u7528\u306b\u3001\u30d5\u30a1\u30a4\u30ebID\u3068\u30b3\u30d4\u30fc\u5f8c\u306e\u540d\u524d\u3092\u5165\u529b\u3057\u3066\u5b9f\u884c\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u30b3\u30d4\u30fc\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf10\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53441170\/picture_pc_755698fbd21401281bcdf9dfc06f540a.png?width=800\" width=\"620\" height=\"271\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u30c7\u30b6\u30a4\u30f3\u30bf\u30d6\u3067\u3001input\u3084Button\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<\/p>\r\n<p>\u30d7\u30e9\u30b0\u30a4\u30f3\u30bf\u30d6\u3067\u3001API Connector\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002<br>\u300cAdd another call\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u3001\u5b9a\u7fa9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf14\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53443737\/picture_pc_31a3d8f1121886e2963a8584c8901919.png?width=800\" width=\"620\" height=\"417\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u4ee5\u4e0b\u306e4\u7b87\u6240\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<br>(1)URL\u3084\u30e1\u30bd\u30c3\u30c9\u3068\u3001Use as<br>(2)\u30d8\u30c3\u30c0<br>(3)body<br>(4)\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5f62\u5f0f<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"API_Connector%E3%81%AE%E8%A8%AD%E5%AE%9A1URL%E3%82%84%E3%83%A1%E3%82%BD%E3%83%83%E3%83%89\"><\/span>API Connector\u306e\u8a2d\u5b9a(1)URL\u3084\u30e1\u30bd\u30c3\u30c9<br>\r\n<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf16\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53444492\/picture_pc_0f9c0f72c79796c105d264aa508c27f9.png?width=800\" width=\"620\" height=\"130\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u30e1\u30bd\u30c3\u30c9\u3092POST\u3001URL\u3092\u30b3\u30d4\u30da\u3067\u6307\u5b9a\u3057\u307e\u3059\u3002[ ]\u3092\u4f7f\u3046\u3068\u3001\u5f8c\u304b\u3089\u5024\u304c\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059(\u5f8c\u8ff0)\u3002<br>\u300cUse as\u300d\u3092Action\u306b\u5909\u66f4\u3057\u307e\u3059\u3002\u3053\u308c\u3092\u5fd8\u308c\u308b\u3068\u3001\u5f8c\u8ff0\u306eWorkflow\u3067\u4e00\u89a7\u306b\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"API_Connector%E3%81%AE%E8%A8%AD%E5%AE%9A2%E3%83%98%E3%83%83%E3%83%80\"><\/span>API Connector\u306e\u8a2d\u5b9a(2)\u30d8\u30c3\u30c0<br>\r\n<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf13\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53443068\/picture_pc_93d54c1f97c2fb19f0cc42d1c89abf38.png?width=800\" width=\"620\" height=\"136\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u30d8\u30c3\u30c0\u30923\u3064\u6307\u5b9a\u3057\u307e\u3059\u3002[ ]\u3092\u4f7f\u3046\u3068\u3001\u5f8c\u304b\u3089\u5024\u304c\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059(\u5f8c\u8ff0)\u3002 Accept\u3068Content-Type\u306f\u5f8c\u304b\u3089\u5909\u66f4\u3057\u306a\u3044\u306e\u3067\u300cPrivate\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u3044\u308c\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"API_Connector%E3%81%AE%E8%A8%AD%E5%AE%9A3body\"><\/span>API Connector\u306e\u8a2d\u5b9a(3)body<br>\r\n<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf14\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53443362\/picture_pc_20353c1462f5216453841958d290bc23.png?width=800\" width=\"620\" height=\"219\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u300cTry this API\u300d\u3067\u4f5c\u3063\u305fJSON\u3092\u30b3\u30d4\u30da\u3057\u3001\u5024\u306e\u90e8\u5206\u3092< >\u3067\u304f\u304f\u3063\u3066\u3001\u5f8c\u304b\u3089\u5909\u66f4\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<br><\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"API_Connector%E3%81%AE%E8%A8%AD%E5%AE%9A4%E3%83%AC%E3%82%B9%E3%83%9D%E3%83%B3%E3%82%B9%E3%81%AE%E5%BD%A2%E5%BC%8F\"><\/span>API Connector\u306e\u8a2d\u5b9a(4)\u30ec\u30b9\u30dd\u30f3\u30b9\u306e\u5f62\u5f0f<br>\r\n<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u300cManually enter API response\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u300cResource representations\u300d\u304b\u3089\u3001\u5fc5\u8981\u306a\u9805\u76ee\u3092\u30b3\u30d4\u30da\u3057\u3001\u5024\u3092\u201d\u201d\u3067\u304f\u304f\u308a\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf15\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53444109\/picture_pc_eefc7d775f2863c00d813307ec16dbee.png?width=800\" width=\"620\" height=\"399\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf16\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53444121\/picture_pc_ad10fafa01016ef613c9d4a41875e3d9.png?width=800\" width=\"620\" height=\"381\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Workflow%E3%81%AE%E8%A8%AD%E5%AE%9A\"><\/span>Workflow\u306e\u8a2d\u5b9a<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u305f\u3089\u30d1\u30e9\u30e1\u30bf\u3092\u6e21\u3057\u3066API\u3092\u547c\u3073\u51fa\u3059\u3088\u3046\u306b\u3001Workflow\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Workflow%E3%81%AE%E8%A8%AD%E5%AE%9A12%E3%83%88%E3%83%BC%E3%82%AF%E3%83%B3%E3%81%AE%E3%83%AA%E3%83%95%E3%83%AC%E3%83%83%E3%82%B7%E3%83%A5%E5%BF%85%E8%A6%81%E3%81%AB%E5%BF%9C%E3%81%98%E3%81%A6\"><\/span>Workflow\u306e\u8a2d\u5b9a(1,2)\u30c8\u30fc\u30af\u30f3\u306e\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5(\u5fc5\u8981\u306b\u5fdc\u3058\u3066)<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf22\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53691358\/picture_pc_65334c46f4dec39a3cace8f9d2124fbc.png?width=800\" width=\"620\" height=\"762\" class=\"lazyload is-slide\" style=\"width: 372px; height: 457.2px;\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf22\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53445993\/picture_pc_9285aecfff1fbf06aa72b68e8b7b0eff.png?width=800\" width=\"620\" height=\"509\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u30a2\u30af\u30bb\u30b9\u30c8\u30fc\u30af\u30f3\u306e\u671f\u9650\u304c\u5207\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u30ea\u30d5\u30ec\u30c3\u30b7\u30e5\u3057\u3066DB\u3092\u66f4\u65b0\u3057\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Workflow%E3%81%AE%E8%A8%AD%E5%AE%9A3%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E3%82%B3%E3%83%94%E3%83%BCAPI%E3%81%AE%E5%91%BC%E3%81%B3%E5%87%BA%E3%81%97\"><\/span>Workflow\u306e\u8a2d\u5b9a(3)\u30d5\u30a1\u30a4\u30eb\u30b3\u30d4\u30fcAPI\u306e\u547c\u3073\u51fa\u3057<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf22\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53446013\/picture_pc_8f26861244cb81f033cf6231f20e971f.png?width=800\" width=\"620\" height=\"416\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u305d\u308c\u305e\u308c\u5024\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<br>FILEID\u3068new_file_name\u306f\u5165\u529b\u6b04\u304b\u3089\u3001YOUR_API_KEY\u306fDB\u306b\u683c\u7d0d\u3057\u3066\u304a\u3044\u305fclient_id\u3001Authorization\u306fDB\u306b\u683c\u7d0d\u3057\u3066\u304a\u3044\u305faccess_token\u304b\u3089\u4ee3\u5165\u3057\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Workflow%E3%81%AE%E8%A8%AD%E5%AE%9A4%E6%88%BB%E3%82%8A%E5%80%A4%E3%82%92DB%E3%81%AB%E4%BF%9D%E5%AD%98\"><\/span>Workflow\u306e\u8a2d\u5b9a(4)\u623b\u308a\u5024\u3092DB\u306b\u4fdd\u5b58<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf22\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53446030\/picture_pc_82fba7393dbeb959c7e4a0f1a02d553c.png?width=800\" width=\"620\" height=\"335\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>step4\u3067\u3001\u623b\u308a\u5024\u306e\u30d5\u30a1\u30a4\u30ebID\u3092DB\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u300cResult of step3\u300d\u3092\u4f7f\u3063\u3066\u3001step3\u3067API\u3092\u547c\u3073\u51fa\u3057\u305f\u969b\u306e\u623b\u308a\u5024\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"%E5%8B%95%E4%BD%9C%E7%A2%BA%E8%AA%8D\"><\/span>\u52d5\u4f5c\u78ba\u8a8d<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf19\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53445190\/picture_pc_f2c67bbf4f2a43ac01b18d02d8669ffb.png?width=800\" width=\"620\" height=\"314\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf28\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53694413\/picture_pc_fbb15855f59fcfbdb345ff2344901f68.png?width=800\" width=\"620\" height=\"449\" class=\"lazyload is-slide\" style=\"width: 372px; height: 269.4px;\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u30d5\u30a1\u30a4\u30ebID\u3068\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5165\u308c\u3066\u30dc\u30bf\u30f3\u3092\u62bc\u3059\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u30b3\u30d4\u30fc\u3055\u308c\u307e\u3059\u3002<br>Google Docs\u306e\u753b\u9762\u3067\u3001\u30d5\u30a1\u30a4\u30eb\u304c\u30b3\u30d4\u30fc\u3055\u308c\u3066\u3044\u308b\u306e\u304c\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"%E6%96%87%E5%AD%97%E5%88%97%E3%81%AE%E7%BD%AE%E6%8F%9B\"><\/span>\u6587\u5b57\u5217\u306e\u7f6e\u63db<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u3042\u3068\u306fAPI\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u898b\u306a\u304c\u3089\u3001\u5404API\u306b\u30d1\u30e9\u30e1\u30bf\u3092\u6307\u5b9a\u3057\u3066\u623b\u308a\u5024\u3092\u78ba\u8a8d\u3059\u308c\u3070OK\u3067\u3059\u3002<br>\u7f6e\u63db\u306b\u4f7f\u3046JSON\u306f\u3001API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306e\u300cTry this API\u300d\u3092\u4f7f\u3063\u3066\u751f\u6210\u3059\u308b\u3068\u697d\u3067\u3059\u3002<\u3068>\u3067\u304f\u304f\u308b\u3068\u3001Workflow\u304b\u3089\u5024\u304c\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<br>\u306a\u304a\u3001URL\u306b\u300c?key=\u300d\u3092\u542b\u3081\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002(API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f\u542b\u3081\u308b\u66f8\u304d\u65b9\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u304c)<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf24\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53692617\/picture_pc_7b2e054cf5083c2bdfca34826a255452.jpg?width=800\" width=\"620\" height=\"261\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf25\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53692645\/picture_pc_7b8d34af3c38ad80244b1b2173bf2d90.png?width=800\" width=\"620\" height=\"440\" class=\"lazyload is-slide\" tabindex=\"0\" role=\"button\"><\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"PDF%E5%8C%96%E3%81%A8%E3%83%80%E3%82%A6%E3%83%B3%E3%83%AD%E3%83%BC%E3%83%89\"><\/span>PDF\u5316\u3068\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>PDF\u51fa\u529b\u306f\u3001 https:\/\/www.googleapis.com\/drive\/v3\/files\/[FILEID]\/export?mimeType=application%2fpdf&key=[YOUR_API_KEY] \u3067\u3067\u304d\u307e\u3059\u3002<br>mimeType\u306fURL\u90e8\u5206\u306b\u76f4\u66f8\u304d\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u3001\u30d1\u30e9\u30e1\u30bf\u3067\u6e21\u305d\u3046\u3068\u3059\u308b\u3068\u300c\/\u300d\u4ed8\u8fd1\u304c\u5999\u306aURL\u30a8\u30f3\u30b3\u30fc\u30c9\u3092\u3055\u308c\u3066\u30a8\u30e9\u30fc\u306b\u306a\u308a\u307e\u3059\u3002<br>\u307e\u305f\u3001API\u306e\u51fa\u529b\u3092JSON\u3067\u306f\u306a\u304fFILE\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001Initialize\u306e\u6642\u306b\u5b9f\u969b\u306e\u30c7\u30fc\u30bf\u3092\u6e21\u3055\u306a\u3044\u3068\u521d\u671f\u5316\u3057\u3066\u304f\u308c\u306a\u3044\u305f\u3081\u3001\u6700\u521d\u3060\u3051\u306f\u59a5\u5f53\u306a\u30d1\u30e9\u30e1\u30bf\u3092\u5165\u308c\u3066\u304a\u304f\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf26\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53693207\/picture_pc_4a523b901b10d449acdd3ff17309f0b2.jpg?width=800\" width=\"620\" height=\"402\" class=\"lazyload is-slide\" style=\"width: 372px; height: 241.2px;\" tabindex=\"0\" role=\"button\"><\/p>\r\n<p>\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u306f\u300cFile Downloader\u300d\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3044\u3001Dynamic Link\u306e\u9805\u76ee\u306b\u524d\u6bb5\u3067\u4f5c\u6210\u3057\u305fPDF\u30d5\u30a1\u30a4\u30eb\u306eURL\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf27\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53693593\/picture_pc_b82c3b4517ba94948afb44b4643c09fc.png?width=800\" width=\"620\" height=\"353\" class=\"lazyload is-slide\" style=\"width: 372px; height: 211.8px;\" tabindex=\"0\" role=\"button\"><\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Docs%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%89%8A%E9%99%A4\"><\/span>Docs\u30d5\u30a1\u30a4\u30eb\u524a\u9664<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u751f\u6210\u3057\u305fDocs\u30d5\u30a1\u30a4\u30eb\u306f\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u305f\u3089\u4f7f\u7528\u3057\u306a\u3044\u306e\u3067\u3001\u524a\u9664\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>https:\/\/www.googleapis.com\/drive\/v3\/files\/[fileId] \u306bDELETE\u30e1\u30bd\u30c3\u30c9\u3067\u9001\u4fe1\u3057\u307e\u3059\u3002\u623b\u308a\u5024\u306f\u3042\u308a\u307e\u305b\u3093\u3002API\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u306f<a href=\"https:\/\/developers.google.com\/drive\/api\/v3\/reference\/files\/delete\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">\u3053\u3061\u3089<\/a>\u3067\u3059\u3002<br><\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\u753b\u50cf23\" src=\"https:\/\/assets.st-note.com\/production\/uploads\/images\/53692258\/picture_pc_a74c5a42a7b1be1b7bc0e51636d046b0.jpg?width=800\" width=\"620\" height=\"448\" class=\"lazyload is-slide\" style=\"width: 372px; height: 268.8px;\" tabindex=\"0\" role=\"button\"><\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"%E5%8F%82%E8%80%83%E3%83%AA%E3%83%B3%E3%82%AF\"><\/span>\u53c2\u8003\u30ea\u30f3\u30af<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>API Connector\u306e\u4f7f\u3044\u65b9\u306f\u3001\u30ce\u30fc\u30b3\u30fc\u30c9\u30e9\u30dc\u3055\u3093\u306e\u4ee5\u4e0b\u306e\u30da\u30fc\u30b8\u304c\u5206\u304b\u308a\u3084\u3059\u3044\u3067\u3059\u3002<br>\u30fbBubble\u3067API\u3092\u4f7f\u3063\u3066\u307f\u3088\u3046!<br><a href=\"https:\/\/blog.nocodelab.jp\/entry\/2019\/12\/03\/Bubble%E3%81%A7API%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86%21\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/blog.nocodelab.jp\/entry\/2019\/12\/03\/Bubble%E3%81%A7API%E3%82%92%E4%BD%BF%E3%81%A3%E3%81%A6%E3%81%BF%E3%82%88%E3%81%86%21<\/a><br><\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"%E7%B5%82%E3%82%8F%E3%82%8A%E3%81%AB\"><\/span>\u7d42\u308f\u308a\u306b<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>\u3044\u304b\u304c\u3067\u3057\u305f\u3067\u3057\u3087\u3046\u304b\uff1f\u9577\u3044\u8a18\u4e8b\u306b\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u4e00\u5ea6\u3084\u3063\u3066\u3057\u307e\u3048\u3070\u5f8c\u306f\u30b3\u30d4\u30da\u4f5c\u696d\u304c\u5927\u534a\u306a\u306e\u3067\u96e3\u3057\u304f\u306a\u3044\u3068\u601d\u3044\u307e\u3059\u3002<br>Google API\u3092\u4f7f\u3046\u3068\u53ef\u80fd\u6027\u304c\u5927\u304d\u304f\u5e83\u304c\u308a\u307e\u3059\u306e\u3067\u3001\u7686\u3055\u3093\u30c1\u30e3\u30ec\u30f3\u30b8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<p><br><\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u3005\u56de\u3001\u524d\u56de\u3068\u3001Bubble\u3067Google Docs\u306bAPI\u7d4c\u7531\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u6e96\u5099\u3092\u884c\u3044\u307e\u3057\u305f\u3002\u4eca\u56de\u306f\u3044\u3088\u3044\u3088\u5b9f\u969b\u306bGoogle\u306eAPI\u306b\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002\u4f8b\u3068\u3057\u3066\u3001Bubble\u306eDB\u3092\u5143\u306b\u9818\u53ce\u66f8\u3092\u4f5c\u6210\u3057\u3066PDF\u3067\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3059\u308b\u51e6\u7406\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"author":1,"featured_media":6149,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4058,4052,4293,4053,4054],"tags":[4055,4049,4047,4292,4048],"class_list":["post-1009","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api","category-nocode","category-pdf","category-4053","category-4054","tag-api","tag-bubble","tag-nocode","tag-pdf","tag-4048"],"_links":{"self":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts\/1009","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1009"}],"version-history":[{"count":1,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts\/1009\/revisions"}],"predecessor-version":[{"id":6150,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/posts\/1009\/revisions\/6150"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=\/wp\/v2\/media\/6149"}],"wp:attachment":[{"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1009"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1009"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jansnap.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1009"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}