{"id":20054,"date":"2021-09-24T09:52:39","date_gmt":"2021-09-24T04:22:39","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=20054"},"modified":"2022-07-26T18:15:01","modified_gmt":"2022-07-26T12:45:01","slug":"python-global-dictionary-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/","title":{"rendered":"Python global dictionary | Example code"},"content":{"rendered":"\n<p>Use the <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-global-keyword-change-scope-of-variables\/\">global keyword<\/a> in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then by default it has global scope.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Python global dictionary example<\/strong><\/h2>\n\n\n\n<p>Simple example code change the global dictionary value in the function. That&#8217;s easy to Modify a global dictionary in python within a function.<\/p>\n\n\n\n<p><strong>Note<\/strong>: To assign to a global variable from a function you need to use a global directive. Otherwise, Python will create a local variable with the same name instead.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dic1 = {'a': 1, 'b': 2}\n\n\ndef func():\n    global dic1\n    dic1&#91;'a'] = 100\n\n\nprint(dic1)\nfunc()\nprint('New Dictionary ', dic1)\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"451\" height=\"151\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg?resize=451%2C151&#038;ssl=1\" alt=\"Python global dictionary\" class=\"wp-image-20290\"\/><\/figure><\/div>\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>How to make a dictionary created in a function visible to the outside in Python?<\/strong><\/h3>\n\n\n\n<p><strong>Answer<\/strong>: Just put <code>global<\/code> in front of the variable, and conditionally instantiate it.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Test(object):\n\n    def create_dict():\n        global my_dict\n        if 'my_dict' not in globals():\n            my_dict = {'a': 1, 'b': 2}\n\n    create_dict()\n    print(my_dict)\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: {&#8216;a&#8217;: 1, &#8216;b&#8217;: 2}<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Do comment if you have any doubts or suggestions on this Python dictionary tutorial.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong> IDE:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.jetbrains.com\/pycharm\/\" target=\"_blank\">PyCharm<\/a>&nbsp;2021.3.3 (Community Edition)<\/p><p>Windows 10<\/p><p><strong>Python 3.10.1<\/strong><\/p><p>All<strong>&nbsp;Python Examples&nbsp;are in&nbsp;Python&nbsp;3<\/strong>, so Maybe its different from python 2 or upgraded versions.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Use the global keyword in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then by default it has global scope. Python global dictionary example Simple example code change the global dictionary value in the function. That&#8217;s easy to Modify a global dictionary in python within&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python global dictionary | Example code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30],"tags":[101,212],"post_series":[],"class_list":["post-20054","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-dictionary","tag-python-global"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python global dictionary | Example code<\/title>\n<meta name=\"description\" content=\"Use the global keyword in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python global dictionary | Example code\" \/>\n<meta property=\"og:description\" content=\"Use the global keyword in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-24T04:22:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-26T12:45:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/\",\"name\":\"Python global dictionary | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg\",\"datePublished\":\"2021-09-24T04:22:39+00:00\",\"dateModified\":\"2022-07-26T12:45:01+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Use the global keyword in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then...\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg?fit=451%2C151&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg?fit=451%2C151&ssl=1\",\"width\":451,\"height\":151},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python global dictionary | Example code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python global dictionary | Example code","description":"Use the global keyword in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then...","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python global dictionary | Example code","og_description":"Use the global keyword in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then...","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-09-24T04:22:39+00:00","article_modified_time":"2022-07-26T12:45:01+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/","name":"Python global dictionary | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg","datePublished":"2021-09-24T04:22:39+00:00","dateModified":"2022-07-26T12:45:01+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Use the global keyword in the dictionary when you want to change the value in Python. If the dictionary is defined outside function then...","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg?fit=451%2C151&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-dictionary.jpg?fit=451%2C151&ssl=1","width":451,"height":151},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-dictionary-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python global dictionary | Example code"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":20230,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-change-global-variable-in-function-example-code\/","url_meta":{"origin":20054,"position":0},"title":"Python change global variable in function | Example code","author":"Rohit","date":"September 23, 2021","format":false,"excerpt":"Use global keywords to access and change global variables in function in Python. Note: No need for global for mutable objects, if you're modifying them in place. Python change global variable example A simple example code won't assign the new value to a local variable and not change the value\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python change global variable in function","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-change-global-variable-in-function.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":18767,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-convert-list-to-dictionary-keys-example-code\/","url_meta":{"origin":20054,"position":1},"title":"Python convert list to dictionary keys | Example code","author":"Rohit","date":"October 27, 2021","format":false,"excerpt":"Using Dictionary Comprehension or zip() function will convert the list to dictionary keys in Python. If you have 2 lists then one list value will be a key and another one is used as the value. A single list can be used to convert a key for a dictionary but\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python convert list to dictionary keys","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/10\/Python-convert-list-to-dictionary-keys.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/10\/Python-convert-list-to-dictionary-keys.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/10\/Python-convert-list-to-dictionary-keys.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":21713,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-dictionary-pop-function-example-code\/","url_meta":{"origin":20054,"position":2},"title":"Python dictionary pop function | Example code","author":"Rohit","date":"October 28, 2021","format":false,"excerpt":"Using the pop() function you can remove the dictionary element in Python. This method actually removes and returns the specified element from the dictionary. dictionary.pop(keyname, defaultvalue) default value (Optional) - value to return if the specified key does not exist. Note: If the specified key is not present, it throws\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python dictionary pop function","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/10\/Python-dictionary-pop-function.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":21724,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-dictionary-popitem-function-example-code\/","url_meta":{"origin":20054,"position":3},"title":"Python dictionary popitem function | Example code","author":"Rohit","date":"October 28, 2021","format":false,"excerpt":"If you want to remove the last inserted element from the dictionary then use the dictionary popitem function in Python. This method simply removes and returns the last element (key, value) pair inserted into the dictionary. dict.popitem() Python dictionary popitem example Simple example code. dict1 = {\"A\": 7, \"B\": 1,\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python dictionary popitem function","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/10\/Python-dictionary-popitem-function.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":23468,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-values-function-in-dictionary-example-code\/","url_meta":{"origin":20054,"position":4},"title":"Python values() function in Dictionary | Example code","author":"Rohit","date":"December 19, 2021","format":false,"excerpt":"Python values() function is used to get values of the dictionary. This method actually returns a view object that displays a list of all the values in the dictionary. dictionary.values() Example Python Dictionary values function Simple example code. fruits = {'apple': 120, 'orange': 30, 'grapes': 80} print(fruits.values()) Output: How values()\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python values() function in Dictionary","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/Python-values-function-in-Dictionary.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":21737,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-dict-setdefault-function-example-code\/","url_meta":{"origin":20054,"position":5},"title":"Python dict setdefault function | Example code","author":"Rohit","date":"November 25, 2021","format":false,"excerpt":"The Python dict setdefault method is used to get the value of the item with the specified key. This method actually returns the value of a key (if the key is in a dictionary). If not, it inserts a key with a value to the dictionary. dict.setdefault(key, default_value) If the\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python dict setdefault function","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-dict-setdefault-function.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/20054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=20054"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/20054\/revisions"}],"predecessor-version":[{"id":31834,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/20054\/revisions\/31834"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=20054"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=20054"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=20054"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=20054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}