{"id":97392,"date":"2024-10-26T14:49:45","date_gmt":"2024-10-26T06:49:45","guid":{"rendered":"https:\/\/www.073980.com\/?p=97392"},"modified":"2024-10-26T14:49:47","modified_gmt":"2024-10-26T06:49:47","slug":"api%e8%ae%a4%e8%af%81%e6%98%af%e4%bb%80%e4%b9%88%e6%84%8f%e6%80%9d","status":"publish","type":"post","link":"https:\/\/www.073980.com\/97392.htm","title":{"rendered":"API\u8ba4\u8bc1\u662f\u4ec0\u4e48\u610f\u601d?"},"content":{"rendered":"\n

\u5728\u5f53\u4eca\u5168\u7403\u5316\u7684\u77f3\u6cb9\u548c\u5929\u7136\u6c14\u5de5\u4e1a\u4e2d\uff0c\u786e\u4fdd\u8bbe\u5907\u7684\u5b89\u5168\u3001\u53ef\u9760\u548c\u4e92\u6362\u6027\u81f3\u5173\u91cd\u8981\u3002\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\uff0cAPI(American Petroleum Institute\uff0c\u7f8e\u56fd\u77f3\u6cb9\u5b66\u4f1a)\u8ba4\u8bc1\u5e94\u8fd0\u800c\u751f\u3002API\u8ba4\u8bc1\u4e0d\u4ec5\u4ee3\u8868\u4e86\u56fd\u9645\u5e02\u573a\u7684\u901a\u884c\u8bc1\uff0c\u66f4\u662f\u4f01\u4e1a\u56fd\u9645\u5316\u548c\u9ad8\u8d28\u91cf\u7684\u8c61\u5f81\u3002<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

API\u8ba4\u8bc1\u7684\u542b\u4e49<\/h2>\n\n\n\n

API\u8ba4\u8bc1\u662f\u7531\u7f8e\u56fd\u77f3\u6cb9\u5b66\u4f1a\u9881\u53d1\u7684\u4e00\u79cd\u6743\u5a01\u8ba4\u8bc1\uff0c\u65e8\u5728\u786e\u4fdd\u77f3\u6cb9\u548c\u5929\u7136\u6c14\u5de5\u4e1a\u6240\u7528\u8bbe\u5907\u7b26\u5408\u7279\u5b9a\u7684\u5b89\u5168\u3001\u53ef\u9760\u548c\u4e92\u6362\u6027\u6807\u51c6\u3002API\u6210\u7acb\u4e8e1919\u5e74\uff0c\u662f\u7f8e\u56fd\u7b2c\u4e00\u5bb6\u56fd\u5bb6\u7ea7\u7684\u5546\u4e1a\u534f\u4f1a\uff0c\u4e5f\u662f\u5168\u4e16\u754c\u8303\u56f4\u5185\u6700\u65e9\u3001\u6700\u6210\u529f\u7684\u5236\u5b9a\u6807\u51c6\u7684\u5546\u4f1a\u4e4b\u4e00\u3002API\u7684\u4e00\u9879\u91cd\u8981\u4efb\u52a1\u5c31\u662f\u8d1f\u8d23\u77f3\u6cb9\u548c\u5929\u7136\u6c14\u5de5\u4e1a\u7528\u8bbe\u5907\u7684\u6807\u51c6\u5316\u5de5\u4f5c\uff0c\u901a\u8fc7\u5236\u5b9a\u534f\u8c03\u6807\u51c6\uff0c\u786e\u4fdd\u5de5\u4e1a\u754c\u6240\u7528\u8bbe\u5907\u7684\u8d28\u91cf\u4e0e\u5b89\u5168\u3002<\/p>\n\n\n\n

API\u8ba4\u8bc1\u6807\u51c6\u4e0d\u4ec5\u5728\u56fd\u5185\u88ab\u4f01\u4e1a\u91c7\u7528\uff0c\u8fd8\u88ab\u7f8e\u56fd\u8054\u90a6\u548c\u5dde\u6cd5\u5f8b\u6cd5\u89c4\u4ee5\u53ca\u591a\u4e2a\u653f\u5e9c\u673a\u6784\u5f15\u7528\u3002\u6b64\u5916\uff0cAPI\u6807\u51c6\u8fd8\u5728\u4e16\u754c\u8303\u56f4\u5185\u88abISO\u3001\u56fd\u9645\u6cd5\u5236\u8ba1\u91cf\u7ec4\u7ec7\u548c100\u591a\u4e2a\u56fd\u5bb6\u6807\u51c6\u6240\u5f15\u7528\uff0c\u663e\u793a\u4e86\u5176\u5e7f\u6cdb\u7684\u56fd\u9645\u8ba4\u53ef\u5ea6\u548c\u5f71\u54cd\u529b\u3002<\/p>\n\n\n\n

API\u8ba4\u8bc1\u6d41\u7a0b<\/h2>\n\n\n\n

\u7b56\u5212\u4e0e\u51c6\u5907<\/strong>\uff1a\u516c\u53f8\u9996\u5148\u9700\u8981\u7b56\u5212API\u8ba4\u8bc1\u7533\u8bf7\uff0c\u660e\u786e\u7533\u8bf7\u8981\u6c42\u548c\u76ee\u6807\u3002\u5fc5\u8981\u65f6\uff0c\u4e0e\u54a8\u8be2\u516c\u53f8\u7b7e\u8ba2\u534f\u8bae\uff0c\u4ee5\u83b7\u53d6\u4e13\u4e1a\u7684\u6307\u5bfc\u548c\u652f\u6301\u3002<\/p>\n\n\n\n

\u8d2d\u4e70\u6807\u51c6\u4e0e\u7f16\u5199\u6587\u4ef6<\/strong>\uff1a\u8d2d\u4e70API\u6b63\u7248\u6807\u51c6\uff0c\u5e76\u6309\u7167\u6807\u51c6\u8981\u6c42\u7f16\u5199\u8d28\u91cf\u7ba1\u7406\u4f53\u7cfb\u6587\u4ef6\u3002\u8fd9\u4e9b\u6587\u4ef6\u5305\u62ec\u8d28\u91cf\u624b\u518c\u3001\u7a0b\u5e8f\u6587\u4ef6\u3001\u6280\u672f\u89c4\u8303\u3001\u4f5c\u4e1a\u6587\u4ef6\u548c\u8868\u683c\u7b49\u3002\u6587\u4ef6\u7f16\u5199\u5b8c\u6210\u540e\uff0c\u9700\u53d1\u5e03\u5e76\u5b9e\u65bd\u8d28\u91cf\u4f53\u7cfb\u6587\u4ef6\uff0c\u5bf9\u5458\u5de5\u8fdb\u884c\u8d2f\u6807\u57f9\u8bad\uff0c\u786e\u4fdd\u5458\u5de5\u7406\u89e3\u5e76\u9075\u5b88\u76f8\u5173\u6807\u51c6\u3002<\/p>\n\n\n\n

\u4f53\u7cfb\u8fd0\u884c\u4e0e\u7533\u8bf7<\/strong>\uff1a\u4f53\u7cfb\u8fd0\u884c4\u4e2a\u6708\u540e\uff0c\u5c06\u300a\u8d28\u91cf\u624b\u518c\u300b\u7ffb\u8bd1\u6210\u82f1\u6587\u7248\uff0c\u5e76\u5728API mycert\u7f51\u7ad9\u4e0a\u6ce8\u518c\u548c\u9012\u4ea4\u7533\u8bf7\u3002\u7533\u8bf7\u8fc7\u7a0b\u4e2d\uff0c\u9700\u8981\u63d0\u4ea4\u82f1\u6587\u7248\u8d28\u91cf\u624b\u518c\u3001\u7533\u8bf7\u4e66\u548c\u534f\u8bae\u4e66\uff0c\u5e76\u7f34\u7eb3\u7533\u8bf7\u8d39\u3002<\/p>\n\n\n\n

\u73b0\u573a\u5ba1\u6838<\/strong>\uff1aAPI\u63a5\u53d7\u516c\u53f8\u7533\u8bf7\u540e\uff0c\u5c06\u5b89\u6392\u73b0\u573a\u5ba1\u6838\u3002\u5ba1\u6838\u5458\u5c06\u6309\u7167API\u5ba1\u6838\u8ba1\u5212\u548c\u68c0\u67e5\u8868\u8fdb\u884c\u9010\u9879\u68c0\u67e5\uff0c\u786e\u4fdd\u516c\u53f8\u8d28\u91cf\u7ba1\u7406\u4f53\u7cfb\u7b26\u5408API\u6807\u51c6\u8981\u6c42\u3002\u5ba1\u6838\u7ed3\u675f\u540e\uff0c\u5ba1\u6838\u5458\u5c06\u5f00\u5177\u4e0d\u7b26\u5408\u9879\uff0c\u5e76\u5728\u5ba1\u6838\u62a5\u544a\u4e2d\u63d0\u51fa\u5ba1\u6838\u610f\u89c1\u3002<\/p>\n\n\n\n

\u6574\u6539\u4e0e\u53d1\u8bc1<\/strong>\uff1a\u516c\u53f8\u9700\u8981\u572860\u5929\u5185\u5b8c\u6210\u6574\u6539\uff0c\u5e76\u5728mycert\u7f51\u7ad9\u4e0a\u4e0a\u4f20\u6574\u6539\u62a5\u544a\u3002API\u8bc4\u5ba1\u5458\u548c\u8bc4\u5ba1\u59d4\u5458\u4f1a\u5c06\u5bf9\u6574\u6539\u62a5\u544a\u8fdb\u884c\u8bc4\u5ba1\uff0c\u5982\u901a\u8fc7\u5219\u9881\u53d1API\u8bb8\u53ef\u8bc1\u4e66\u3002\u8bc1\u4e66\u53ef\u4ecemycert\u7f51\u7ad9\u4e0a\u4e0b\u8f7d\u7535\u5b50\u7248\u3002\u540c\u65f6\uff0c\u516c\u53f8\u9700\u8981\u5411API\u7f34\u7eb3\u73b0\u573a\u5ba1\u6838\u8d39\u3002<\/p>\n\n\n\n

\u4fdd\u6301\u4f53\u7cfb\u6709\u6548\u8fd0\u884c<\/strong>\uff1a\u83b7\u5f97API\u8ba4\u8bc1\u540e\uff0c\u516c\u53f8\u9700\u8981\u7ee7\u7eed\u4fdd\u6301\u8d28\u91cf\u4f53\u7cfb\u7684\u6709\u6548\u8fd0\u884c\uff0c\u8fce\u63a5\u4e0b\u4e00\u6b21\u5ba1\u6838\u3002\u901a\u8fc7\u6301\u7eed\u6539\u8fdb\u548c\u4f18\u5316\uff0c\u786e\u4fdd\u4ea7\u54c1\u8d28\u91cf\u548c\u5b89\u5168\u7ba1\u7406\u6c34\u5e73\u4e0d\u65ad\u63d0\u5347\u3002<\/p>\n\n\n\n

API\u8ba4\u8bc1\u7684\u4ea7\u54c1\u8303\u56f4<\/h2>\n\n\n\n

\u6cb9\u7530\u8bbe\u5907<\/strong>\uff1a\u5982\u6cb9\u7530\u4e09\u89d2\u76ae\u5e26(API Spec 1B)\u3001\u7ed3\u6784\u94a2\u7ba1(API Spec 2B)\u3001\u6d77\u4e0a\u5e73\u53f0\u8d77\u91cd\u673a(API Spec 2C)\u7b49\u3002<\/p>\n\n\n\n

\u6d77\u4e0a\u7ed3\u6784<\/strong>\uff1a\u5982\u6d77\u4e0a\u5e73\u53f0\u7ba1\u63a5\u5934\u7528\u78b3\u9530\u94a2\u677f(API Spec 2H)\u3001\u63d0\u9ad8\u97e7\u6027\u7684\u8f67\u5236\u78b3\u9530\u94a2\u677f(API Spec 2MT1)\u7b49\u3002<\/p>\n\n\n\n

\u7ba1\u7ebf\u7ba1<\/strong>\uff1a\u5982\u5957\u7ba1\u3001\u6cb9\u7ba1\u548c\u7ba1\u7ebf\u7ba1\u7528\u87ba\u7eb9(API Spec 5B)\u3001\u5957\u7ba1\u548c\u6cb9\u7ba1(API Spec 5CT)\u3001\u7ba1\u7ebf\u7ba1(API Spec 5L)\u7b49\u3002<\/p>\n\n\n\n

\u4e95\u53e3\u88c5\u7f6e\u4e0e\u9600\u95e8<\/strong>\uff1a\u5982\u4e95\u53e3\u88c5\u7f6e\u548c\u91c7\u6cb9\u6811(API Spec 6A)\u3001\u7ba1\u9053\u9600\u95e8(API Spec 6D)\u7b49\u3002<\/p>\n\n\n\n

\u94bb\u4e95\u8bbe\u5907<\/strong>\uff1a\u5982\u65cb\u8f6c\u94bb\u6746\u6784\u4ef6(API Spec 7)\u3001\u94bb\u4e95\u8bbe\u5907(API Spec 7K)\u7b49\u3002<\/p>\n\n\n\n

\u50a8\u6cb9\u7f50<\/strong>\uff1a\u5982\u87ba\u6813\u8fde\u63a5\u50a8\u6cb9\u7f50(API Spec 12B)\u3001\u6cb9\u7530\u73b0\u573a\u710a\u63a5\u50a8\u6cb9\u7f50(API Spec 12D)\u7b49\u3002<\/p>\n\n\n\n

\u8fd9\u4e9b\u4ea7\u54c1\u548c\u8bbe\u5907\u5728\u77f3\u6cb9\u548c\u5929\u7136\u6c14\u5de5\u4e1a\u4e2d\u53d1\u6325\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\uff0cAPI\u8ba4\u8bc1\u786e\u4fdd\u4e86\u5b83\u4eec\u7684\u8d28\u91cf\u548c\u53ef\u9760\u6027\uff0c\u4ece\u800c\u4fdd\u969c\u4e86\u6574\u4e2a\u5de5\u4e1a\u94fe\u7684\u5b89\u5168\u548c\u7a33\u5b9a\u3002<\/p>\n\n\n\n

API\u8ba4\u8bc1\u4e0d\u4ec5\u662f\u5bf9\u4ea7\u54c1\u8d28\u91cf\u7684\u8ba4\u53ef\uff0c\u66f4\u662f\u5bf9\u4f01\u4e1a\u7efc\u5408\u5b9e\u529b\u548c\u7ba1\u7406\u6c34\u5e73\u7684\u80af\u5b9a\u3002\u901a\u8fc7API\u8ba4\u8bc1\uff0c\u4f01\u4e1a\u4e0d\u4ec5\u80fd\u591f\u63d0\u5347\u4ea7\u54c1\u8d28\u91cf\u548c\u5b89\u5168\u7ba1\u7406\u6c34\u5e73\uff0c\u8fd8\u80fd\u591f\u83b7\u5f97\u56fd\u9645\u5e02\u573a\u7684\u8ba4\u53ef\uff0c\u589e\u5f3a\u4f01\u4e1a\u7ade\u4e89\u529b\u548c\u54c1\u724c\u5f71\u54cd\u529b\u3002\u56e0\u6b64\uff0c\u5bf9\u4e8e\u4ece\u4e8b\u77f3\u6cb9\u548c\u5929\u7136\u6c14\u5de5\u4e1a\u7684\u4f01\u4e1a\u800c\u8a00\uff0cAPI\u8ba4\u8bc1\u65e0\u7591\u662f\u4e00\u9879\u4e0d\u53ef\u6216\u7f3a\u7684\u91cd\u8981\u8d44\u8d28\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

\u5728\u5f53\u4eca\u5168\u7403\u5316\u7684\u77f3\u6cb9\u548c\u5929\u7136\u6c14\u5de5\u4e1a\u4e2d\uff0c\u786e\u4fdd\u8bbe\u5907\u7684\u5b89\u5168\u3001\u53ef\u9760\u548c\u4e92\u6362\u6027\u81f3\u5173\u91cd\u8981\u3002\u4e3a\u4e86\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\uff0cAPI(American Petroleum Institute\uff0c\u7f8e\u56fd\u77f3\u6cb9\u5b66\u4f1a)\u8ba4\u8bc1\u5e94\u8fd0\u800c\u751f\u3002API\u8ba4\u8bc1\u4e0d\u4ec5\u4ee3\u8868\u4e86\u56fd\u9645\u5e02\u573a\u7684\u901a\u884c\u8bc1\uff0c\u66f4\u662f\u4f01\u4e1a\u56fd\u9645\u5316\u548c\u9ad8…<\/p>\n","protected":false},"author":422,"featured_media":97394,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9193,9191],"tags":[],"topic":[],"_links":{"self":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts\/97392"}],"collection":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/users\/422"}],"replies":[{"embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/comments?post=97392"}],"version-history":[{"count":1,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts\/97392\/revisions"}],"predecessor-version":[{"id":97395,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/posts\/97392\/revisions\/97395"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/media\/97394"}],"wp:attachment":[{"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/media?parent=97392"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/categories?post=97392"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/tags?post=97392"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.073980.com\/wp-json\/wp\/v2\/topic?post=97392"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}