﻿{"id":516,"date":"2020-09-02T03:30:11","date_gmt":"2020-09-01T19:30:11","guid":{"rendered":"https:\/\/byy3.com\/?p=516"},"modified":"2021-01-09T10:10:26","modified_gmt":"2021-01-09T02:10:26","slug":"python%e5%ae%9e%e7%8e%b0wordpress%e6%96%87%e7%ab%a0%e5%8f%91%e5%b8%83-%e7%8e%af%e5%a2%83%e9%85%8d%e7%bd%ae%e4%b8%8e%e5%ae%89%e8%a3%85","status":"publish","type":"post","link":"https:\/\/byy3.com\/?p=516","title":{"rendered":"python\u5b9e\u73b0WordPress\u6587\u7ae0\u53d1\u5e03-\u73af\u5883\u914d\u7f6e\u4e0e\u5b89\u88c5"},"content":{"rendered":"<p>\u672c\u6587\u53ea\u662f<strong>python-wordpress-xmlrpc<\/strong>\u7684\u5b89\u88c5\u4f7f\u7528\uff0c\u5728\u4f7f\u7528\u672c\u6587\u4e4b\u524d\uff0c\u8fd8\u9700\u8981\u5b89\u88c5Python\u548cWordpress\u3002<\/p>\n<p>&nbsp;<\/p>\n<h4 id=\"title-0\">\u5b89\u88c5\u9002\u7528WordPress\u7684Python\u7b2c\u4e09\u65b9\u6a21\u5757<\/h4>\n<p>\u8981\u5b9e\u73b0\u5bf9WordPress\u6587\u7ae0\u7684\u53d1\u5e03\uff0c\u9700\u8981\u4f7f\u7528WordPress\u7684xmlrpc\u63a5\u53e3\uff0c\u5bf9\u4e8epython\u6765\u8bb2\uff0c\u6709\u4e00\u4e2a\u4e13\u95e8\u7684\u7b2c\u4e09\u65b9\u6a21 \u5757\u4e13\u95e8\u5b9e\u73b0\u4e86\u5bf9\u8fd9\u4e2a\u63a5\u53e3\u7684\u7ba1\u7406\uff1a<strong>python-wordpress-xmlrpc<\/strong><\/p>\n<p><strong>\u5b89\u88c5\u65b9\u6cd5\uff1a<\/strong><\/p>\n<ol>\n<li>\u4f7f\u7528\u7ba1\u7406\u5458\u65b9\u5f0f\u6253\u5f00\u547d\u4ee4\u884c\uff0c\u524d\u63d0\u662fPython\u5df2\u7ecf\u5b89\u88c5\u3002<\/li>\n<li>#\u547d\u4ee4\u884c\u4e0b\u7528pip\u00a0install\u00a0\u76f4\u63a5\u5b89\u88c5\uff08pip\u00a0install\u00a0python\u2010wordpress\u2010xmlrpc\uff09<\/li>\n<li>\u5b89\u88c5\u8fc7\u7a0b\uff08<\/li>\n<\/ol>\n<p>C:\\WINDOWS\\system32&gt;pip install python-wordpress-xmlrpc<br \/>\nCollecting python-wordpress-xmlrpc<br \/>\nDownloading python-wordpress-xmlrpc-2.3.zip (19 kB)<br \/>\nUsing legacy setup.py install for python-wordpress-xmlrpc, since package \u2018wheel\u2019 is not installed.<br \/>\nInstalling collected packages: python-wordpress-xmlrpc<br \/>\nRunning setup.py install for python-wordpress-xmlrpc \u2026 done<br \/>\nSuccessfully installed python-wordpress-xmlrpc-2.3\uff09<\/p>\n<p>\u76f8\u5173\u6587\u6863\u5730\u5740\uff1a<a href=\"https:\/\/byy3.com\/go\/?url=https:\/\/python-wordpress-xmlrpc.readthedocs.io\/en\/latest\/ref\/client.html\" rel=\"nofollow\" >http:\/\/python-wordpress-xmlrpc.readthedocs.io\/en\/latest\/ref\/client.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u672c\u6587\u53ea\u662fpython-wordpress-xmlrpc\u7684\u5b89\u88c5\u4f7f\u7528\uff0c\u5728\u4f7f\u7528\u672c\u6587\u4e4b\u524d\uff0c\u8fd8\u9700\u8981\u5b89\u88c5Python\u548cWo [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20,15],"tags":[352],"class_list":["post-516","post","type-post","status-publish","format-standard","hentry","category-python","category-wordpress","tag-python"],"_links":{"self":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/516","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=516"}],"version-history":[{"count":0,"href":"https:\/\/byy3.com\/index.php?rest_route=\/wp\/v2\/posts\/516\/revisions"}],"wp:attachment":[{"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=516"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=516"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/byy3.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=516"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}