{"id":1175343,"date":"2025-01-15T17:30:39","date_gmt":"2025-01-15T09:30:39","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1175343.html"},"modified":"2025-01-15T17:30:42","modified_gmt":"2025-01-15T09:30:42","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e8%be%93%e5%87%ba%e6%98%9f%e6%9c%9f%e5%87%a0-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1175343.html","title":{"rendered":"\u5982\u4f55\u7528Python\u8f93\u51fa\u661f\u671f\u51e0"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25110812\/a2226b4a-150b-4764-a264-de4b65a15498.webp\" alt=\"\u5982\u4f55\u7528Python\u8f93\u51fa\u661f\u671f\u51e0\" \/><\/p>\n<p><p> <strong>\u8981\u7528Python\u8f93\u51fa\u661f\u671f\u51e0\uff0c\u53ef\u4ee5\u4f7f\u7528datetime\u6a21\u5757\u3001time\u6a21\u5757\u3001calendar\u6a21\u5757\u3002<\/strong>\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u662f\u4f7f\u7528datetime\u6a21\u5757\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u4fbf\u6377\u7684\u65e5\u671f\u548c\u65f6\u95f4\u64cd\u4f5c\u529f\u80fd\u3002\u6211\u4eec\u53ef\u4ee5\u901a\u8fc7datetime\u6a21\u5757\u83b7\u53d6\u5f53\u524d\u65e5\u671f\uff0c\u7136\u540e\u4f7f\u7528weekday()\u65b9\u6cd5\u6216strftime()\u65b9\u6cd5\u6765\u83b7\u5f97\u661f\u671f\u51e0\u3002\u4e0b\u9762\u8be6\u7ec6\u4ecb\u7ecd\u4e00\u4e0b\u5982\u4f55\u4f7f\u7528datetime\u6a21\u5757\u6765\u5b9e\u73b0\u8fd9\u4e00\u529f\u80fd\u3002<\/p>\n<\/p>\n<p><h3>\u4e00\u3001\u4f7f\u7528datetime\u6a21\u5757<\/h3>\n<\/p>\n<p><h4>\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4<\/h4>\n<\/p>\n<p><p>\u9996\u5148\uff0c\u5bfc\u5165datetime\u6a21\u5757\u5e76\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import datetime<\/p>\n<p>now = datetime.datetime.now()<\/p>\n<p>print(&quot;\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4\uff1a&quot;, now)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u83b7\u53d6\u661f\u671f\u51e0\uff080-6\uff0c\u5206\u522b\u4ee3\u8868\u661f\u671f\u4e00\u5230\u661f\u671f\u65e5\uff09<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528weekday()\u65b9\u6cd5\u53ef\u4ee5\u5f97\u5230\u5f53\u524d\u661f\u671f\u51e0\uff0c\u8fd4\u56de\u503c\u662f\u4e00\u4e2a\u6574\u6570\uff0c0\u4ee3\u8868\u661f\u671f\u4e00\uff0c6\u4ee3\u8868\u661f\u671f\u65e5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">weekday = now.weekday()<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\u661f\u671f\uff1a&quot;, weekday)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u83b7\u53d6\u661f\u671f\u51e0\u7684\u5b57\u7b26\u4e32\u8868\u793a<\/h4>\n<\/p>\n<p><p>\u5982\u679c\u60f3\u8981\u661f\u671f\u51e0\u7684\u5b57\u7b26\u4e32\u8868\u793a\uff0c\u53ef\u4ee5\u4f7f\u7528strftime()\u65b9\u6cd5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">weekday_str = now.strftime(&quot;%A&quot;)<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\uff1a&quot;, weekday_str)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u4e0a\u8ff0\u65b9\u6cd5\uff0c\u6211\u4eec\u53ef\u4ee5\u975e\u5e38\u65b9\u4fbf\u5730\u8f93\u51fa\u5f53\u524d\u65e5\u671f\u662f\u661f\u671f\u51e0\u3002\u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u5c06\u8fdb\u4e00\u6b65\u63a2\u8ba8Python\u4e2d\u4e0e\u65e5\u671f\u548c\u65f6\u95f4\u76f8\u5173\u7684\u5176\u4ed6\u6a21\u5757\u548c\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u4f7f\u7528time\u6a21\u5757<\/h3>\n<\/p>\n<p><h4>\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\u6233<\/h4>\n<\/p>\n<p><p>time\u6a21\u5757\u4e3b\u8981\u7528\u4e8e\u65f6\u95f4\u76f8\u5173\u7684\u64cd\u4f5c\uff0c\u6bd4\u5982\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\u6233\u3001\u6682\u505c\u7a0b\u5e8f\u7b49\u3002\u4f7f\u7528time\u6a21\u5757\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\u6233\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import time<\/p>\n<p>timestamp = time.time()<\/p>\n<p>print(&quot;\u5f53\u524d\u65f6\u95f4\u6233\uff1a&quot;, timestamp)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u8f6c\u6362\u4e3a\u7ed3\u6784\u5316\u65f6\u95f4<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528localtime()\u65b9\u6cd5\u5c06\u65f6\u95f4\u6233\u8f6c\u6362\u4e3a\u7ed3\u6784\u5316\u65f6\u95f4\uff0c\u5e76\u83b7\u53d6\u661f\u671f\u51e0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">localtime = time.localtime(timestamp)<\/p>\n<p>weekday = localtime.tm_wday<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\u661f\u671f\uff1a&quot;, weekday)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u83b7\u53d6\u661f\u671f\u51e0\u7684\u5b57\u7b26\u4e32\u8868\u793a<\/h4>\n<\/p>\n<p><p>\u6211\u4eec\u53ef\u4ee5\u624b\u52a8\u521b\u5efa\u4e00\u4e2a\u5217\u8868\uff0c\u5c06\u7ed3\u6784\u5316\u65f6\u95f4\u7684tm_wday\u5b57\u6bb5\u4e0e\u661f\u671f\u51e0\u7684\u5b57\u7b26\u4e32\u5bf9\u5e94\u8d77\u6765\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">weekdays = [&quot;\u661f\u671f\u4e00&quot;, &quot;\u661f\u671f\u4e8c&quot;, &quot;\u661f\u671f\u4e09&quot;, &quot;\u661f\u671f\u56db&quot;, &quot;\u661f\u671f\u4e94&quot;, &quot;\u661f\u671f\u516d&quot;, &quot;\u661f\u671f\u65e5&quot;]<\/p>\n<p>weekday_str = weekdays[localtime.tm_wday]<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\uff1a&quot;, weekday_str)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e09\u3001\u4f7f\u7528calendar\u6a21\u5757<\/h3>\n<\/p>\n<p><h4>\u83b7\u53d6\u5f53\u524d\u5e74\u4efd\u548c\u6708\u4efd\u7684\u65e5\u5386<\/h4>\n<\/p>\n<p><p>calendar\u6a21\u5757\u63d0\u4f9b\u4e86\u4e00\u4e9b\u4e0e\u65e5\u5386\u76f8\u5173\u7684\u529f\u80fd\uff0c\u6bd4\u5982\u83b7\u53d6\u5f53\u524d\u6708\u4efd\u7684\u65e5\u5386\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import calendar<\/p>\n<p>year = now.year<\/p>\n<p>month = now.month<\/p>\n<p>cal = calendar.month(year, month)<\/p>\n<p>print(&quot;\u5f53\u524d\u6708\u4efd\u7684\u65e5\u5386\uff1a\\n&quot;, cal)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h4>\u83b7\u53d6\u67d0\u4e00\u5929\u7684\u661f\u671f\u51e0<\/h4>\n<\/p>\n<p><p>\u4f7f\u7528calendar\u6a21\u5757\u7684weekday()\u65b9\u6cd5\uff0c\u53ef\u4ee5\u83b7\u53d6\u7279\u5b9a\u65e5\u671f\u7684\u661f\u671f\u51e0\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">year = 2023<\/p>\n<p>month = 10<\/p>\n<p>day = 5<\/p>\n<p>weekday = calendar.weekday(year, month, day)<\/p>\n<p>print(&quot;2023\u5e7410\u67085\u65e5\u662f\u661f\u671f\uff1a&quot;, weekday)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u56db\u3001\u7ed3\u5408\u4f7f\u7528\u591a\u4e2a\u6a21\u5757<\/h3>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u6211\u4eec\u53ef\u4ee5\u7ed3\u5408\u4f7f\u7528\u591a\u4e2a\u6a21\u5757\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u529f\u80fd\u3002\u4e0b\u9762\u662f\u4e00\u4e2a\u793a\u4f8b\uff0c\u6f14\u793a\u5982\u4f55\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u5e76\u683c\u5f0f\u5316\u8f93\u51fa\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">import datetime<\/p>\n<p>import time<\/p>\n<p>import calendar<\/p>\n<h2><strong>\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4<\/strong><\/h2>\n<p>now = datetime.datetime.now()<\/p>\n<p>print(&quot;\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4\uff1a&quot;, now)<\/p>\n<h2><strong>\u83b7\u53d6\u661f\u671f\u51e0\uff080-6\uff0c\u5206\u522b\u4ee3\u8868\u661f\u671f\u4e00\u5230\u661f\u671f\u65e5\uff09<\/strong><\/h2>\n<p>weekday = now.weekday()<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\u661f\u671f\uff1a&quot;, weekday)<\/p>\n<h2><strong>\u83b7\u53d6\u661f\u671f\u51e0\u7684\u5b57\u7b26\u4e32\u8868\u793a<\/strong><\/h2>\n<p>weekday_str = now.strftime(&quot;%A&quot;)<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\uff1a&quot;, weekday_str)<\/p>\n<h2><strong>\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\u6233<\/strong><\/h2>\n<p>timestamp = time.time()<\/p>\n<p>print(&quot;\u5f53\u524d\u65f6\u95f4\u6233\uff1a&quot;, timestamp)<\/p>\n<h2><strong>\u8f6c\u6362\u4e3a\u7ed3\u6784\u5316\u65f6\u95f4<\/strong><\/h2>\n<p>localtime = time.localtime(timestamp)<\/p>\n<p>weekday = localtime.tm_wday<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\u661f\u671f\uff1a&quot;, weekday)<\/p>\n<h2><strong>\u83b7\u53d6\u661f\u671f\u51e0\u7684\u5b57\u7b26\u4e32\u8868\u793a<\/strong><\/h2>\n<p>weekdays = [&quot;\u661f\u671f\u4e00&quot;, &quot;\u661f\u671f\u4e8c&quot;, &quot;\u661f\u671f\u4e09&quot;, &quot;\u661f\u671f\u56db&quot;, &quot;\u661f\u671f\u4e94&quot;, &quot;\u661f\u671f\u516d&quot;, &quot;\u661f\u671f\u65e5&quot;]<\/p>\n<p>weekday_str = weekdays[localtime.tm_wday]<\/p>\n<p>print(&quot;\u4eca\u5929\u662f\uff1a&quot;, weekday_str)<\/p>\n<h2><strong>\u83b7\u53d6\u5f53\u524d\u5e74\u4efd\u548c\u6708\u4efd\u7684\u65e5\u5386<\/strong><\/h2>\n<p>year = now.year<\/p>\n<p>month = now.month<\/p>\n<p>cal = calendar.month(year, month)<\/p>\n<p>print(&quot;\u5f53\u524d\u6708\u4efd\u7684\u65e5\u5386\uff1a\\n&quot;, cal)<\/p>\n<h2><strong>\u83b7\u53d6\u67d0\u4e00\u5929\u7684\u661f\u671f\u51e0<\/strong><\/h2>\n<p>year = 2023<\/p>\n<p>month = 10<\/p>\n<p>day = 5<\/p>\n<p>weekday = calendar.weekday(year, month, day)<\/p>\n<p>print(&quot;2023\u5e7410\u67085\u65e5\u662f\u661f\u671f\uff1a&quot;, weekday)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e94\u3001\u603b\u7ed3<\/h3>\n<\/p>\n<p><p>\u5728\u672c\u6587\u4e2d\uff0c\u6211\u4eec\u8be6\u7ec6\u4ecb\u7ecd\u4e86\u5982\u4f55\u4f7f\u7528Python\u8f93\u51fa\u661f\u671f\u51e0\u7684\u65b9\u6cd5\uff0c\u4e3b\u8981\u4f7f\u7528\u4e86datetime\u6a21\u5757\u3001time\u6a21\u5757\u548ccalendar\u6a21\u5757\u3002\u901a\u8fc7\u8fd9\u4e9b\u6a21\u5757\uff0c\u6211\u4eec\u53ef\u4ee5\u65b9\u4fbf\u5730\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u548c\u65f6\u95f4\uff0c\u5e76\u5c06\u5176\u8f6c\u6362\u4e3a\u661f\u671f\u51e0\u7684\u8868\u793a\u5f62\u5f0f\u3002<strong>datetime\u6a21\u5757\u662f\u6700\u5e38\u7528\u7684\uff0c\u56e0\u4e3a\u5b83\u63d0\u4f9b\u4e86\u4fbf\u6377\u7684\u65e5\u671f\u548c\u65f6\u95f4\u64cd\u4f5c\u529f\u80fd\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u6b64\u5916\uff0c\u6211\u4eec\u8fd8\u4ecb\u7ecd\u4e86\u5982\u4f55\u7ed3\u5408\u4f7f\u7528\u591a\u4e2a\u6a21\u5757\u6765\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u529f\u80fd\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u9009\u62e9\u5408\u9002\u7684\u6a21\u5757\u548c\u65b9\u6cd5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u8bfb\u6027\u548c\u6548\u7387\u3002\u5e0c\u671b\u672c\u6587\u5bf9\u60a8\u6709\u6240\u5e2e\u52a9\uff0c\u80fd\u591f\u8ba9\u60a8\u5728Python\u7f16\u7a0b\u4e2d\u66f4\u52a0\u5f97\u5fc3\u5e94\u624b\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u7684\u661f\u671f\u51e0\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u6765\u83b7\u53d6\u5f53\u524d\u65e5\u671f\u7684\u661f\u671f\u51e0\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">from datetime import datetime\n\n# \u83b7\u53d6\u5f53\u524d\u65e5\u671f\ntoday = datetime.now()\n# \u83b7\u53d6\u661f\u671f\u51e0\uff080=\u661f\u671f\u4e00\uff0c6=\u661f\u671f\u65e5\uff09\nweek_day = today.weekday()\n\n# \u8f93\u51fa\u661f\u671f\u51e0\nprint(f&quot;\u4eca\u5929\u662f\u661f\u671f{week_day + 1}&quot;)  # \u8f93\u51fa\u683c\u5f0f\u8c03\u6574\u4e3a1-7\n<\/code><\/pre>\n<p>\u8fd9\u4e2a\u4ee3\u7801\u5c06\u8f93\u51fa\u4eca\u5929\u662f\u661f\u671f\u51e0\uff0c\u4f7f\u7528<code>weekday()<\/code>\u65b9\u6cd5\u53ef\u4ee5\u8f7b\u677e\u83b7\u53d6\u3002<\/p>\n<p><strong>\u5982\u4f55\u5c06\u7279\u5b9a\u65e5\u671f\u8f6c\u6362\u4e3a\u661f\u671f\u51e0\uff1f<\/strong><br \/>\u5982\u679c\u4f60\u60f3\u8981\u5c06\u4e00\u4e2a\u7279\u5b9a\u65e5\u671f\u8f6c\u6362\u4e3a\u661f\u671f\u51e0\uff0c\u53ef\u4ee5\u4f7f\u7528\u5982\u4e0b\u4ee3\u7801\uff1a  <\/p>\n<pre><code class=\"language-python\">from datetime import datetime\n\n# \u5b9a\u4e49\u7279\u5b9a\u65e5\u671f\nspecific_date = &quot;2023-10-10&quot;\ndate_object = datetime.strptime(specific_date, &quot;%Y-%m-%d&quot;)\nweek_day = date_object.strftime(&quot;%A&quot;)  # \u83b7\u53d6\u661f\u671f\u51e0\u540d\u79f0\n\nprint(f&quot;{specific_date} \u662f {week_day}&quot;)\n<\/code><\/pre>\n<p>\u901a\u8fc7<code>strptime<\/code>\u65b9\u6cd5\uff0c\u53ef\u4ee5\u89e3\u6790\u7279\u5b9a\u683c\u5f0f\u7684\u65e5\u671f\u5b57\u7b26\u4e32\uff0c\u5e76\u4f7f\u7528<code>strftime<\/code>\u65b9\u6cd5\u83b7\u53d6\u661f\u671f\u51e0\u7684\u540d\u79f0\u3002<\/p>\n<p><strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u8f93\u51fa\u661f\u671f\u51e0\uff1f<\/strong><br \/>\u9664\u4e86\u4f7f\u7528\u6807\u51c6\u5e93\uff0cPython\u8fd8\u53ef\u4ee5\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u5982<code>pandas<\/code>\u6765\u83b7\u53d6\u661f\u671f\u51e0\u3002\u4ee5\u4e0b\u662f\u793a\u4f8b\uff1a  <\/p>\n<pre><code class=\"language-python\">import pandas as pd\n\n# \u521b\u5efa\u65e5\u671f\u5bf9\u8c61\ndate = pd.to_datetime(&quot;2023-10-10&quot;)\n# \u83b7\u53d6\u661f\u671f\u51e0\nweek_day = date.day_name()\n\nprint(f&quot;{date.date()} \u662f {week_day}&quot;)\n<\/code><\/pre>\n<p><code>pandas<\/code>\u5e93\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u65e5\u671f\u5904\u7406\u529f\u80fd\uff0c\u80fd\u591f\u4ee5\u66f4\u53cb\u597d\u7684\u65b9\u5f0f\u8f93\u51fa\u65e5\u671f\u548c\u661f\u671f\u51e0\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u7528Python\u8f93\u51fa\u661f\u671f\u51e0\uff0c\u53ef\u4ee5\u4f7f\u7528datetime\u6a21\u5757\u3001time\u6a21\u5757\u3001calendar\u6a21\u5757\u3002\u5176\u4e2d\uff0c\u6700\u5e38\u7528\u7684\u65b9 [&hellip;]","protected":false},"author":3,"featured_media":1175350,"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\/1175343"}],"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=1175343"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1175343\/revisions"}],"predecessor-version":[{"id":1175351,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1175343\/revisions\/1175351"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1175350"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1175343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1175343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1175343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}