{"id":1183250,"date":"2025-01-15T19:12:25","date_gmt":"2025-01-15T11:12:25","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1183250.html"},"modified":"2025-01-15T19:12:28","modified_gmt":"2025-01-15T11:12:28","slug":"%e5%a6%82%e4%bd%95%e6%8a%8apython%e7%a8%8b%e5%ba%8f%e5%86%99%e5%85%a5%e8%8a%af%e7%89%87","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1183250.html","title":{"rendered":"\u5982\u4f55\u628apython\u7a0b\u5e8f\u5199\u5165\u82af\u7247"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25133053\/c1fe276b-5321-4c27-94b9-99a3bd9ef484.webp\" alt=\"\u5982\u4f55\u628apython\u7a0b\u5e8f\u5199\u5165\u82af\u7247\" \/><\/p>\n<p><p> <strong>\u8981\u5c06Python\u7a0b\u5e8f\u5199\u5165\u82af\u7247\uff0c\u53ef\u4ee5\u4f7f\u7528\u56fa\u4ef6\u7f16\u7a0b\u3001\u5fae\u63a7\u5236\u5668\uff08\u5982ESP32\u3001Arduino\u7b49\uff09\u6216\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7f16\u7a0b\u7b49\u65b9\u5f0f\u3002<\/strong> \u4f8b\u5982\uff0c\u4f7f\u7528MicroPython\u6216CircuitPython\u5728\u5fae\u63a7\u5236\u5668\u4e0a\u8fd0\u884cPython\u4ee3\u7801\u3002MicroPython\u662f\u4e00\u79cd\u7cbe\u7b80\u7248\u7684Python 3\uff0c\u4e13\u4e3a\u5fae\u63a7\u5236\u5668\u548c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u8bbe\u8ba1\u3002\u4ee5\u4e0b\u5c06\u8be6\u7ec6\u4ecb\u7ecdMicroPython\u5728ESP32\u4e0a\u7684\u4f7f\u7528\u65b9\u5f0f\uff1a<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u5b89\u88c5MicroPython\u56fa\u4ef6<\/h3>\n<\/p>\n<ol>\n<li><strong>\u4e0b\u8f7dMicroPython\u56fa\u4ef6<\/strong>\uff1a\u9996\u5148\uff0c\u4eceMicroPython\u5b98\u7f51\uff08<a href=\"https:\/\/micropython.org\/download\/esp32\/%EF%BC%89%E4%B8%8B%E8%BD%BD%E9%80%82%E7%94%A8%E4%BA%8EESP32%E7%9A%84%E5%9B%BA%E4%BB%B6%E3%80%82\">https:\/\/micropython.org\/download\/esp32\/\uff09\u4e0b\u8f7d\u9002\u7528\u4e8eESP32\u7684\u56fa\u4ef6\u3002<\/a><\/li>\n<li><strong>\u5b89\u88c5esptool.py<\/strong>\uff1a\u8fd9\u662f\u4e00\u4e2a\u7528\u4e8e\u5728ESP32\u4e0a\u70e7\u5f55\u56fa\u4ef6\u7684\u5de5\u5177\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a\n<pre><code class=\"language-bash\">pip install esptool<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u64e6\u9664Flash\u5185\u5b58<\/strong>\uff1a\u786e\u4fddESP32\u6ca1\u6709\u65e7\u7684\u56fa\u4ef6\u6216\u6570\u636e\uff0c\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\uff1a\n<pre><code class=\"language-bash\">esptool.py --port \/dev\/ttyUSB0 erase_flash<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8bf7\u6839\u636e\u5b9e\u9645\u8fde\u63a5\u7684\u7aef\u53e3\u4fee\u6539<code>\/dev\/ttyUSB0<\/code>\u3002<\/li>\n<\/p>\n<li><strong>\u70e7\u5f55MicroPython\u56fa\u4ef6<\/strong>\uff1a\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5c06\u4e0b\u8f7d\u7684MicroPython\u56fa\u4ef6\u70e7\u5f55\u5230ESP32\uff1a\n<pre><code class=\"language-bash\">esptool.py --chip esp32 --port \/dev\/ttyUSB0 write_flash -z 0x1000 esp32-20210902-v1.17.bin<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u540c\u6837\uff0c\u8bf7\u6839\u636e\u5b9e\u9645\u60c5\u51b5\u4fee\u6539\u7aef\u53e3\u548c\u56fa\u4ef6\u6587\u4ef6\u540d\u3002<\/li>\n<\/p>\n<\/ol>\n<p><h3>\u4e8c\u3001\u8fde\u63a5ESP32\u5e76\u8fd0\u884cPython\u4ee3\u7801<\/h3>\n<\/p>\n<ol>\n<li><strong>\u8fde\u63a5ESP32<\/strong>\uff1a\u4f7f\u7528\u4e32\u53e3\u5de5\u5177\uff08\u5982PuTTY\u3001minicom\u6216screen\uff09\u8fde\u63a5\u5230ESP32\u3002\u4ee5minicom\u4e3a\u4f8b\uff1a\n<pre><code class=\"language-bash\">minicom -D \/dev\/ttyUSB0 -b 115200<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li><strong>\u8fdb\u5165REPL<\/strong>\uff1a\u8fde\u63a5\u540e\uff0c\u4f60\u4f1a\u8fdb\u5165MicroPython\u7684REPL\uff08Read-Eval-Print Loop\uff09\u73af\u5883\uff0c\u5728\u8fd9\u91cc\u53ef\u4ee5\u76f4\u63a5\u8f93\u5165\u548c\u6267\u884cPython\u4ee3\u7801\u3002\u4f8b\u5982\uff1a\n<pre><code class=\"language-python\">print(&quot;Hello, MicroPython!&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<\/ol>\n<p><h3>\u4e09\u3001\u7f16\u5199\u548c\u4e0a\u4f20Python\u811a\u672c<\/h3>\n<\/p>\n<ol>\n<li><strong>\u51c6\u5907Python\u811a\u672c<\/strong>\uff1a\u5728\u672c\u5730\u7f16\u5199Python\u811a\u672c\uff0c\u4f8b\u5982<code>m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n.py<\/code>\uff0c\u5185\u5bb9\u5982\u4e0b\uff1a\n<pre><code class=\"language-python\">from machine import Pin<\/p>\n<p>from time import sleep<\/p>\n<p>led = Pin(2, Pin.OUT)<\/p>\n<p>while True:<\/p>\n<p>    led.value(not led.value())<\/p>\n<p>    sleep(1)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u4e2a\u811a\u672c\u5c06\u63a7\u5236ESP32\u4e0a\u7684LED\u706f\u6bcf\u79d2\u95ea\u70c1\u4e00\u6b21\u3002<\/li>\n<\/p>\n<li><strong>\u4e0a\u4f20\u811a\u672c<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528ampy\u6216rshell\u7b49\u5de5\u5177\u5c06\u811a\u672c\u4e0a\u4f20\u5230ESP32\u3002\u4ee5ampy\u4e3a\u4f8b\uff1a\n<pre><code class=\"language-bash\">pip install adafruit-ampy<\/p>\n<p>ampy --port \/dev\/ttyUSB0 put main.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p>\u8fd9\u6837\uff0c<code>main.py<\/code>\u5c31\u4f1a\u88ab\u4e0a\u4f20\u5230ESP32\u5e76\u81ea\u52a8\u8fd0\u884c\u3002<\/li>\n<\/p>\n<\/ol>\n<p><h3>\u56db\u3001\u8c03\u8bd5\u548c\u4f18\u5316<\/h3>\n<\/p>\n<ol>\n<li><strong>\u8c03\u8bd5<\/strong>\uff1a\u53ef\u4ee5\u4f7f\u7528REPL\u73af\u5883\u8fdb\u884c\u8c03\u8bd5\uff0c\u67e5\u770b\u9519\u8bef\u4fe1\u606f\u548c\u53d8\u91cf\u72b6\u6001\u3002<\/li>\n<li><strong>\u4f18\u5316\u4ee3\u7801<\/strong>\uff1a\u6839\u636e\u5b9e\u9645\u5e94\u7528\u9700\u6c42\uff0c\u5bf9\u4ee3\u7801\u8fdb\u884c\u4f18\u5316\uff0c\u51cf\u5c11\u5185\u5b58\u5360\u7528\u548c\u63d0\u9ad8\u6267\u884c\u6548\u7387\u3002<\/li>\n<\/ol>\n<p><h3>\u4e94\u3001\u5b9e\u9645\u5e94\u7528\u6848\u4f8b<\/h3>\n<\/p>\n<p><h4>1\u3001\u73af\u5883\u76d1\u6d4b\u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528MicroPython\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u73af\u5883\u76d1\u6d4b\u7cfb\u7edf\uff0c\u8bfb\u53d6\u6e29\u6e7f\u5ea6\u4f20\u611f\u5668\u6570\u636e\uff0c\u5e76\u901a\u8fc7WiFi\u4e0a\u4f20\u5230\u4e91\u5e73\u53f0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import dht<\/p>\n<p>import machine<\/p>\n<p>import network<\/p>\n<p>import urequests<\/p>\n<p>from time import sleep<\/p>\n<h2><strong>\u8fde\u63a5WiFi<\/strong><\/h2>\n<p>ssid = &#39;your_wifi_ssid&#39;<\/p>\n<p>password = &#39;your_wifi_password&#39;<\/p>\n<p>sta_if = network.WLAN(network.STA_IF)<\/p>\n<p>sta_if.active(True)<\/p>\n<p>sta_if.connect(ssid, password)<\/p>\n<p>while not sta_if.isconnected():<\/p>\n<p>    pass<\/p>\n<h2><strong>\u521d\u59cb\u5316\u4f20\u611f\u5668<\/strong><\/h2>\n<p>sensor = dht.DHT22(machine.Pin(4))<\/p>\n<p>while True:<\/p>\n<p>    try:<\/p>\n<p>        sensor.measure()<\/p>\n<p>        temp = sensor.temperature()<\/p>\n<p>        hum = sensor.humidity()<\/p>\n<p>        # \u4e0a\u4f20\u6570\u636e\u5230\u4e91\u5e73\u53f0<\/p>\n<p>        url = &#39;http:\/\/your_api_endpoint&#39;<\/p>\n<p>        data = {&#39;temperature&#39;: temp, &#39;humidity&#39;: hum}<\/p>\n<p>        response = urequests.post(url, json=data)<\/p>\n<p>        # \u6253\u5370\u54cd\u5e94<\/p>\n<p>        print(response.text)<\/p>\n<p>        sleep(60)<\/p>\n<p>    except OSError as e:<\/p>\n<p>        print(&#39;Failed to read sensor.&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>2\u3001\u667a\u80fd\u5bb6\u5c45\u63a7\u5236\u7cfb\u7edf<\/h4>\n<\/p>\n<p><p>\u53ef\u4ee5\u4f7f\u7528MicroPython\u7f16\u5199\u4e00\u4e2a\u7b80\u5355\u7684\u667a\u80fd\u5bb6\u5c45\u63a7\u5236\u7cfb\u7edf\uff0c\u901a\u8fc7HTTP\u8bf7\u6c42\u63a7\u5236ESP32\u4e0a\u7684\u7ee7\u7535\u5668\uff0c\u8fdb\u800c\u63a7\u5236\u5bb6\u7535\u8bbe\u5907\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import machine<\/p>\n<p>import network<\/p>\n<p>import urequests<\/p>\n<p>from time import sleep<\/p>\n<h2><strong>\u8fde\u63a5WiFi<\/strong><\/h2>\n<p>ssid = &#39;your_wifi_ssid&#39;<\/p>\n<p>password = &#39;your_wifi_password&#39;<\/p>\n<p>sta_if = network.WLAN(network.STA_IF)<\/p>\n<p>sta_if.active(True)<\/p>\n<p>sta_if.connect(ssid, password)<\/p>\n<p>while not sta_if.isconnected():<\/p>\n<p>    pass<\/p>\n<h2><strong>\u521d\u59cb\u5316\u7ee7\u7535\u5668<\/strong><\/h2>\n<p>relay = machine.Pin(5, machine.Pin.OUT)<\/p>\n<p>def control_relay(state):<\/p>\n<p>    if state == &#39;on&#39;:<\/p>\n<p>        relay.value(1)<\/p>\n<p>    elif state == &#39;off&#39;:<\/p>\n<p>        relay.value(0)<\/p>\n<p>while True:<\/p>\n<p>    try:<\/p>\n<p>        # \u83b7\u53d6\u63a7\u5236\u547d\u4ee4<\/p>\n<p>        url = &#39;http:\/\/your_api_endpoint&#39;<\/p>\n<p>        response = urequests.get(url)<\/p>\n<p>        command = response.json()[&#39;command&#39;]<\/p>\n<p>        # \u63a7\u5236\u7ee7\u7535\u5668<\/p>\n<p>        control_relay(command)<\/p>\n<p>        sleep(5)<\/p>\n<p>    except OSError as e:<\/p>\n<p>        print(&#39;Failed to get command.&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u516d\u3001\u6ce8\u610f\u4e8b\u9879<\/h3>\n<\/p>\n<ol>\n<li><strong>\u7535\u6e90\u7ba1\u7406<\/strong>\uff1a\u786e\u4fddESP32\u6709\u8db3\u591f\u7684\u7535\u6e90\u4f9b\u5e94\uff0c\u907f\u514d\u56e0\u4f9b\u7535\u4e0d\u8db3\u5bfc\u81f4\u7684\u91cd\u542f\u6216\u8fd0\u884c\u4e0d\u7a33\u5b9a\u3002<\/li>\n<li><strong>\u56fa\u4ef6\u66f4\u65b0<\/strong>\uff1a\u5b9a\u671f\u68c0\u67e5\u548c\u66f4\u65b0MicroPython\u56fa\u4ef6\uff0c\u4ee5\u4eab\u53d7\u6700\u65b0\u7684\u529f\u80fd\u548c\u4fee\u590d\u3002<\/li>\n<li><strong>\u4ee3\u7801\u4f18\u5316<\/strong>\uff1a\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\uff0c\u5185\u5b58\u548c\u8ba1\u7b97\u8d44\u6e90\u6709\u9650\uff0c\u7f16\u5199\u9ad8\u6548\u7684\u4ee3\u7801\u81f3\u5173\u91cd\u8981\u3002<\/li>\n<li><strong>\u5b89\u5168\u6027<\/strong>\uff1a\u5728\u6d89\u53ca\u7f51\u7edc\u901a\u4fe1\u65f6\uff0c\u6ce8\u610f\u6570\u636e\u4f20\u8f93\u7684\u5b89\u5168\u6027\uff0c\u91c7\u7528\u52a0\u5bc6\u4f20\u8f93\u548c\u9a8c\u8bc1\u673a\u5236\u3002<\/li>\n<\/ol>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u6210\u529f\u5730\u5c06Python\u7a0b\u5e8f\u5199\u5165\u82af\u7247\uff0c\u5e76\u5728\u5d4c\u5165\u5f0f\u7cfb\u7edf\u4e2d\u8fd0\u884c\u3002MicroPython\u7684\u4f7f\u7528\u6781\u5927\u5730\u7b80\u5316\u4e86\u5d4c\u5165\u5f0f\u7f16\u7a0b\u7684\u590d\u6742\u6027\uff0c\u8ba9\u66f4\u591a\u5f00\u53d1\u8005\u80fd\u591f\u5feb\u901f\u4e0a\u624b\uff0c\u5f00\u53d1\u51fa\u529f\u80fd\u5f3a\u5927\u7684\u5d4c\u5165\u5f0f\u5e94\u7528\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5c06Python\u7a0b\u5e8f\u79fb\u690d\u5230\u5d4c\u5165\u5f0f\u82af\u7247\u4e0a\uff1f<\/strong><br \/>\u8981\u5c06Python\u7a0b\u5e8f\u79fb\u690d\u5230\u5d4c\u5165\u5f0f\u82af\u7247\u4e0a\uff0c\u9996\u5148\u9700\u8981\u9009\u62e9\u4e00\u4e2a\u652f\u6301Python\u7684\u5d4c\u5165\u5f0f\u5e73\u53f0\uff0c\u5982MicroPython\u6216CircuitPython\u3002\u8fd9\u4e9b\u5e73\u53f0\u63d0\u4f9b\u4e86\u4e00\u79cd\u8f7b\u91cf\u7ea7\u7684Python\u5b9e\u73b0\uff0c\u4e13\u4e3a\u8d44\u6e90\u6709\u9650\u7684\u8bbe\u5907\u8bbe\u8ba1\u3002\u63a5\u4e0b\u6765\uff0c\u60a8\u9700\u8981\u5c06\u4ee3\u7801\u4e0a\u4f20\u5230\u82af\u7247\u4e0a\uff0c\u901a\u5e38\u901a\u8fc7USB\u6216\u4e32\u884c\u63a5\u53e3\u8fdb\u884c\u8fde\u63a5\u3002\u786e\u4fdd\u60a8\u7684\u7a0b\u5e8f\u4e0e\u786c\u4ef6\u7279\u6027\u517c\u5bb9\uff0c\u5e76\u8fdb\u884c\u5fc5\u8981\u7684\u6d4b\u8bd5\u548c\u8c03\u8bd5\uff0c\u4ee5\u786e\u4fdd\u5176\u6b63\u5e38\u8fd0\u884c\u3002<\/p>\n<p><strong>\u5728\u82af\u7247\u4e0a\u8fd0\u884cPython\u7a0b\u5e8f\u9700\u8981\u54ea\u4e9b\u5de5\u5177\uff1f<\/strong><br \/>\u8fd0\u884cPython\u7a0b\u5e8f\u5728\u82af\u7247\u4e0a\u901a\u5e38\u9700\u8981\u4e00\u4e9b\u7279\u5b9a\u5de5\u5177\uff0c\u5305\u62ec\u96c6\u6210\u5f00\u53d1\u73af\u5883\uff08IDE\uff09\u548c\u70e7\u5f55\u5de5\u5177\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528Thonny\u6216Mu\u7f16\u8f91\u5668\u8fdb\u884c\u7f16\u5199\u548c\u6d4b\u8bd5\u4ee3\u7801\uff0c\u800c\u4f7f\u7528esptool\u6216pyboard.py\u7b49\u5de5\u5177\u5c06\u7a0b\u5e8f\u70e7\u5f55\u5230\u82af\u7247\u4e2d\u3002\u6b64\u5916\uff0c\u60a8\u8fd8\u9700\u8981\u9002\u5f53\u7684\u9a71\u52a8\u7a0b\u5e8f\u548c\u5e93\uff0c\u4ee5\u4fbf\u4e0e\u786c\u4ef6\u63a5\u53e3\u8fdb\u884c\u901a\u4fe1\u3002<\/p>\n<p><strong>Python\u7a0b\u5e8f\u5728\u82af\u7247\u4e0a\u8fd0\u884c\u7684\u6027\u80fd\u5982\u4f55\uff1f<\/strong><br \/>Python\u7a0b\u5e8f\u5728\u5d4c\u5165\u5f0f\u82af\u7247\u4e0a\u7684\u6027\u80fd\u53d6\u51b3\u4e8e\u591a\u4e2a\u56e0\u7d20\uff0c\u5305\u62ec\u82af\u7247\u7684\u5904\u7406\u80fd\u529b\u3001\u5185\u5b58\u5927\u5c0f\u548c\u7a0b\u5e8f\u7684\u590d\u6742\u6027\u3002\u867d\u7136Python\u7684\u6267\u884c\u901f\u5ea6\u901a\u5e38\u4e0d\u5982C\/C++\u7b49\u8bed\u8a00\u5feb\uff0c\u4f46\u901a\u8fc7\u4f18\u5316\u4ee3\u7801\u548c\u5408\u7406\u4f7f\u7528\u8d44\u6e90\uff0c\u8bb8\u591a\u7b80\u5355\u7684\u5e94\u7528\u7a0b\u5e8f\u4ecd\u7136\u80fd\u591f\u5728\u82af\u7247\u4e0a\u6d41\u7545\u8fd0\u884c\u3002\u4f7f\u7528MicroPython\u6216CircuitPython\u65f6\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5229\u7528\u5176\u7279\u6027\u6765\u5b9e\u73b0\u8f83\u9ad8\u7684\u6548\u7387\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u5c06Python\u7a0b\u5e8f\u5199\u5165\u82af\u7247\uff0c\u53ef\u4ee5\u4f7f\u7528\u56fa\u4ef6\u7f16\u7a0b\u3001\u5fae\u63a7\u5236\u5668\uff08\u5982ESP32\u3001Arduino\u7b49\uff09\u6216\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7f16\u7a0b\u7b49\u65b9 [&hellip;]","protected":false},"author":3,"featured_media":1183258,"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\/1183250"}],"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=1183250"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1183250\/revisions"}],"predecessor-version":[{"id":1183259,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1183250\/revisions\/1183259"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1183258"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1183250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1183250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1183250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}