{"id":1101758,"date":"2025-01-08T15:52:54","date_gmt":"2025-01-08T07:52:54","guid":{"rendered":""},"modified":"2025-01-08T15:53:00","modified_gmt":"2025-01-08T07:53:00","slug":"%e5%a6%82%e4%bd%95%e7%94%a8python%e5%ae%9e%e7%8e%b0%e5%90%8d%e7%89%87%e5%a2%9e%e5%88%a0%e6%94%b9%e6%9f%a5-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1101758.html","title":{"rendered":"\u5982\u4f55\u7528python\u5b9e\u73b0\u540d\u7247\u589e\u5220\u6539\u67e5"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25064401\/99a0247d-7ef4-4a0e-b312-c5e21751fa99.webp\" alt=\"\u5982\u4f55\u7528python\u5b9e\u73b0\u540d\u7247\u589e\u5220\u6539\u67e5\" \/><\/p>\n<p><p> \u8981\u7528Python\u5b9e\u73b0\u540d\u7247\u7684\u589e\u5220\u6539\u67e5\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u57fa\u4e8e\u5b57\u5178\u6216\u7c7b\u7684\u7b80\u5355\u547d\u4ee4\u884c\u7a0b\u5e8f\u3002<strong>\u4f7f\u7528\u5b57\u5178\u5b58\u50a8\u540d\u7247\u4fe1\u606f\u3001\u5b9a\u4e49\u589e\u5220\u6539\u67e5\u529f\u80fd\u3001\u4f7f\u7528\u5faa\u73af\u4e0e\u7528\u6237\u4ea4\u4e92<\/strong>\u3002\u4e0b\u9762\u6211\u5c06\u4ecb\u7ecd\u5176\u4e2d\u4e00\u4e2a\u65b9\u6cd5\uff0c\u5e76\u5bf9\u201c\u5b9a\u4e49\u589e\u5220\u6539\u67e5\u529f\u80fd\u201d\u8fd9\u4e00\u70b9\u8fdb\u884c\u8be6\u7ec6\u63cf\u8ff0\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">class BusinessCard:<\/p>\n<p>    def __init__(self):<\/p>\n<p>        self.cards = []<\/p>\n<p>    def add_card(self, name, phone, em<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>l):<\/p>\n<p>        card = {&#39;name&#39;: name, &#39;phone&#39;: phone, &#39;email&#39;: email}<\/p>\n<p>        self.cards.append(card)<\/p>\n<p>    def delete_card(self, name):<\/p>\n<p>        for card in self.cards:<\/p>\n<p>            if card[&#39;name&#39;] == name:<\/p>\n<p>                self.cards.remove(card)<\/p>\n<p>                return True<\/p>\n<p>        return False<\/p>\n<p>    def update_card(self, name, phone=None, email=None):<\/p>\n<p>        for card in self.cards:<\/p>\n<p>            if card[&#39;name&#39;] == name:<\/p>\n<p>                if phone:<\/p>\n<p>                    card[&#39;phone&#39;] = phone<\/p>\n<p>                if email:<\/p>\n<p>                    card[&#39;email&#39;] = email<\/p>\n<p>                return True<\/p>\n<p>        return False<\/p>\n<p>    def search_card(self, name):<\/p>\n<p>        for card in self.cards:<\/p>\n<p>            if card[&#39;name&#39;] == name:<\/p>\n<p>                return card<\/p>\n<p>        return None<\/p>\n<p>    def display_cards(self):<\/p>\n<p>        for card in self.cards:<\/p>\n<p>            print(f&quot;Name: {card[&#39;name&#39;]}, Phone: {card[&#39;phone&#39;]}, Email: {card[&#39;email&#39;]}&quot;)<\/p>\n<p>def main():<\/p>\n<p>    bc = BusinessCard()<\/p>\n<p>    while True:<\/p>\n<p>        print(&quot;\\n1. Add Card\\n2. Delete Card\\n3. Update Card\\n4. Search Card\\n5. Display All Cards\\n6. Exit&quot;)<\/p>\n<p>        choice = input(&quot;Enter your choice: &quot;)<\/p>\n<p>        if choice == &#39;1&#39;:<\/p>\n<p>            name = input(&quot;Enter name: &quot;)<\/p>\n<p>            phone = input(&quot;Enter phone: &quot;)<\/p>\n<p>            email = input(&quot;Enter email: &quot;)<\/p>\n<p>            bc.add_card(name, phone, email)<\/p>\n<p>            print(&quot;Card added successfully!&quot;)<\/p>\n<p>        elif choice == &#39;2&#39;:<\/p>\n<p>            name = input(&quot;Enter name to delete: &quot;)<\/p>\n<p>            if bc.delete_card(name):<\/p>\n<p>                print(&quot;Card deleted successfully!&quot;)<\/p>\n<p>            else:<\/p>\n<p>                print(&quot;Card not found!&quot;)<\/p>\n<p>        elif choice == &#39;3&#39;:<\/p>\n<p>            name = input(&quot;Enter name to update: &quot;)<\/p>\n<p>            phone = input(&quot;Enter new phone (leave blank to skip): &quot;)<\/p>\n<p>            email = input(&quot;Enter new email (leave blank to skip): &quot;)<\/p>\n<p>            if bc.update_card(name, phone, email):<\/p>\n<p>                print(&quot;Card updated successfully!&quot;)<\/p>\n<p>            else:<\/p>\n<p>                print(&quot;Card not found!&quot;)<\/p>\n<p>        elif choice == &#39;4&#39;:<\/p>\n<p>            name = input(&quot;Enter name to search: &quot;)<\/p>\n<p>            card = bc.search_card(name)<\/p>\n<p>            if card:<\/p>\n<p>                print(f&quot;Name: {card[&#39;name&#39;]}, Phone: {card[&#39;phone&#39;]}, Email: {card[&#39;email&#39;]}&quot;)<\/p>\n<p>            else:<\/p>\n<p>                print(&quot;Card not found!&quot;)<\/p>\n<p>        elif choice == &#39;5&#39;:<\/p>\n<p>            bc.display_cards()<\/p>\n<p>        elif choice == &#39;6&#39;:<\/p>\n<p>            break<\/p>\n<p>        else:<\/p>\n<p>            print(&quot;Invalid choice! Please try again.&quot;)<\/p>\n<p>if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h3>\u4e00\u3001\u5b9a\u4e49\u589e\u5220\u6539\u67e5\u529f\u80fd<\/h3>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u547d\u4ee4\u884c\u7a0b\u5e8f\u4e2d\uff0c\u589e\u5220\u6539\u67e5\u529f\u80fd\u662f\u901a\u8fc7<code>add_card<\/code>\u3001<code>delete_card<\/code>\u3001<code>update_card<\/code>\u3001<code>search_card<\/code>\u8fd9\u56db\u4e2a\u65b9\u6cd5\u5b9e\u73b0\u7684\u3002\u6bcf\u4e2a\u65b9\u6cd5\u90fd\u6709\u660e\u786e\u7684\u529f\u80fd\u548c\u8f93\u5165\u8f93\u51fa\uff0c\u4e0b\u9762\u5c06\u8be6\u7ec6\u63cf\u8ff0\u8fd9\u4e9b\u65b9\u6cd5\u3002<\/p>\n<\/p>\n<p><p><strong>1\u3001\u589e\u52a0\u540d\u7247\uff08add_card\uff09<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def add_card(self, name, phone, email):<\/p>\n<p>    card = {&#39;name&#39;: name, &#39;phone&#39;: phone, &#39;email&#39;: email}<\/p>\n<p>    self.cards.append(card)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><em>\u529f\u80fd\u63cf\u8ff0\uff1a<\/em><br \/>\u8be5\u65b9\u6cd5\u63a5\u53d7\u4e09\u4e2a\u53c2\u6570\uff1a<code>name<\/code>\u3001<code>phone<\/code>\u3001<code>email<\/code>\u3002\u5b83\u521b\u5efa\u4e00\u4e2a\u5305\u542b\u8fd9\u4e9b\u4fe1\u606f\u7684\u5b57\u5178\uff0c\u5e76\u5c06\u5176\u6dfb\u52a0\u5230\u540d\u7247\u5217\u8868<code>self.cards<\/code>\u4e2d\u3002<\/p>\n<\/p>\n<p><p><strong>2\u3001\u5220\u9664\u540d\u7247\uff08delete_card\uff09<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def delete_card(self, name):<\/p>\n<p>    for card in self.cards:<\/p>\n<p>        if card[&#39;name&#39;] == name:<\/p>\n<p>            self.cards.remove(card)<\/p>\n<p>            return True<\/p>\n<p>    return False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><em>\u529f\u80fd\u63cf\u8ff0\uff1a<\/em><br \/>\u8be5\u65b9\u6cd5\u63a5\u53d7\u4e00\u4e2a\u53c2\u6570\uff1a<code>name<\/code>\u3002\u5b83\u904d\u5386\u540d\u7247\u5217\u8868\uff0c\u627e\u5230\u540d\u5b57\u5339\u914d\u7684\u540d\u7247\u5e76\u5c06\u5176\u5220\u9664\u3002\u5982\u679c\u627e\u5230\u5e76\u5220\u9664\u4e86\u540d\u7247\uff0c\u8fd4\u56de<code>True<\/code>\uff0c\u5426\u5219\u8fd4\u56de<code>False<\/code>\u3002<\/p>\n<\/p>\n<p><p><strong>3\u3001\u66f4\u65b0\u540d\u7247\uff08update_card\uff09<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def update_card(self, name, phone=None, email=None):<\/p>\n<p>    for card in self.cards:<\/p>\n<p>        if card[&#39;name&#39;] == name:<\/p>\n<p>            if phone:<\/p>\n<p>                card[&#39;phone&#39;] = phone<\/p>\n<p>            if email:<\/p>\n<p>                card[&#39;email&#39;] = email<\/p>\n<p>            return True<\/p>\n<p>    return False<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><em>\u529f\u80fd\u63cf\u8ff0\uff1a<\/em><br \/>\u8be5\u65b9\u6cd5\u63a5\u53d7\u4e09\u4e2a\u53c2\u6570\uff1a<code>name<\/code>\u3001<code>phone<\/code>\u3001<code>email<\/code>\uff0c\u5176\u4e2d<code>phone<\/code>\u548c<code>email<\/code>\u662f\u53ef\u9009\u7684\u3002\u5b83\u904d\u5386\u540d\u7247\u5217\u8868\uff0c\u627e\u5230\u540d\u5b57\u5339\u914d\u7684\u540d\u7247\u5e76\u66f4\u65b0\u76f8\u5e94\u7684\u4fe1\u606f\u3002\u5982\u679c\u627e\u5230\u5e76\u66f4\u65b0\u4e86\u540d\u7247\uff0c\u8fd4\u56de<code>True<\/code>\uff0c\u5426\u5219\u8fd4\u56de<code>False<\/code>\u3002<\/p>\n<\/p>\n<p><p><strong>4\u3001\u641c\u7d22\u540d\u7247\uff08search_card\uff09<\/strong><\/p>\n<\/p>\n<p><pre><code class=\"language-python\">def search_card(self, name):<\/p>\n<p>    for card in self.cards:<\/p>\n<p>        if card[&#39;name&#39;] == name:<\/p>\n<p>            return card<\/p>\n<p>    return None<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><em>\u529f\u80fd\u63cf\u8ff0\uff1a<\/em><br \/>\u8be5\u65b9\u6cd5\u63a5\u53d7\u4e00\u4e2a\u53c2\u6570\uff1a<code>name<\/code>\u3002\u5b83\u904d\u5386\u540d\u7247\u5217\u8868\uff0c\u627e\u5230\u540d\u5b57\u5339\u914d\u7684\u540d\u7247\u5e76\u8fd4\u56de\u8be5\u540d\u7247\u7684\u5b57\u5178\u3002\u5982\u679c\u6ca1\u6709\u627e\u5230\uff0c\u8fd4\u56de<code>None<\/code>\u3002<\/p>\n<\/p>\n<p><h3>\u4e8c\u3001\u7c7b\u548c\u6570\u636e\u7ed3\u6784<\/h3>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2a\u7a0b\u5e8f\u4e2d\uff0c\u540d\u7247\u4fe1\u606f\u5b58\u50a8\u5728\u4e00\u4e2a\u5217\u8868<code>self.cards<\/code>\u4e2d\uff0c\u6bcf\u4e2a\u540d\u7247\u662f\u4e00\u4e2a\u5305\u542b<code>name<\/code>\u3001<code>phone<\/code>\u3001<code>email<\/code>\u952e\u7684\u5b57\u5178\u3002\u901a\u8fc7\u5b9a\u4e49<code>BusinessCard<\/code>\u7c7b\u6765\u5c01\u88c5\u540d\u7247\u7ba1\u7406\u7684\u529f\u80fd\uff0c\u4f7f\u4ee3\u7801\u66f4\u52a0\u6a21\u5757\u5316\u548c\u6613\u4e8e\u7ef4\u62a4\u3002<\/p>\n<\/p>\n<p><h3>\u4e09\u3001\u7528\u6237\u4ea4\u4e92<\/h3>\n<\/p>\n<p><p>\u5728<code>main<\/code>\u51fd\u6570\u4e2d\uff0c\u901a\u8fc7\u4e00\u4e2a<code>while<\/code>\u5faa\u73af\u548c\u4e00\u7cfb\u5217\u7684<code>input<\/code>\u51fd\u6570\u4e0e\u7528\u6237\u4ea4\u4e92\u3002\u7528\u6237\u53ef\u4ee5\u9009\u62e9\u4e0d\u540c\u7684\u64cd\u4f5c\uff0c\u5982\u6dfb\u52a0\u3001\u5220\u9664\u3001\u66f4\u65b0\u3001\u641c\u7d22\u548c\u663e\u793a\u6240\u6709\u540d\u7247\u3002\u6839\u636e\u7528\u6237\u7684\u9009\u62e9\uff0c\u8c03\u7528\u76f8\u5e94\u7684\u65b9\u6cd5\u6765\u6267\u884c\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<p><h3>\u56db\u3001\u663e\u793a\u540d\u7247\u4fe1\u606f<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">def display_cards(self):<\/p>\n<p>    for card in self.cards:<\/p>\n<p>        print(f&quot;Name: {card[&#39;name&#39;]}, Phone: {card[&#39;phone&#39;]}, Email: {card[&#39;email&#39;]}&quot;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><em>\u529f\u80fd\u63cf\u8ff0\uff1a<\/em><br \/>\u8be5\u65b9\u6cd5\u904d\u5386\u540d\u7247\u5217\u8868\uff0c\u9010\u4e2a\u6253\u5370\u6bcf\u4e2a\u540d\u7247\u7684\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><h3>\u4e94\u3001\u7a0b\u5e8f\u5165\u53e3<\/h3>\n<\/p>\n<p><pre><code class=\"language-python\">if __name__ == &quot;__main__&quot;:<\/p>\n<p>    main()<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><em>\u529f\u80fd\u63cf\u8ff0\uff1a<\/em><br \/>\u7a0b\u5e8f\u4ece\u8fd9\u91cc\u5f00\u59cb\u6267\u884c\uff0c\u901a\u8fc7\u8c03\u7528<code>main<\/code>\u51fd\u6570\u542f\u52a8\u540d\u7247\u7ba1\u7406\u7a0b\u5e8f\u3002<\/p>\n<\/p>\n<p><p>\u603b\u7ed3\uff1a\u901a\u8fc7\u5b9a\u4e49<code>BusinessCard<\/code>\u7c7b\u548c\u4e00\u7cfb\u5217\u65b9\u6cd5\uff0c\u6211\u4eec\u5b9e\u73b0\u4e86\u4e00\u4e2a\u7b80\u5355\u4f46\u529f\u80fd\u9f50\u5168\u7684\u540d\u7247\u7ba1\u7406\u547d\u4ee4\u884c\u7a0b\u5e8f\u3002\u7528\u6237\u53ef\u4ee5\u65b9\u4fbf\u5730\u6dfb\u52a0\u3001\u5220\u9664\u3001\u66f4\u65b0\u548c\u641c\u7d22\u540d\u7247\uff0c\u5e76\u67e5\u770b\u6240\u6709\u540d\u7247\u7684\u5217\u8868\u3002\u8fd9\u4e2a\u7a0b\u5e8f\u5c55\u793a\u4e86\u5982\u4f55\u4f7f\u7528Python\u7684\u57fa\u672c\u8bed\u6cd5\u548c\u7ed3\u6784\u6765\u5b9e\u73b0\u4e00\u4e2a\u5b9e\u9645\u7684\u5e94\u7528\uff0c\u5e76\u4e3a\u8fdb\u4e00\u6b65\u6269\u5c55\u548c\u6539\u8fdb\u63d0\u4f9b\u4e86\u57fa\u7840\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5728Python\u4e2d\u5982\u4f55\u5b9e\u73b0\u540d\u7247\u7684\u589e\u5220\u6539\u67e5\u529f\u80fd\uff1f<\/strong><\/p>\n<p>\u5728Python\u4e2d\u5b9e\u73b0\u540d\u7247\u7684\u589e\u5220\u6539\u67e5\u529f\u80fd\u53ef\u4ee5\u901a\u8fc7\u521b\u5efa\u4e00\u4e2a\u7b80\u5355\u7684\u7c7b\u6765\u7ba1\u7406\u540d\u7247\u6570\u636e\u3002\u4f7f\u7528\u5b57\u5178\u5b58\u50a8\u540d\u7247\u4fe1\u606f\u975e\u5e38\u65b9\u4fbf\uff0c\u60a8\u53ef\u4ee5\u5b9a\u4e49\u4e00\u4e2a\u5305\u542b\u589e\u3001\u5220\u3001\u6539\u3001\u67e5\u65b9\u6cd5\u7684\u7c7b\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u5217\u8868\u5b58\u50a8\u591a\u4e2a\u540d\u7247\uff0c\u5e76\u901a\u8fc7\u4e0d\u540c\u7684\u65b9\u6cd5\u5b9e\u73b0\u5bf9\u540d\u7247\u7684\u64cd\u4f5c\u3002\u8fd9\u79cd\u65b9\u5f0f\u53ef\u4ee5\u8ba9\u4f60\u8f7b\u677e\u7ba1\u7406\u540d\u7247\u4fe1\u606f\uff0c\u65b9\u4fbf\u540e\u671f\u7684\u7ef4\u62a4\u548c\u6269\u5c55\u3002<\/p>\n<p><strong>\u540d\u7247\u4fe1\u606f\u5982\u4f55\u5b58\u50a8\u548c\u7ba1\u7406\uff0c\u4ee5\u786e\u4fdd\u6570\u636e\u7684\u6301\u4e45\u6027\uff1f<\/strong><\/p>\n<p>\u4e3a\u4e86\u786e\u4fdd\u540d\u7247\u6570\u636e\u7684\u6301\u4e45\u6027\uff0c\u53ef\u4ee5\u5c06\u540d\u7247\u4fe1\u606f\u5b58\u50a8\u5230\u6587\u4ef6\u4e2d\uff0c\u5982JSON\u6216CSV\u683c\u5f0f\u3002\u4f7f\u7528Python\u7684\u5185\u7f6e\u6a21\u5757\u5982<code>json<\/code>\u6216<code>csv<\/code>\uff0c\u53ef\u4ee5\u5c06\u540d\u7247\u6570\u636e\u8bfb\u5199\u5230\u6587\u4ef6\u3002\u8fd9\u6837\uff0c\u5373\u4f7f\u7a0b\u5e8f\u91cd\u542f\uff0c\u60a8\u4ecd\u7136\u53ef\u4ee5\u4fdd\u7559\u540d\u7247\u4fe1\u606f\u3002\u521b\u5efa\u4e00\u4e2a\u4fdd\u5b58\u548c\u52a0\u8f7d\u6570\u636e\u7684\u65b9\u6cd5\uff0c\u53ef\u4ee5\u4f7f\u540d\u7247\u7ba1\u7406\u7a0b\u5e8f\u66f4\u52a0\u5b8c\u5584\u548c\u5b9e\u7528\u3002<\/p>\n<p><strong>\u5982\u4f55\u5904\u7406\u540d\u7247\u7684\u67e5\u627e\u548c\u8fc7\u6ee4\u529f\u80fd\uff0c\u4ee5\u63d0\u9ad8\u7528\u6237\u4f53\u9a8c\uff1f<\/strong><\/p>\n<p>\u5728\u5b9e\u73b0\u540d\u7247\u7684\u67e5\u627e\u548c\u8fc7\u6ee4\u529f\u80fd\u65f6\uff0c\u53ef\u4ee5\u6839\u636e\u7528\u6237\u8f93\u5165\u7684\u5173\u952e\u8bcd\u8fdb\u884c\u5339\u914d\u3002\u4f8b\u5982\uff0c\u53ef\u4ee5\u6dfb\u52a0\u4e00\u4e2a\u65b9\u6cd5\u6765\u904d\u5386\u540d\u7247\u5217\u8868\uff0c\u67e5\u627e\u5305\u542b\u7279\u5b9a\u59d3\u540d\u6216\u7535\u8bdd\u7684\u540d\u7247\u3002\u8fd8\u53ef\u4ee5\u63d0\u4f9b\u66f4\u591a\u7684\u7b5b\u9009\u6761\u4ef6\uff0c\u5982\u6309\u516c\u53f8\u3001\u90ae\u7bb1\u7b49\u8fdb\u884c\u8fc7\u6ee4\u3002\u8fd9\u5c06\u5927\u5927\u63d0\u9ad8\u7528\u6237\u7684\u64cd\u4f5c\u6548\u7387\uff0c\u4f7f\u7528\u6237\u80fd\u591f\u5feb\u901f\u627e\u5230\u6240\u9700\u7684\u540d\u7247\u4fe1\u606f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u8981\u7528Python\u5b9e\u73b0\u540d\u7247\u7684\u589e\u5220\u6539\u67e5\u529f\u80fd\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u57fa\u4e8e\u5b57\u5178\u6216\u7c7b\u7684\u7b80\u5355\u547d\u4ee4\u884c\u7a0b\u5e8f\u3002\u4f7f\u7528\u5b57\u5178\u5b58\u50a8\u540d\u7247\u4fe1\u606f\u3001\u5b9a\u4e49\u589e [&hellip;]","protected":false},"author":3,"featured_media":1101770,"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\/1101758"}],"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=1101758"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1101758\/revisions"}],"predecessor-version":[{"id":1101773,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1101758\/revisions\/1101773"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1101770"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1101758"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1101758"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1101758"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}