{"id":2449,"date":"2023-07-04T09:16:11","date_gmt":"2023-07-04T00:16:11","guid":{"rendered":"https:\/\/wordpress.realcollector.jp\/blog\/?p=2449"},"modified":"2023-07-04T09:16:11","modified_gmt":"2023-07-04T00:16:11","slug":"api","status":"publish","type":"post","link":"https:\/\/wordpress.realcollector.jp\/blog\/?p=2449","title":{"rendered":"API"},"content":{"rendered":"<p>API\uff08Application Programming Interface\uff09\u3068\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u6a5f\u80fd\u3084\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3059\u3002API\u306f\u3001\u958b\u767a\u8005\u306b\u5bfe\u3057\u3066\u7279\u5b9a\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3084\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u6a5f\u80fd\u3092\u5229\u7528\u3059\u308b\u305f\u3081\u306e\u624b\u6bb5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30e2\u30d0\u30a4\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u30c7\u30fc\u30bf\u3084\u6a5f\u80fd\u3092\u5916\u90e8\u306e\u958b\u767a\u8005\u306b\u63d0\u4f9b\u3059\u308b\u5834\u5408\u3001API\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3067\u5bb9\u6613\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>API\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540c\u58eb\u304c\u5bfe\u8a71\u3059\u308b\u305f\u3081\u306e\u30d7\u30ed\u30c8\u30b3\u30eb\u3084\u30eb\u30fc\u30eb\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u958b\u767a\u8005\u306fAPI\u3092\u4f7f\u7528\u3057\u3066\u3001\u4ed6\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3084\u30b5\u30fc\u30d3\u30b9\u306e\u6a5f\u80fd\u3092\u547c\u3073\u51fa\u3057\u3001\u7d50\u679c\u3092\u53d6\u5f97\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u3057\u3066\u3001\u7570\u306a\u308b\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u540c\u58eb\u3092\u9023\u643a\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u3088\u308a\u5e83\u7bc4\u306a\u6a5f\u80fd\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>API\u306e\u7279\u5fb4\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30ea\u30b9\u30c8\u30a2\u30c3\u30d7\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\uff1a 1. \u62e1\u5f35\u6027: API\u306f\u3001\u65b0\u3057\u3044\u6a5f\u80fd\u3084\u30c7\u30fc\u30bf\u3092\u8ffd\u52a0\u3059\u308b\u305f\u3081\u306e\u67d4\u8edf\u306a\u624b\u6bb5\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u958b\u767a\u8005\u306f\u65e2\u5b58\u306eAPI\u3092\u4f7f\u7528\u3057\u3066\u65b0\u3057\u3044\u6a5f\u80fd\u3092\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>2. \u518d\u5229\u7528\u6027: API\u306f\u8907\u6570\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3084\u30b5\u30fc\u30d3\u30b9\u3067\u5171\u6709\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001Google Maps API\u306f\u591a\u304f\u306e\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3084\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>3. \u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306e\u62bd\u8c61\u5316: API\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u5185\u90e8\u306e\u5b9f\u88c5\u306e\u8a73\u7d30\u3092\u96a0\u853d\u3057\u3001\u7c21\u6f54\u306a\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u958b\u767a\u8005\u306f\u9ad8\u5ea6\u306a\u77e5\u8b58\u3092\u5fc5\u8981\u3068\u305b\u305a\u306bAPI\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>4. \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3: API\u306f\u3001\u30a2\u30af\u30bb\u30b9\u5236\u5fa1\u3084\u30c7\u30fc\u30bf\u306e\u6697\u53f7\u5316\u306a\u3069\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u6a5f\u80fd\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001\u30c7\u30fc\u30bf\u306e\u4fdd\u8b77\u3084\u6a29\u9650\u306e\u7ba1\u7406\u304c\u5bb9\u6613\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>5. \u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3: API\u306f\u4e00\u822c\u306b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u304c\u63d0\u4f9b\u3055\u308c\u307e\u3059\u3002\u3053\u306e\u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u306b\u306f\u3001API\u306e\u5229\u7528\u65b9\u6cd5\u3084\u4f7f\u7528\u4f8b\u3001\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u8aac\u660e\u306a\u3069\u304c\u542b\u307e\u308c\u3066\u3044\u307e\u3059\u3002\u958b\u767a\u8005\u306f\u3053\u306e\u60c5\u5831\u3092\u4f7f\u7528\u3057\u3066API\u3092\u6b63\u3057\u304f\u5b9f\u88c5\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306fAPI\u306b\u95a2\u3059\u308b\u53c2\u8003\u6587\u732e\u306e\u4e00\u90e8\u3067\u3059\uff08URL\u3082\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u53c2\u7167\u53ef\u80fd\u306a\u6587\u732e\uff09\uff1a 1. \u300cAPI\u3068\u306f\u4f55\u304b\u300d(<a href=\"https:\/\/www.ibm.com\/developerworks\/jp\/websphere\/library\/bd-apieai\/\">https:\/\/www.ibm.com\/developerworks\/jp\/websphere\/library\/bd-apieai\/<\/a>) 2. \u300cAPI \u30c9\u30ad\u30e5\u30e1\u30f3\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u66f8\u304d\u65b9\u300d(<a href=\"https:\/\/dev.classmethod.jp\/articles\/how-to-write-api-documentation\/\">https:\/\/dev.classmethod.jp\/articles\/how-to-write-api-documentation\/<\/a>) 3. \u300cREST API\u57fa\u672c\u30ac\u30a4\u30c9\u300d(<a href=\"https:\/\/qiita.com\/ptown_app\/items\/0ff024bf2c93af29cc29\">https:\/\/qiita.com\/ptown_app\/items\/0ff024bf2c93af29cc29<\/a>) 4. \u300cAPI\u30c7\u30b6\u30a4\u30f3\u306e\u6e96\u5099\uff08\u7b2c\u4e00\u56de\uff09\uff1a\u521d\u3081\u3066\u306eAPI\u8a2d\u8a08 &#8211; \u524d\u7de8\u300d(<a href=\"https:\/\/employment.en-japan.com\/engineerhub\/entry\/2019\/05\/29\/103000\">https:\/\/employment.en-japan.com\/engineerhub\/entry\/2019\/05\/29\/103000<\/a>) 5. \u300cWeb API\u958b\u767a\u30ac\u30a4\u30c9\u300d(<a href=\"https:\/\/developers.google.com\/web\/fundamentals\/integration\/web-apis\/\">https:\/\/developers.google.com\/web\/fundamentals\/integration\/web-apis\/<\/a>)<\/p>\n<p><a href=\"https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91.png\" rel=\"attachment wp-att-2450\"><img loading=\"lazy\" decoding=\"async\" data-attachment-id=\"2450\" data-permalink=\"https:\/\/wordpress.realcollector.jp\/blog\/?attachment_id=2450\" data-orig-file=\"https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91.png\" data-orig-size=\"512,512\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"current_stablediffusion_api_response\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91-300x300.png\" data-large-file=\"https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91.png\" src=\"https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91.png\" alt=\"\" title=\"current_stablediffusion_api_response-91-png\" width=\"1024\" height=\"1024\" class=\"alignnone size-full wp-image-2450\" srcset=\"https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91.png 512w, https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91-300x300.png 300w, https:\/\/wordpress.realcollector.jp\/blog\/wp-content\/uploads\/2023\/07\/current_stablediffusion_api_response-91-150x150.png 150w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>API\uff08Application Programming Interface\uff09\u3068\u306f\u3001\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u306e\u6a5f\u80fd\u3084\u30c7\u30fc\u30bf\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u3067\u3059\u3002API\u306f\u3001\u958b\u767a\u8005\u306b\u5bfe\u3057\u3066\u7279\u5b9a\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u3084\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306e\u6a5f\u80fd\u3092\u5229 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[786,609,608,104,787],"class_list":["post-2449","post","type-post","status-publish","format-standard","hentry","category-chatgpt_gpt-3-5-turbo","tag-api","tag-csv","tag-608","tag-104","tag-787"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2449"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2449\/revisions"}],"predecessor-version":[{"id":2451,"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2449\/revisions\/2451"}],"wp:attachment":[{"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.realcollector.jp\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}