{"id":1099503,"date":"2025-01-08T15:31:21","date_gmt":"2025-01-08T07:31:21","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1099503.html"},"modified":"2025-01-08T15:31:23","modified_gmt":"2025-01-08T07:31:23","slug":"python%e5%a6%82%e4%bd%95%e7%bc%96%e5%86%99%e4%ba%8c%e7%bb%b4%e7%a0%81-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1099503.html","title":{"rendered":"python\u5982\u4f55\u7f16\u5199\u4e8c\u7ef4\u7801"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25063208\/2b9efb85-3276-4964-bed4-4a61b857da67.webp\" alt=\"python\u5982\u4f55\u7f16\u5199\u4e8c\u7ef4\u7801\" \/><\/p>\n<p><p> <strong>Python\u7f16\u5199\u4e8c\u7ef4\u7801\u7684\u65b9\u6cd5\u4e3b\u8981\u6709\uff1a\u4f7f\u7528\u5e93<code>qrcode<\/code>\u3001\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u751f\u6210\u3001\u7ed3\u5408\u5176\u4ed6\u56fe\u50cf\u5904\u7406\u5e93\uff08\u5982Pillow\uff09\u3002<\/strong>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u8fd9\u51e0\u79cd\u65b9\u6cd5\uff0c\u5e76\u63d0\u4f9b\u5177\u4f53\u7684\u4ee3\u7801\u793a\u4f8b\u6765\u5e2e\u52a9\u60a8\u7406\u89e3\u548c\u5e94\u7528\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528\u5e93<code>qrcode<\/code><\/h3>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u5bfc\u5165\u5e93<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5<code>qrcode<\/code>\u5e93\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u8fdb\u884c\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install qrcode[pil]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5728Python\u811a\u672c\u4e2d\u5bfc\u5165\u8be5\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import qrcode<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u751f\u6210\u4e8c\u7ef4\u7801<\/h4>\n<\/p>\n<p><p>\u751f\u6210\u4e8c\u7ef4\u7801\u975e\u5e38\u7b80\u5355\uff0c\u53ea\u9700\u51e0\u884c\u4ee3\u7801\u5373\u53ef\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import qrcode<\/p>\n<h2><strong>\u521b\u5efa\u4e8c\u7ef4\u7801\u5bf9\u8c61<\/strong><\/h2>\n<p>qr = qrcode.QRCode(<\/p>\n<p>    version=1,  # 1\u523040\u7684\u6574\u6570\uff0c\u63a7\u5236\u4e8c\u7ef4\u7801\u7684\u5927\u5c0f<\/p>\n<p>    error_correction=qrcode.constants.ERROR_CORRECT_L,  # \u63a7\u5236\u4e8c\u7ef4\u7801\u7684\u9519\u8bef\u7ea0\u6b63\u6c34\u5e73<\/p>\n<p>    box_size=10,  # \u63a7\u5236\u4e8c\u7ef4\u7801\u6bcf\u4e2a\u5c0f\u683c\u5b50\u7684\u50cf\u7d20\u6570<\/p>\n<p>    border=4,  # \u63a7\u5236\u8fb9\u6846\uff08\u9ed8\u8ba4\u662f4\uff09<\/p>\n<p>)<\/p>\n<h2><strong>\u5411\u4e8c\u7ef4\u7801\u5bf9\u8c61\u4e2d\u6dfb\u52a0\u6570\u636e<\/strong><\/h2>\n<p>data = &quot;https:\/\/www.example.com&quot;<\/p>\n<p>qr.add_data(data)<\/p>\n<p>qr.make(fit=True)<\/p>\n<h2><strong>\u751f\u6210\u56fe\u50cf<\/strong><\/h2>\n<p>img = qr.make_image(fill=&#39;black&#39;, back_color=&#39;white&#39;)<\/p>\n<h2><strong>\u4fdd\u5b58\u4e8c\u7ef4\u7801\u56fe\u50cf<\/strong><\/h2>\n<p>img.save(&quot;example_qr.png&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u521b\u5efa\u4e86\u4e00\u4e2a\u4e8c\u7ef4\u7801\u5bf9\u8c61\uff0c\u8bbe\u7f6e\u4e86\u4e00\u4e9b\u53c2\u6570\uff0c\u7136\u540e\u6dfb\u52a0\u6570\u636e\u5e76\u751f\u6210\u56fe\u50cf\uff0c\u6700\u540e\u5c06\u56fe\u50cf\u4fdd\u5b58\u4e3a\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>3. \u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u6837\u5f0f<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u6211\u4eec\u60f3\u8981\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u7684\u6837\u5f0f\uff0c\u53ef\u4ee5\u4fee\u6539\u751f\u6210\u56fe\u50cf\u7684\u53c2\u6570\uff0c\u4f8b\u5982\u989c\u8272\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">img = qr.make_image(fill=&#39;blue&#39;, back_color=&#39;yellow&#39;)<\/p>\n<p>img.save(&quot;example_custom_qr.png&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u6211\u4eec\u53ef\u4ee5\u751f\u6210\u5177\u6709\u4e0d\u540c\u989c\u8272\u7684\u4e8c\u7ef4\u7801\u56fe\u50cf\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u751f\u6210<\/h3>\n<\/p>\n<p><p>\u5728\u67d0\u4e9b\u60c5\u51b5\u4e0b\uff0c\u6211\u4eec\u53ef\u80fd\u5e0c\u671b\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u7684\u751f\u6210\u8fc7\u7a0b\uff0c\u4f8b\u5982\u8c03\u6574\u6bcf\u4e2a\u6a21\u5757\u7684\u5927\u5c0f\u548c\u4f4d\u7f6e\u3002\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>qrcode<\/code>\u5e93\u4e2d\u7684<code>QRCode<\/code>\u7c7b\u6765\u5b9e\u73b0\u8fd9\u4e00\u70b9\u3002<\/p>\n<\/p>\n<p><h4>1. \u624b\u52a8\u751f\u6210\u4e8c\u7ef4\u7801\u6a21\u5757<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u4e86\u89e3\u4e8c\u7ef4\u7801\u7684\u57fa\u672c\u7ed3\u6784\u3002\u4e8c\u7ef4\u7801\u7531\u4e00\u7cfb\u5217\u9ed1\u767d\u6a21\u5757\u7ec4\u6210\uff0c\u6bcf\u4e2a\u6a21\u5757\u8868\u793a\u4e00\u4e2a\u6bd4\u7279\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7\u624b\u52a8\u8bbe\u7f6e\u8fd9\u4e9b\u6a21\u5757\u6765\u751f\u6210\u4e8c\u7ef4\u7801\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import qrcode<\/p>\n<h2><strong>\u521b\u5efa\u4e8c\u7ef4\u7801\u5bf9\u8c61<\/strong><\/h2>\n<p>qr = qrcode.QRCode(<\/p>\n<p>    version=1,<\/p>\n<p>    error_correction=qrcode.constants.ERROR_CORRECT_L,<\/p>\n<p>    box_size=10,<\/p>\n<p>    border=4,<\/p>\n<p>)<\/p>\n<h2><strong>\u6dfb\u52a0\u6570\u636e<\/strong><\/h2>\n<p>data = &quot;https:\/\/www.example.com&quot;<\/p>\n<p>qr.add_data(data)<\/p>\n<p>qr.make(fit=True)<\/p>\n<h2><strong>\u83b7\u53d6\u4e8c\u7ef4\u7801\u77e9\u9635<\/strong><\/h2>\n<p>matrix = qr.get_matrix()<\/p>\n<h2><strong>\u624b\u52a8\u751f\u6210\u4e8c\u7ef4\u7801\u56fe\u50cf<\/strong><\/h2>\n<p>from PIL import Image<\/p>\n<p>img_size = (len(matrix) + 8) * 10<\/p>\n<p>img = Image.new(&quot;RGB&quot;, (img_size, img_size), &quot;white&quot;)<\/p>\n<p>for r in range(len(matrix)):<\/p>\n<p>    for c in range(len(matrix[r])):<\/p>\n<p>        if matrix[r][c]:<\/p>\n<p>            img.paste(&quot;black&quot;, ((c + 4) * 10, (r + 4) * 10, (c + 5) * 10, (r + 5) * 10))<\/p>\n<p>img.save(&quot;example_manual_qr.png&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u624b\u52a8\u751f\u6210\u4e86\u4e8c\u7ef4\u7801\u7684\u6bcf\u4e2a\u6a21\u5757\uff0c\u5e76\u4f7f\u7528Pillow\u5e93\u5c06\u5176\u7ed8\u5236\u5230\u56fe\u50cf\u4e0a\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7ed3\u5408\u5176\u4ed6\u56fe\u50cf\u5904\u7406\u5e93\uff08\u5982Pillow\uff09<\/h3>\n<\/p>\n<p><p>\u6211\u4eec\u8fd8\u53ef\u4ee5\u7ed3\u5408\u5176\u4ed6\u56fe\u50cf\u5904\u7406\u5e93\uff08\u5982Pillow\uff09\u6765\u589e\u5f3a\u4e8c\u7ef4\u7801\u7684\u529f\u80fd\uff0c\u4f8b\u5982\u5728\u4e8c\u7ef4\u7801\u4e2d\u5d4c\u5165\u56fe\u6807\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5\u548c\u5bfc\u5165\u5e93<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u6211\u4eec\u9700\u8981\u5b89\u88c5Pillow\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install Pillow<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8c\u6210\u540e\uff0c\u6211\u4eec\u53ef\u4ee5\u5728Python\u811a\u672c\u4e2d\u5bfc\u5165\u8be5\u5e93\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from PIL import Image<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u5d4c\u5165\u56fe\u6807\u5230\u4e8c\u7ef4\u7801\u4e2d<\/h4>\n<\/p>\n<p><p>\u4ee5\u4e0b\u662f\u5c06\u56fe\u6807\u5d4c\u5165\u5230\u4e8c\u7ef4\u7801\u4e2d\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import qrcode<\/p>\n<p>from PIL import Image<\/p>\n<h2><strong>\u521b\u5efa\u4e8c\u7ef4\u7801\u5bf9\u8c61<\/strong><\/h2>\n<p>qr = qrcode.QRCode(<\/p>\n<p>    version=1,<\/p>\n<p>    error_correction=qrcode.constants.ERROR_CORRECT_H,  # \u4f7f\u7528\u9ad8\u9519\u8bef\u7ea0\u6b63\u6c34\u5e73<\/p>\n<p>    box_size=10,<\/p>\n<p>    border=4,<\/p>\n<p>)<\/p>\n<h2><strong>\u6dfb\u52a0\u6570\u636e<\/strong><\/h2>\n<p>data = &quot;https:\/\/www.example.com&quot;<\/p>\n<p>qr.add_data(data)<\/p>\n<p>qr.make(fit=True)<\/p>\n<h2><strong>\u751f\u6210\u56fe\u50cf<\/strong><\/h2>\n<p>img = qr.make_image(fill=&#39;black&#39;, back_color=&#39;white&#39;)<\/p>\n<h2><strong>\u6253\u5f00\u56fe\u6807<\/strong><\/h2>\n<p>icon = Image.open(&quot;icon.png&quot;)<\/p>\n<h2><strong>\u8ba1\u7b97\u56fe\u6807\u7684\u5927\u5c0f\u548c\u4f4d\u7f6e<\/strong><\/h2>\n<p>img_w, img_h = img.size<\/p>\n<p>factor = 4<\/p>\n<p>size_w, size_h = img_w \/\/ factor, img_h \/\/ factor<\/p>\n<p>icon = icon.resize((size_w, size_h), Image.ANTIALIAS)<\/p>\n<h2><strong>\u8ba1\u7b97\u56fe\u6807\u5728\u4e8c\u7ef4\u7801\u4e2d\u7684\u4f4d\u7f6e<\/strong><\/h2>\n<p>w = (img_w - size_w) \/\/ 2<\/p>\n<p>h = (img_h - size_h) \/\/ 2<\/p>\n<p>img.paste(icon, (w, h), icon)<\/p>\n<h2><strong>\u4fdd\u5b58\u5e26\u56fe\u6807\u7684\u4e8c\u7ef4\u7801\u56fe\u50cf<\/strong><\/h2>\n<p>img.save(&quot;example_qr_with_icon.png&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u8ff0\u4ee3\u7801\u4e2d\uff0c\u6211\u4eec\u9996\u5148\u751f\u6210\u4e86\u4e00\u4e2a\u4e8c\u7ef4\u7801\u56fe\u50cf\uff0c\u7136\u540e\u6253\u5f00\u56fe\u6807\u56fe\u50cf\u5e76\u8c03\u6574\u5176\u5927\u5c0f\uff0c\u6700\u540e\u5c06\u56fe\u6807\u5d4c\u5165\u5230\u4e8c\u7ef4\u7801\u7684\u4e2d\u5fc3\u4f4d\u7f6e\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u5728Python\u4e2d\u8f7b\u677e\u751f\u6210\u548c\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u3002\u65e0\u8bba\u662f\u4f7f\u7528\u73b0\u6210\u7684\u5e93\uff08\u5982<code>qrcode<\/code>\uff09\uff0c\u8fd8\u662f\u7ed3\u5408\u5176\u4ed6\u56fe\u50cf\u5904\u7406\u5e93\uff08\u5982Pillow\uff09\uff0c\u6211\u4eec\u90fd\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u751f\u6210\u4e0d\u540c\u6837\u5f0f\u548c\u529f\u80fd\u7684\u4e8c\u7ef4\u7801\u3002\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u80fd\u591f\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u7406\u89e3\u548c\u5e94\u7528\u4e8c\u7ef4\u7801\u751f\u6210\u6280\u672f\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u751f\u6210\u4e8c\u7ef4\u7801\uff1f<\/strong><br \/>\u4f7f\u7528Python\u751f\u6210\u4e8c\u7ef4\u7801\u53ef\u4ee5\u901a\u8fc7\u51e0\u4e2a\u6d41\u884c\u7684\u5e93\u6765\u5b9e\u73b0\uff0c\u5176\u4e2d\u6700\u5e38\u7528\u7684\u662f<code>qrcode<\/code>\u5e93\u3002\u5b89\u88c5\u8be5\u5e93\u540e\uff0c\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u4e8c\u7ef4\u7801\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u7b80\u5355\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">import qrcode\n\n# \u521b\u5efa\u4e8c\u7ef4\u7801\u5b9e\u4f8b\nqr = qrcode.QRCode(\n    version=1,\n    error_correction=qrcode.constants.ERROR_CORRECT_L,\n    box_size=10,\n    border=4,\n)\n\n# \u6dfb\u52a0\u6570\u636e\nqr.add_data(&#39;https:\/\/www.example.com&#39;)\nqr.make(fit=True)\n\n# \u521b\u5efa\u56fe\u50cf\u5e76\u4fdd\u5b58\nimg = qr.make_image(fill_color=&quot;black&quot;, back_color=&quot;white&quot;)\nimg.save(&#39;example_qr.png&#39;)\n<\/code><\/pre>\n<p>\u8fd0\u884c\u6b64\u4ee3\u7801\u540e\uff0c\u60a8\u5c06\u5f97\u5230\u4e00\u4e2a\u540d\u4e3a<code>example_qr.png<\/code>\u7684\u4e8c\u7ef4\u7801\u56fe\u50cf\u3002<\/p>\n<p><strong>\u751f\u6210\u7684\u4e8c\u7ef4\u7801\u53ef\u4ee5\u5305\u542b\u54ea\u4e9b\u7c7b\u578b\u7684\u6570\u636e\uff1f<\/strong><br \/>\u4e8c\u7ef4\u7801\u53ef\u4ee5\u5b58\u50a8\u591a\u79cd\u7c7b\u578b\u7684\u6570\u636e\uff0c\u5305\u62ec\u6587\u672c\u3001\u7f51\u5740\u3001\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3001\u7535\u8bdd\u53f7\u7801\u3001\u77ed\u4fe1\u5185\u5bb9\u4ee5\u53ca\u5176\u4ed6\u4fe1\u606f\u3002\u6839\u636e\u60a8\u7684\u9700\u6c42\uff0c\u53ef\u4ee5\u9009\u62e9\u5c06\u76f8\u5173\u4fe1\u606f\u5d4c\u5165\u4e8c\u7ef4\u7801\u4e2d\uff0c\u4ee5\u4fbf\u626b\u63cf\u540e\u81ea\u52a8\u6267\u884c\u76f8\u5e94\u7684\u64cd\u4f5c\u3002<\/p>\n<p><strong>\u5982\u4f55\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u7684\u5916\u89c2\uff1f<\/strong><br \/>\u4f7f\u7528<code>qrcode<\/code>\u5e93\uff0c\u60a8\u53ef\u4ee5\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u7684\u5916\u89c2\uff0c\u4f8b\u5982\u8c03\u6574\u989c\u8272\u548c\u5927\u5c0f\u3002\u5728\u521b\u5efa\u4e8c\u7ef4\u7801\u65f6\uff0c\u53ef\u4ee5\u901a\u8fc7<code>make_image()<\/code>\u65b9\u6cd5\u7684\u53c2\u6570\u8bbe\u7f6e\u524d\u666f\u548c\u80cc\u666f\u989c\u8272\uff0c\u751a\u81f3\u53ef\u4ee5\u6dfb\u52a0\u56fe\u50cf\u6216logo\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u81ea\u5b9a\u4e49\u989c\u8272\u7684\u793a\u4f8b\uff1a<\/p>\n<pre><code class=\"language-python\">img = qr.make_image(fill_color=&quot;blue&quot;, back_color=&quot;yellow&quot;)\n<\/code><\/pre>\n<p>\u8fd9\u6837\u751f\u6210\u7684\u4e8c\u7ef4\u7801\u5c06\u4f1a\u662f\u84dd\u8272\u7684\u56fe\u6848\uff0c\u9ec4\u8272\u7684\u80cc\u666f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Python\u7f16\u5199\u4e8c\u7ef4\u7801\u7684\u65b9\u6cd5\u4e3b\u8981\u6709\uff1a\u4f7f\u7528\u5e93qrcode\u3001\u81ea\u5b9a\u4e49\u4e8c\u7ef4\u7801\u751f\u6210\u3001\u7ed3\u5408\u5176\u4ed6\u56fe\u50cf\u5904\u7406\u5e93\uff08\u5982Pillow\uff09 [&hellip;]","protected":false},"author":3,"featured_media":1099513,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1099503"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1099503"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1099503\/revisions"}],"predecessor-version":[{"id":1099515,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1099503\/revisions\/1099515"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1099513"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1099503"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1099503"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1099503"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}