{"id":1106326,"date":"2025-01-08T16:39:13","date_gmt":"2025-01-08T08:39:13","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1106326.html"},"modified":"2025-01-08T16:39:16","modified_gmt":"2025-01-08T08:39:16","slug":"%e5%a6%82%e4%bd%95%e5%b0%86python%e7%a8%8b%e5%ba%8f%e6%89%93%e5%8c%85%e6%88%90apk%e8%a7%86%e9%a2%91","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1106326.html","title":{"rendered":"\u5982\u4f55\u5c06python\u7a0b\u5e8f\u6253\u5305\u6210apk\u89c6\u9891"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25070837\/f83f745a-7d47-454f-9dc5-a8df059e668d.webp\" alt=\"\u5982\u4f55\u5c06python\u7a0b\u5e8f\u6253\u5305\u6210apk\u89c6\u9891\" \/><\/p>\n<p><p> <strong>\u8981\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210APK\u89c6\u9891\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u4f7f\u7528\u5de5\u5177\u5982Kivy\u3001BeeWare\u3001\u4ee5\u53caBuildozer\u8fdb\u884c\u5f00\u53d1\u548c\u6253\u5305\u3001\u786e\u4fddPython\u4ee3\u7801\u517c\u5bb9\u3001\u914d\u7f6eBuildozer.spec\u6587\u4ef6\u3001\u8fd0\u884cBuildozer\u547d\u4ee4\u6765\u521b\u5efaAPK\u6587\u4ef6\u3002<\/strong> \u5176\u4e2d\uff0c<strong>\u914d\u7f6eBuildozer.spec\u6587\u4ef6<\/strong>\u662f\u4e00\u4e2a\u91cd\u8981\u6b65\u9aa4\uff0c\u5b83\u51b3\u5b9a\u4e86\u5e94\u7528\u7684\u5404\u79cd\u53c2\u6570\u548c\u8bbe\u7f6e\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4f7f\u7528Kivy\u548cBuildozer\u8fd9\u4e24\u79cd\u5de5\u5177\uff0c\u4f60\u53ef\u4ee5\u5c06Python\u4ee3\u7801\u8f6c\u6362\u6210Android\u5e94\u7528\u3002Kivy\u662f\u4e00\u4e2a\u7528\u4e8e\u5f00\u53d1\u8de8\u5e73\u53f0\u5e94\u7528\u7684Python\u6846\u67b6\uff0c\u800cBuildozer\u662f\u4e00\u4e2a\u7528\u4e8e\u5c06Kivy\u5e94\u7528\u6253\u5305\u6210Android APK\u6587\u4ef6\u7684\u5de5\u5177\u3002\u672c\u6587\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u5de5\u5177\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210APK\uff0c\u5e76\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u89c6\u9891\u6559\u7a0b\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5\u548c\u914d\u7f6eKivy<\/h3>\n<\/p>\n<p><p>Kivy\u662f\u4e00\u4e2a\u5f00\u6e90Python\u5e93\uff0c\u4e13\u95e8\u7528\u4e8e\u5f00\u53d1\u8de8\u5e73\u53f0\u7684GUI\u5e94\u7528\u3002\u5b83\u652f\u6301\u591a\u79cd\u5e73\u53f0\uff0c\u5305\u62ecWindows\u3001Linux\u3001macOS\u3001iOS\u548cAndroid\u3002\u8981\u5f00\u59cb\u4f7f\u7528Kivy\uff0c\u4f60\u9700\u8981\u9996\u5148\u5b89\u88c5\u5b83\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5Kivy<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86Python 3.x\u7248\u672c\u3002\u7136\u540e\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5Kivy\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install kivy<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521b\u5efaKivy\u9879\u76ee<\/h4>\n<\/p>\n<p><p>\u5b89\u88c5\u5b8cKivy\u540e\uff0c\u4f60\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Kivy\u9879\u76ee\u3002\u6211\u4eec\u5c06\u521b\u5efa\u4e00\u4e2a\u57fa\u672c\u7684Kivy\u5e94\u7528\uff0c\u5e76\u5c06\u5176\u6253\u5305\u6210APK\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n.py<\/p>\n<p>from kivy.app import App<\/p>\n<p>from kivy.uix.label import Label<\/p>\n<p>class MyApp(App):<\/p>\n<p>    def build(self):<\/p>\n<p>        return Label(text=&quot;Hello, Kivy!&quot;)<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    MyApp().run()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4fdd\u5b58\u8fd9\u4e2aPython\u6587\u4ef6\u4e3a<code>main.py<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u5b89\u88c5\u548c\u914d\u7f6eBuildozer<\/h3>\n<\/p>\n<p><p>Buildozer\u662f\u4e00\u4e2a\u7528\u4e8e\u5c06Kivy\u5e94\u7528\u6253\u5305\u6210Android APK\u6587\u4ef6\u7684\u5de5\u5177\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528Buildozer\u5c06Kivy\u5e94\u7528\u6253\u5305\u6210APK\u6587\u4ef6\uff0c\u5e76\u5728Android\u8bbe\u5907\u4e0a\u8fd0\u884c\u3002<\/p>\n<\/p>\n<p><h4>1. \u5b89\u88c5Buildozer<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528pip\u547d\u4ee4\u5b89\u88c5Buildozer\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install buildozer<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2. \u521d\u59cb\u5316Buildozer<\/h4>\n<\/p>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u4ee5\u521d\u59cb\u5316Buildozer\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">buildozer init<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u5c06\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>buildozer.spec<\/code>\u7684\u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>3. \u914d\u7f6eBuildozer.spec\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u6253\u5f00<code>buildozer.spec<\/code>\u6587\u4ef6\uff0c\u5e76\u6839\u636e\u4f60\u7684\u9700\u6c42\u8fdb\u884c\u914d\u7f6e\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u914d\u7f6e\u9009\u9879\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-ini\">[app]<\/p>\n<h2><strong>(str) Title of your application<\/strong><\/h2>\n<p>title = My Application<\/p>\n<h2><strong>(str) Package name<\/strong><\/h2>\n<p>package.name = myapp<\/p>\n<h2><strong>(str) Package domain (needed for android\/ios packaging)<\/strong><\/h2>\n<p>package.domain = org.test<\/p>\n<h2><strong>(str) Source code where the main.py is located<\/strong><\/h2>\n<p>source.dir = .<\/p>\n<h2><strong>(list) Source files to include (let empty to include all the files)<\/strong><\/h2>\n<p>source.include_exts = py,png,jpg,kv,atlas<\/p>\n<h2><strong>(str) Application versioning (method 1)<\/strong><\/h2>\n<p>version = 0.1<\/p>\n<h2><strong>(list) Application requirements<\/strong><\/h2>\n<h2><strong>comma separated e.g. requirements = sqlite3,kivy<\/strong><\/h2>\n<p>requirements = kivy<\/p>\n<h2><strong>(list) Permissions<\/strong><\/h2>\n<p>android.permissions = INTERNET<\/p>\n<h2><strong>(str) The package name for android<\/strong><\/h2>\n<p>package.name = myapp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u4f60\u53ef\u4ee5\u6839\u636e\u9879\u76ee\u7684\u9700\u6c42\u4fee\u6539\u8fd9\u4e9b\u914d\u7f6e\u9009\u9879\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u6253\u5305APK\u6587\u4ef6<\/h3>\n<\/p>\n<p><p>\u5b8c\u6210\u914d\u7f6e\u540e\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528Buildozer\u5c06Kivy\u5e94\u7528\u6253\u5305\u6210APK\u6587\u4ef6\u3002<\/p>\n<\/p>\n<p><h4>1. \u8fd0\u884cBuildozer\u547d\u4ee4<\/h4>\n<\/p>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff0c\u4ee5\u6253\u5305APK\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">buildozer -v android debug<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>Buildozer\u5c06\u4e0b\u8f7d\u5e76\u5b89\u88c5\u6240\u9700\u7684\u4f9d\u8d56\u9879\uff0c\u5e76\u521b\u5efa\u4e00\u4e2aAPK\u6587\u4ef6\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u53ef\u80fd\u9700\u8981\u4e00\u4e9b\u65f6\u95f4\uff0c\u5177\u4f53\u53d6\u51b3\u4e8e\u4f60\u7684\u7f51\u7edc\u8fde\u63a5\u548c\u8ba1\u7b97\u673a\u6027\u80fd\u3002<\/p>\n<\/p>\n<p><h4>2. \u627e\u5230APK\u6587\u4ef6<\/h4>\n<\/p>\n<p><p>\u6253\u5305\u5b8c\u6210\u540e\uff0cAPK\u6587\u4ef6\u5c06\u4f4d\u4e8e<code>bin<\/code>\u76ee\u5f55\u4e2d\u3002\u4f60\u53ef\u4ee5\u5c06\u8fd9\u4e2aAPK\u6587\u4ef6\u4f20\u8f93\u5230Android\u8bbe\u5907\u4e0a\uff0c\u5e76\u8fdb\u884c\u5b89\u88c5\u548c\u6d4b\u8bd5\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u521b\u5efa\u89c6\u9891\u6559\u7a0b<\/h3>\n<\/p>\n<p><p>\u4e3a\u4e86\u521b\u5efa\u4e00\u4e2a\u8be6\u7ec6\u7684\u89c6\u9891\u6559\u7a0b\uff0c\u4f60\u53ef\u4ee5\u6309\u7167\u4ee5\u4e0b\u6b65\u9aa4\u8fdb\u884c\uff1a<\/p>\n<\/p>\n<p><h4>1. \u51c6\u5907\u5f55\u5236\u5de5\u5177<\/h4>\n<\/p>\n<p><p>\u9009\u62e9\u4e00\u4e2a\u5c4f\u5e55\u5f55\u5236\u5de5\u5177\uff0c\u5982OBS Studio\u3001Camtasia\u6216ScreenFlow\u3002\u786e\u4fdd\u4f60\u5df2\u7ecf\u719f\u6089\u4e86\u8fd9\u4e9b\u5de5\u5177\u7684\u57fa\u672c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h4>2. \u5f55\u5236\u5c4f\u5e55<\/h4>\n<\/p>\n<p><p>\u5f55\u5236\u5c4f\u5e55\u65f6\uff0c\u6309\u7167\u4ee5\u4e0b\u987a\u5e8f\u8fdb\u884c\u64cd\u4f5c\uff1a<\/p>\n<\/p>\n<ol>\n<li>\u4ecb\u7ecdKivy\u548cBuildozer\uff0c\u5e76\u7b80\u8981\u8bf4\u660e\u5b83\u4eec\u7684\u7528\u9014\u3002<\/li>\n<li>\u6f14\u793a\u5982\u4f55\u5b89\u88c5Kivy\u548cBuildozer\u3002<\/li>\n<li>\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684Kivy\u9879\u76ee\uff0c\u5e76\u7f16\u5199\u793a\u4f8b\u4ee3\u7801\u3002<\/li>\n<li>\u521d\u59cb\u5316Buildozer\uff0c\u5e76\u914d\u7f6e<code>buildozer.spec<\/code>\u6587\u4ef6\u3002<\/li>\n<li>\u8fd0\u884cBuildozer\u547d\u4ee4\uff0c\u4ee5\u6253\u5305APK\u6587\u4ef6\u3002<\/li>\n<li>\u627e\u5230\u751f\u6210\u7684APK\u6587\u4ef6\uff0c\u5e76\u6f14\u793a\u5982\u4f55\u5728Android\u8bbe\u5907\u4e0a\u5b89\u88c5\u548c\u8fd0\u884c\u3002<\/li>\n<\/ol>\n<p><h4>3. \u7f16\u8f91\u548c\u53d1\u5e03\u89c6\u9891<\/h4>\n<\/p>\n<p><p>\u5f55\u5236\u5b8c\u6210\u540e\uff0c\u4f7f\u7528\u89c6\u9891\u7f16\u8f91\u5de5\u5177\u5bf9\u89c6\u9891\u8fdb\u884c\u526a\u8f91\u548c\u7f16\u8f91\u3002\u6dfb\u52a0\u5fc5\u8981\u7684\u6ce8\u91ca\u548c\u8bf4\u660e\uff0c\u4f7f\u89c6\u9891\u66f4\u52a0\u6e05\u6670\u6613\u61c2\u3002\u5b8c\u6210\u7f16\u8f91\u540e\uff0c\u5c06\u89c6\u9891\u4e0a\u4f20\u5230\u4f60\u9009\u62e9\u7684\u5e73\u53f0\uff0c\u5982YouTube\u6216Vimeo\uff0c\u5e76\u5206\u4eab\u7ed9\u4f60\u7684\u89c2\u4f17\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<p><p>\u5728\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210APK\u65f6\uff0c\u6709\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879\u9700\u8981\u7262\u8bb0\uff1a<\/p>\n<\/p>\n<ol>\n<li><strong>\u517c\u5bb9\u6027<\/strong>\uff1a\u786e\u4fdd\u4f60\u7684Python\u4ee3\u7801\u517c\u5bb9Kivy\u548cBuildozer\u3002\u67d0\u4e9bPython\u5e93\u53ef\u80fd\u4e0d\u652f\u6301\u5728Android\u4e0a\u8fd0\u884c\uff0c\u56e0\u6b64\u5728\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u65f6\u8981\u7279\u522b\u5c0f\u5fc3\u3002<\/li>\n<li><strong>\u6027\u80fd<\/strong>\uff1a\u79fb\u52a8\u8bbe\u5907\u7684\u6027\u80fd\u901a\u5e38\u4e0d\u5982\u684c\u9762\u8ba1\u7b97\u673a\uff0c\u56e0\u6b64\u8981\u4f18\u5316\u4f60\u7684\u4ee3\u7801\uff0c\u4ee5\u786e\u4fdd\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u8fd0\u884c\u987a\u7545\u3002<\/li>\n<li><strong>\u6d4b\u8bd5<\/strong>\uff1a\u5728\u4e0d\u540c\u7684Android\u8bbe\u5907\u4e0a\u6d4b\u8bd5\u4f60\u7684APK\u6587\u4ef6\uff0c\u4ee5\u786e\u4fdd\u517c\u5bb9\u6027\u548c\u7a33\u5b9a\u6027\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u672c\u6587\u7684\u6307\u5bfc\uff0c\u4f60\u5e94\u8be5\u80fd\u591f\u987a\u5229\u5730\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210APK\u6587\u4ef6\uff0c\u5e76\u521b\u5efa\u4e00\u4e2a\u8be6\u7ec6\u7684\u89c6\u9891\u6559\u7a0b\u3002\u5e0c\u671b\u8fd9\u4e9b\u5185\u5bb9\u5bf9\u4f60\u6709\u6240\u5e2e\u52a9\uff01<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06Python\u7a0b\u5e8f\u8f6c\u6362\u4e3aAPK\u6587\u4ef6\uff1f<\/strong><br \/>\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210APK\u6587\u4ef6\u901a\u5e38\u4f7f\u7528\u5de5\u5177\u5982Kivy\u3001BeeWare\u6216PySide\u7b49\u3002Kivy\u662f\u4e00\u4e2a\u6d41\u884c\u7684\u6846\u67b6\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u529f\u80fd\uff0c\u80fd\u591f\u5c06Python\u5e94\u7528\u7a0b\u5e8f\u8f6c\u6362\u4e3aAndroid\u5e94\u7528\u3002\u4f60\u9700\u8981\u5148\u5b89\u88c5Kivy\u548cBuildozer\uff0c\u5e76\u521b\u5efa\u4e00\u4e2aspec\u6587\u4ef6\u4ee5\u914d\u7f6e\u4f60\u7684\u5e94\u7528\u6253\u5305\u53c2\u6570\u3002\u786e\u4fdd\u5728\u5f00\u53d1\u73af\u5883\u4e2d\u914d\u7f6e\u597dPython\u548c\u4f9d\u8d56\u5e93\uff0c\u6700\u540e\u901a\u8fc7Buildozer\u547d\u4ee4\u751f\u6210APK\u6587\u4ef6\u3002<\/p>\n<p><strong>\u5728\u6253\u5305APK\u65f6\u9700\u8981\u6ce8\u610f\u54ea\u4e9b\u5e38\u89c1\u95ee\u9898\uff1f<\/strong><br \/>\u5728\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210APK\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u4e00\u4e9b\u5e38\u89c1\u95ee\u9898\uff0c\u5982\u4f9d\u8d56\u5e93\u4e0d\u517c\u5bb9\u3001Android SDK\u548cNDK\u914d\u7f6e\u4e0d\u6b63\u786e\u7b49\u3002\u786e\u4fdd\u4f60\u7684\u5f00\u53d1\u73af\u5883\u5305\u62ec\u9002\u5408\u7684Python\u7248\u672c\u548c\u76f8\u5173\u5e93\u7684\u6700\u65b0\u7248\u672c\u3002\u6b64\u5916\uff0c\u67e5\u770bBuildozer\u65e5\u5fd7\u53ef\u4ee5\u5e2e\u52a9\u4f60\u8bca\u65ad\u95ee\u9898\uff0c\u53ca\u65f6\u4fee\u590d\u9519\u8bef\u3002<\/p>\n<p><strong>\u80fd\u5426\u4f7f\u7528Python\u8fdb\u884cAndroid\u5e94\u7528\u5f00\u53d1\u800c\u4e0d\u6253\u5305\u6210APK\uff1f<\/strong><br \/>\u867d\u7136Python\u901a\u5e38\u7528\u4e8e\u540e\u7aef\u5f00\u53d1\uff0c\u4f46\u4e5f\u53ef\u4ee5\u4f7f\u7528Kivy\u7b49\u6846\u67b6\u521b\u5efa\u539f\u751fAndroid\u5e94\u7528\u3002\u5982\u679c\u4f60\u4e0d\u60f3\u6253\u5305\u6210APK\uff0c\u53ef\u4ee5\u8003\u8651\u4f7f\u7528Python\u7684Web\u6846\u67b6\uff08\u5982Flask\u6216Django\uff09\u5f00\u53d1Web\u5e94\u7528\u3002\u901a\u8fc7\u9002\u914d\u79fb\u52a8\u8bbe\u5907\u7684Web\u754c\u9762\uff0c\u7528\u6237\u53ef\u4ee5\u901a\u8fc7\u6d4f\u89c8\u5668\u8bbf\u95ee\u5e94\u7528\uff0c\u800c\u65e0\u9700\u4e0b\u8f7d\u5b89\u88c5APK\u6587\u4ef6\u3002\u8fd9\u79cd\u65b9\u5f0f\u867d\u7136\u65e0\u6cd5\u63d0\u4f9b\u539f\u751f\u5e94\u7528\u7684\u6240\u6709\u529f\u80fd\uff0c\u4f46\u53ef\u4ee5\u5728\u591a\u4e2a\u5e73\u53f0\u4e0a\u5b9e\u73b0\u8de8\u8bbe\u5907\u8bbf\u95ee\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5c06Python\u7a0b\u5e8f\u6253\u5305\u6210APK\u89c6\u9891\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u51e0\u4e2a\u6b65\u9aa4\uff1a\u4f7f\u7528\u5de5\u5177\u5982Kivy\u3001BeeWare\u3001\u4ee5\u53caBuild [&hellip;]","protected":false},"author":3,"featured_media":1106339,"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\/1106326"}],"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=1106326"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1106326\/revisions"}],"predecessor-version":[{"id":1106342,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1106326\/revisions\/1106342"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1106339"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1106326"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1106326"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1106326"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}