{"id":905,"date":"2014-08-08T05:39:33","date_gmt":"2014-08-08T05:39:33","guid":{"rendered":"http:\/\/ixyzero.com\/blog\/?p=905"},"modified":"2014-08-08T05:39:33","modified_gmt":"2014-08-08T05:39:33","slug":"%e7%94%a8python%e7%9a%84qrcode%e6%a8%a1%e5%9d%97%e7%94%9f%e6%88%90%e4%ba%8c%e7%bb%b4%e7%a0%81","status":"publish","type":"post","link":"https:\/\/ixyzero.com\/blog\/archives\/905.html","title":{"rendered":"\u7528Python\u7684qrcode\u6a21\u5757\u751f\u6210\u4e8c\u7ef4\u7801"},"content":{"rendered":"<p><span style=\"color: #000000;\">\u4e8c\u7ef4\u7801\u7b80\u79f0\u00a0<\/span><a style=\"color: #00a9da;\" href=\"http:\/\/zh.wikipedia.org\/wiki\/QR%E7%A2%BC\" target=\"_blank\">QR Code<\/a><span style=\"color: #000000;\">\uff08Quick Response Code\uff09\uff0c\u5b66\u540d\u4e3a\u5feb\u901f\u54cd\u5e94\u77e9\u9635\u7801\uff0c\u662f\u4e8c\u7ef4\u6761\u7801\u7684\u4e00\u79cd\uff0c\u7531\u65e5\u672c\u7684\u00a0<\/span><a style=\"color: #00a9da;\" title=\"Denso Wave\" href=\"http:\/\/www.denso-wave.com\/\" target=\"_blank\">Denso Wave<\/a><span style=\"color: #000000;\">\u00a0\u516c\u53f8\u4e8e 1994 \u5e74\u53d1\u660e\u3002\u73b0\u968f\u7740\u667a\u80fd\u624b\u673a\u7684\u666e\u53ca\uff0c\u5df2\u5e7f\u6cdb\u5e94\u7528\u4e8e\u5e73\u5e38\u751f\u6d3b\u4e2d\uff0c\u4f8b\u5982\u5546\u54c1\u4fe1\u606f\u67e5\u8be2\u3001\u793e\u4ea4\u597d\u53cb\u4e92\u52a8\u3001\u7f51\u7edc\u5730\u5740\u8bbf\u95ee\u7b49\u7b49\u3002<\/span><\/p>\n<p>\u5728Python\u4e2d\u751f\u6210\u4e8c\u7ef4\u7801\u53ef\u4ee5\u4f7f\u7528 qrcode \u6a21\u5757\uff0c<span style=\"color: #000000;\">\u7531\u4e8e\u751f\u6210 qrcode \u56fe\u7247\u9700\u8981\u4f9d\u8d56 Python \u7684\u56fe\u50cf\u5e93\uff0c\u6240\u4ee5\u9700\u8981\u5148\u5b89\u88c5 Python \u56fe\u50cf\u5e93\u00a0<\/span><a style=\"color: #00a9da;\" href=\"http:\/\/www.pythonware.com\/products\/pil\/\" target=\"_blank\">PIL<\/a><span style=\"color: #000000;\">(Python Imaging Library)\uff0c\u4e0d\u7136\u4f1a\u9047\u5230 &#8220;ImportError: No module named Image&#8221; \u7684\u9519\u8bef\uff0c\u4f46\u662f\uff0c\u56e0\u4e3a PIL\u5e93 \u73b0\u5728\u7684\u72b6\u6001\u662f\uff1a<\/span><\/p>\n<blockquote><p><span style=\"color: #000000;\">The current\u00a0<\/span><a href=\"http:\/\/www.pythonware.com\/products\/pil\/license.htm\">free version<\/a><span style=\"color: #000000;\">\u00a0is\u00a0<\/span><a href=\"http:\/\/www.pythonware.com\/products\/pil\/#pil117\">PIL 1.1.7<\/a><span style=\"color: #000000;\">. This release supports Python 1.5.2 and newer, including 2.5 and 2.6. A version for 3.X will be released later.<\/span><\/p><\/blockquote>\n<p>\u6240\u4ee5\uff0c\u6211\u73b0\u5728\u5728\u9700\u8981\u4f7f\u7528Python\u56fe\u50cf\u5e93\u7684\u65f6\u5019\u4e00\u822c\u662f\u7528 <a href=\"https:\/\/github.com\/python-pillow\/Pillow\" target=\"_blank\">Pillow<\/a> \u6a21\u5757\u4ee3\u66ffPIL\uff08<span style=\"color: #333333;\">Pillow is the &#8220;friendly&#8221; PIL fork\uff0c\u800c\u4e14<\/span>Pillow\u7684\u51fa\u73b0\u5c31\u662f\u4e3a\u4e86\u89e3\u51b3 PIL \u7684\u4e24\u4e2a\u95ee\u9898\uff1a1.\u4e0d\u517c\u5bb9 setuptools\uff1b2.\u62a5\u544a\u7684\u95ee\u9898\u592a\u591a\uff0c\u800c\u66f4\u65b0\u592a\u6162\uff09\uff0c\u5b89\u88c5\u975e\u5e38\u7b80\u5355\uff1a<\/p>\n<pre class=\"lang:default decode:true \">pip install pillow<\/pre>\n<p>\u7136\u540e\u8981\u5728import Image\u7684Python\u4ee3\u7801\u4e2d\u5c06\u5176\u6539\u4e3a\uff1a<span style=\"color: #ff0000;\"><strong>from PIL import Image<\/strong><\/span> \u5373\u53ef\u3002<\/p>\n<p>\u5b89\u88c5 qrcode \u4e5f\u662f\u7c7b\u4f3c\uff1a<\/p>\n<pre class=\"lang:default decode:true \">pip install qrcode<\/pre>\n<p>\u5728Linux\u7cfb\u7edf\u4e0b\u6210\u529f\u5b89\u88c5\u540e\uff0c\u5373\u53ef\u4ee5\u5728\u7ec8\u7aef\u91cc\u4f7f\u7528 qr \u547d\u4ee4\/\u811a\u672c\u751f\u6210\u4e8c\u7ef4\u7801\u4e86\uff1a<\/p>\n<pre class=\"lang:default decode:true\">qr \"Just a test\" &gt; test.png\nqr --help<\/pre>\n<p>\u5728Python\u4e2d\u4e5f\u53ef\u4ee5\u7528\u5982\u4e0b\u7684\u65b9\u5f0f\u5feb\u901f\u751f\u6210\uff1a<\/p>\n<pre class=\"lang:default decode:true \">import qrcode\nimg = qrcode.make('Some data here')<\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u66f4\u9ad8\u7ea7\u4e00\u4e9b\u7684\u8bbe\u7f6e\u9700\u8981\u5728Python\u4e2d\u5f15\u5165QRCode\u7c7b<\/strong><\/span>\uff1a<\/p>\n<h6>\u793a\u4f8b\u4ee3\u78011\uff1a<\/h6>\n<pre class=\"lang:default decode:true \">#!\/usr\/bin\/env python\n#coding=utf-8\nimport qrcode\nqr = qrcode.QRCode(\n\tversion=2,\n\terror_correction=qrcode.constants.ERROR_CORRECT_L,\n\tbox_size=10,\n\tborder=1\n)\nqr.add_data(\"http:\/\/ixyzero.com\/\")\nqr.make(fit=True)\nimg = qr.make_image()\nimg.save(\"crazyofme_qrcode.png\")<\/pre>\n<p style=\"color: #000000;\">\u53c2\u6570 <span style=\"color: #ff0000;\"><strong>version<\/strong><\/span> \u8868\u793a\u751f\u6210\u4e8c\u7ef4\u7801\u7684\u5c3a\u5bf8\u5927\u5c0f\uff0c\u53d6\u503c\u8303\u56f4\u662f 1 \u81f3 40\uff0c\u6700\u5c0f\u5c3a\u5bf8 1 \u4f1a\u751f\u6210 21 * 21 \u7684\u4e8c\u7ef4\u7801\u77e9\u9635\uff0cversion \u6bcf\u589e\u52a0 1\uff0c\u751f\u6210\u7684\u4e8c\u7ef4\u7801\u5c31\u4f1a\u6dfb\u52a0 4 \u4e2a\u5355\u4f4d\u5927\u5c0f\uff0c\u4f8b\u5982 version \u662f 2\uff0c\u5219\u751f\u6210 25 * 25 \u5c3a\u5bf8\u5927\u5c0f\u7684\u4e8c\u7ef4\u7801\u3002<\/p>\n<p style=\"color: #000000;\">\u53c2\u6570 <span style=\"color: #ff0000;\"><strong>error_correction<\/strong><\/span> \u6307\u5b9a\u4e8c\u7ef4\u7801\u7684\u5bb9\u9519\u7cfb\u6570\uff0c\u5206\u522b\u6709\u4ee5\u4e0b4\u4e2a\u7cfb\u6570\uff1a<\/p>\n<ul style=\"color: #000000;\">\n<ul>\n<li style=\"color: #777777;\">ERROR_CORRECT_L: 7%\u7684\u5b57\u7801\u53ef\u88ab\u5bb9\u9519<\/li>\n<li style=\"color: #777777;\">ERROR_CORRECT_M: 15%\u7684\u5b57\u7801\u53ef\u88ab\u5bb9\u9519<\/li>\n<li style=\"color: #777777;\">ERROR_CORRECT_Q: 25%\u7684\u5b57\u7801\u53ef\u88ab\u5bb9\u9519<\/li>\n<li style=\"color: #777777;\">ERROR_CORRECT_H: 30%\u7684\u5b57\u7801\u53ef\u88ab\u5bb9\u9519<\/li>\n<\/ul>\n<\/ul>\n<p style=\"color: #000000;\">\u53c2\u6570 <span style=\"color: #ff0000;\"><strong>box_size<\/strong><\/span> \u8868\u793a\u4e8c\u7ef4\u7801\u91cc\u6bcf\u4e2a\u683c\u5b50\u7684\u50cf\u7d20\u5927\u5c0f\u3002<\/p>\n<p style=\"color: #000000;\">\u53c2\u6570 <span style=\"color: #ff0000;\"><strong>border<\/strong><\/span> \u8868\u793a\u8fb9\u6846\u7684\u683c\u5b50\u5bbd\u5ea6\u662f\u591a\u5c11\uff08\u9ed8\u8ba4\u662f4\uff09\u3002<\/p>\n<h6>\u793a\u4f8b\u4ee3\u78012\uff08\u751f\u6210\u5e26\u6709\u56fe\u6807\u7684\u4e8c\u7ef4\u7801\uff09\uff1a<\/h6>\n<pre class=\"lang:default decode:true\">#!\/usr\/bin\/env python\n#coding=utf-8\nfrom PIL import Image\nimport qrcode\n\nqr = qrcode.QRCode(\n\tversion=2,\n\terror_correction=qrcode.constants.ERROR_CORRECT_Q,\n\tbox_size=10,\n\tborder=1\n)\nqr.add_data(\"http:\/\/ixyzero.com\/blog\/\")\nqr.make(fit=True)\nimg = qr.make_image()\n\nimg = img.convert(\"RGBA\")\nimg_w, img_h = img.size\nfactor = 3\nsize_w = int(img_w \/ factor)\nsize_h = int(img_h \/ factor)\n\nicon = Image.open(\"apple.png\")\nicon_w, icon_h = icon.size\nif icon_w &gt; size_w:\n\ticon_w = size_w\nif icon_h &gt; size_h:\n\ticon_h = size_h\nicon = icon.resize((icon_w, icon_h), Image.ANTIALIAS)\n\nw = int((img_w - icon_w) \/ 2)\nh = int((img_h - icon_h) \/ 2)\nimg.paste(icon, (w, h), icon)\nimg.save(\"crazyofmeBlog_qrcode.png\")<\/pre>\n<p>\u4e0a\u9762\u8fd9\u6bb5\u793a\u4f8b\u4ee3\u7801\u4f1a\u751f\u6210\u5305\u542b\u6709\u672c\u535a\u5ba2\u94fe\u63a5\u201c<a href=\"http:\/\/ixyzero.com\/blog\/\" target=\"_blank\">http:\/\/ixyzero.com\/blog\/<\/a>\u201d\u5185\u5bb9\u7684\u4e8c\u7ef4\u7801\u77e9\u9635\uff08\u5e76\u4e14\u5d4c\u5165\/\u7c98\u4e0a\u4e86\u81ea\u5df1\u6307\u5b9a\u7684\u56fe\u7247apple.png\uff09\uff1a<\/p>\n<p><a href=\"http:\/\/ixyzero.com\/blog\/wp-content\/uploads\/2014\/08\/crazyofmeBlog_qrcode.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-907\" src=\"http:\/\/ixyzero.com\/blog\/wp-content\/uploads\/2014\/08\/crazyofmeBlog_qrcode.png\" alt=\"crazyofmeBlog_qrcode\" width=\"310\" height=\"310\" \/><\/a><\/p>\n<p>\u5927\u5bb6\u53ef\u4ee5\u5c06\u5176\u66ff\u6362\u4e3a\u81ea\u5df1\u7684\u7f51\u7ad9\u56fe\u6807\u4ee5\u4f53\u73b0\u4e2a\u6027\u3002\u4e0d\u8fc7\u5728\u6b64\u4e4b\u524d<span style=\"color: #ff0000;\"><strong>\u53cb\u60c5\u63d0\u9192\u4e00\u4e0b<\/strong><\/span>\uff1a<span style=\"color: #ff0000;\">\u53c2\u6570error_correction \u548c \u7c98\u8d34\u56fe\u6807\u7684\u5927\u5c0f\u5c3a\u5bf8\u4e0e\u4e8c\u7ef4\u7801\u957f\u5bbd\u7684\u6bd4\u4f8bfactor\uff0c\u4e24\u8005\u4e4b\u95f4\u6709\u4e9b\u5fae\u5999\u7684\u5173\u7cfb\uff0c\u522b\u628a\u81ea\u5df1\u7684\u56fe\u6807\u8bbe\u7f6e\u7684\u592a\u5927\u5bfc\u81f4\u4e8c\u7ef4\u7801\u65e0\u6cd5\u88ab\u8bc6\u522b\u90a3\u5c31\u5f97\u4e0d\u507f\u5931\u4e86<\/span>\u3002\u539f\u56e0\u662f\uff1a<\/p>\n<blockquote>\n<p style=\"color: #000000;\">\u4e8c\u7ef4\u7801\u7684\u5bb9\u9519\u7cfb\u6570\uff08\u4e0a\u9762\u6240\u6307\u7684 error_correction\uff09\u8d8a\u9ad8\uff0c\u751f\u6210\u7684\u4e8c\u7ef4\u7801\u5219\u53ef\u5141\u8bb8\u7684\u6b8b\u7f3a\u7387\u8d8a\u5927\uff0c\u4e14<span style=\"color: #ff0000;\">\u4e8c\u7ef4\u7801\u7684\u6570\u636e<strong>\u4e3b\u8981<\/strong>\u4fdd\u5b58\u5728\u56fe\u7247\u7684\u56db\u4e2a\u89d2\u4e0a<\/span>\uff0c\u6240\u4ee5\u5728\u4e8c\u7ef4\u7801\u4e2d\u95f4\u653e\u4e00\u4e2a\u5c0f\u56fe\u6807\uff0c\u5bf9\u4e8c\u7ef4\u7801\u7684\u8bc6\u522b\u4e5f\u662f\u4e0d\u53d7\u591a\u5927\u5f71\u54cd\u7684\u3002<\/p>\n<p style=\"color: #000000;\">\u5bf9\u4e8e\u63d2\u5165\u5728\u4e8c\u7ef4\u7801\u4e0a\u7684\u56fe\u6807\u5927\u5c0f\uff0c\u8fd9\u91cc\u6307\u5b9a\u9650\u5236\u56fe\u6807\u7684\u5927\u5c0f\u5c3a\u5bf8\u6700\u5927\u662f\u4e8c\u7ef4\u7801\u957f\u5bbd\u7684 1\/4\uff0c\u4ee5\u514d\u6b8b\u7f3a\u592a\u5927\uff0c\u5f71\u54cd\u8bc6\u522b\u3002<\/p>\n<\/blockquote>\n<p>\u8fd8\u53ef\u4ee5\u501f\u52a9qrcode\u6a21\u5757\u751f\u6210\u5176\u4ed6\u7c7b\u578b\u7684\u56fe\u7247\uff0c\u6bd4\u5982\uff1aSCG\u3001\u7eafPython\u751f\u6210\u7684PNG\uff0c\u53ef\u4ee5\u53c2\u8003<a href=\"https:\/\/github.com\/lincolnloop\/python-qrcode#other-image-factories\" target=\"_blank\">\u5b98\u65b9\u8bf4\u660e<\/a>\u3002<\/p>\n<h6>\u53c2\u8003\u94fe\u63a5\uff1a<\/h6>\n<ul>\n<li><a href=\"http:\/\/dhq.me\/python-qr-code-generator\" target=\"_blank\">Python \u7684\u751f\u6210\u4e8c\u7ef4\u7801\u751f\u6210\u5e93 &#8212; qrcode<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/lincolnloop\/python-qrcode\" target=\"_blank\">lincolnloop\/python-qrcode<\/a><\/li>\n<li><a href=\"http:\/\/yxmhero1989.blog.163.com\/blog\/static\/11215795620131695059719\/\" target=\"_blank\">Python\u4f7f\u7528qrcode\u6a21\u5757\u751f\u6210\u4e8c\u7ef4\u7801<\/a><\/li>\n<li><a href=\"http:\/\/hi.baidu.com\/tister\/item\/96d377147327045bf1090ebc\" target=\"_blank\">python qrcode\u751f\u6210<\/a><\/li>\n<li><a href=\"http:\/\/blog.matael.org\/writing\/python-and-qrcodes\/\" target=\"_blank\">Python and QRCodes | python, qrcodes<\/a><\/li>\n<\/ul>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u4e0a\u9762\u8bf4\u660e\u4e86\u5982\u4f55\u7528Python\u5236\u4f5c\u4e8c\u7ef4\u7801\u56fe\u7247\uff0c\u4f46\u662f\uff0c\u600e\u4e48\u4ece\u5df2\u6709\u7684\u4e8c\u7ef4\u7801\u56fe\u7247\u4e2d\u8bfb\u53d6\u5176\u4e2d\u5305\u542b\u7684\u4fe1\u606f\u5462\uff1f\u901a\u8fc7\u7f51\u4e0a\u7684\u641c\u7d22\u4ee5\u53ca\u5b9e\u8df5\uff0c\u65b9\u6cd5\u6709\u4e09\uff1a<\/p>\n<ul>\n<li>\u5728\u7ebf\u8bc6\u522b\uff1a<a href=\"http:\/\/cli.im\/deqr\/\" target=\"_blank\">http:\/\/cli.im\/deqr\/<\/a> \u548c\u00a0<a href=\"http:\/\/www.deqr.net\/\" target=\"_blank\">http:\/\/www.deqr.net\/<\/a><\/li>\n<li>\u4f7f\u7528ZBar\uff1a<a href=\"http:\/\/sourceforge.net\/projects\/zbar\/\" target=\"_blank\">\u9879\u76ee\u5730\u5740<\/a><\/li>\n<li>\u5229\u7528Python\uff1a<\/li>\n<\/ul>\n<pre class=\"lang:default decode:true \">#!\/usr\/bin\/env python\n# coding: utf-8\n\nimport sys, qrcode\n\nd = qrcode.Decoder()\nif d.decode('crazyofme.png'):\n    print 'result: ' + d.result\nelse:\n    print 'error: ' + d.error<\/pre>\n<p>\u4f46\u662f\u4f7f\u7528\u7684\u65f6\u5019\u4f1a\u63d0\u793a\u9519\u8bef\u201c<strong><span style=\"color: #ff0000;\">AttributeError: &#8216;module&#8217; object has no attribute &#8216;Decoder&#8217;<\/span><\/strong>\u201d\uff0c\u5229\u7528IPython\u67e5\u770b\u5f15\u5165\u7684qrcode\u6a21\u5757\u90fd\u6709\u54ea\u4e9b\u65b9\u6cd5\uff1a<\/p>\n<pre class=\"lang:default decode:true \">In [1]: import qrcode\n\nIn [2]: qrcode.\nqrcode.ERROR_CORRECT_H qrcode.base            qrcode.make\nqrcode.ERROR_CORRECT_L qrcode.constants       qrcode.run_example\nqrcode.ERROR_CORRECT_M qrcode.exceptions      qrcode.util\nqrcode.ERROR_CORRECT_Q qrcode.image\nqrcode.QRCode          qrcode.main<\/pre>\n<p>\u5f88\u660e\u663e\uff0c\u6ca1\u6709Decoder\u8fd9\u4e2a\u65b9\u6cd5\uff0c\u4f30\u8ba1\u662f\u5b89\u88c5\u7684qrcode\u5305\u4e0d\u540c\u5bfc\u81f4\uff0c\u53cd\u6b63\u540e\u6765\u4e5f\u6ca1\u6709\u6df1\u7a76\u4e86\uff0c\u56e0\u4e3a\u6298\u817e\u4e86\u597d\u4e45\u90fd\u6ca1\u5f04\u597d+\u4f18\u5148\u7ea7\u4e0d\u9ad8\uff0c\u7eaf\u7cb9\u73a9\u7968\u6027\u8d28\uff0c\u6240\u4ee5\u5c31\u4e0d\u591a\u626f\u4e86\uff0c\u4ee5\u540e\u5982\u679c\u5b9e\u5728\u6709\u9700\u8981\u518d\u5f04\u5427\uff0c\u5148\u8bb0\u5f55\u4e00\u4e9b\u770b\u5230\u7684\u8fd8\u4e0d\u9519\u7684\u94fe\u63a5\uff1a<\/p>\n<p><a href=\"http:\/\/ralgozino.wordpress.com\/2011\/06\/13\/how-to-create-and-decode-a-qr-code-in-python-using-qrtools\/\" target=\"_blank\">http:\/\/ralgozino.wordpress.com\/2011\/06\/13\/how-to-create-and-decode-a-qr-code-in-python-using-qrtools\/<\/a><\/p>\n<p><a href=\"http:\/\/www.pythontr.com\/makale.py?tid=177\" target=\"_blank\">http:\/\/www.pythontr.com\/makale.py?tid=177<\/a><\/p>\n<p><a href=\"http:\/\/code.google.com\/p\/qr-code-api\/\" target=\"_blank\">http:\/\/code.google.com\/p\/qr-code-api\/<\/a><\/p>\n<p>\u81ea\u5df1\u5728Windows\u4e0a\u7f16\u8bd1\u5b89\u88c5pyqrcode\u6a21\u5757\u7684\u5927\u4f53\u65b9\u6cd5\uff08\u5751\u7239\u7684MinGW\uff09\uff1a<a href=\"http:\/\/stackoverflow.com\/questions\/9310280\/qr-code-decoder-library-for-python\" target=\"_blank\">http:\/\/stackoverflow.com\/questions\/9310280\/qr-code-decoder-library-for-python<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e8c\u7ef4\u7801\u7b80\u79f0\u00a0QR Code\uff08Quick Response Code\uff09\uff0c\u5b66\u540d\u4e3a\u5feb\u901f\u54cd\u5e94\u77e9\u9635\u7801\uff0c\u662f\u4e8c\u7ef4\u6761\u7801\u7684\u4e00\u79cd\uff0c [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[8,304,305],"class_list":["post-905","post","type-post","status-publish","format-standard","hentry","category-tools","tag-python","tag-qrcode","tag-305"],"views":15814,"_links":{"self":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/comments?post=905"}],"version-history":[{"count":0,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/posts\/905\/revisions"}],"wp:attachment":[{"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/media?parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/categories?post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ixyzero.com\/blog\/wp-json\/wp\/v2\/tags?post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}