{"id":19985,"date":"2021-09-18T09:20:26","date_gmt":"2021-09-18T03:50:26","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=19985"},"modified":"2022-06-20T18:01:23","modified_gmt":"2022-06-20T12:31:23","slug":"python-global-variable-in-class-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/","title":{"rendered":"Python global variable in class | Example code"},"content":{"rendered":"\n<p>If a variable declared outside of the function or in global scope is called a global variable in Python. If it&#8217;s defined inside the class but not in any <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-functions-basics-tutorial-example\/\">function <\/a>then still it will available to other members.<\/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 variable in class example<\/strong><\/h2>\n\n\n\n<p>Simple example code Global variables can be used inside of functions and outside.<\/p>\n\n\n\n<p><strong>Defining it in the class:<\/strong> Simply assign a property to the class.<\/p>\n\n\n\n<p>Using outside a variable inside the function.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Foo(object):\n    bar = 1\n\n    def bah(self):\n        print(self.bar)\n\n\nf = Foo()\nf.bah()<\/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=\"278\" height=\"130\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.jpg?resize=278%2C130&#038;ssl=1\" alt=\"Python global variable in class\" class=\"wp-image-20012\"\/><\/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>Using global Keyword<\/strong><\/h3>\n\n\n\n<p>Local variable crate inside a function and it can only be used inside that function. <\/p>\n\n\n\n<p>Using the keyword global before a variable makes this variable belongs to the global scope:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>def myfunc():\n    global var\n    var = \"Python\"\n\n\nmyfunc()\n\nprint(var)\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: Python<\/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 variable 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>If a variable declared outside of the function or in global scope is called a global variable in Python. If it&#8217;s defined inside the class but not in any function then still it will available to other members. Python global variable in class example Simple example code Global variables can be used inside of functions&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python global variable in class | 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":[34,207,32],"post_series":[],"class_list":["post-19985","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-basic","tag-python-class","tag-python-variables"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python global variable in class | Example code<\/title>\n<meta name=\"description\" content=\"a variable declared outside of the function or in global scope is called a global variable in Python. If it&#039;s defined inside the class but...\" \/>\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-variable-in-class-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 variable in class | Example code\" \/>\n<meta property=\"og:description\" content=\"a variable declared outside of the function or in global scope is called a global variable in Python. If it&#039;s defined inside the class but...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-18T03:50:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-20T12:31:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.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-variable-in-class-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/\",\"name\":\"Python global variable in class | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.jpg\",\"datePublished\":\"2021-09-18T03:50:26+00:00\",\"dateModified\":\"2022-06-20T12:31:23+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"a variable declared outside of the function or in global scope is called a global variable in Python. If it's defined inside the class but...\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.jpg?fit=278%2C130&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.jpg?fit=278%2C130&ssl=1\",\"width\":278,\"height\":130},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python global variable in class | 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 variable in class | Example code","description":"a variable declared outside of the function or in global scope is called a global variable in Python. If it's defined inside the class but...","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-variable-in-class-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python global variable in class | Example code","og_description":"a variable declared outside of the function or in global scope is called a global variable in Python. If it's defined inside the class but...","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-09-18T03:50:26+00:00","article_modified_time":"2022-06-20T12:31:23+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.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-variable-in-class-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/","name":"Python global variable in class | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.jpg","datePublished":"2021-09-18T03:50:26+00:00","dateModified":"2022-06-20T12:31:23+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"a variable declared outside of the function or in global scope is called a global variable in Python. If it's defined inside the class but...","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.jpg?fit=278%2C130&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-variable-in-class.jpg?fit=278%2C130&ssl=1","width":278,"height":130},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-global-variable-in-class-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python global variable in class | 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":19977,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-access-private-variable-outside-the-class-in-python-example-code\/","url_meta":{"origin":19985,"position":0},"title":"How to access private variable outside the class in Python | Example code","author":"Rohit","date":"September 17, 2021","format":false,"excerpt":"Python doesn't have real private variables, so use the __ prefix (two underlines at the beginning make a variable) from PEP 8. Use instance _class-name__private-attribute try to access private variables outside the class in Python. Note: There is no such thing as \"Private variable or method \" in Python. Double\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"How to access private variable outside the class in Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/How-to-access-private-variable-outside-the-class-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20052,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-global-multiple-variables-example-code\/","url_meta":{"origin":19985,"position":1},"title":"Python global multiple variables | Example code","author":"Rohit","date":"September 22, 2021","format":false,"excerpt":"Setting up a variable in the module will work as a global variable you can define multiple variables in the class. The reason for this is that python treats classes as modules. Python global multiple variables example Simple example code defines multiple global variables from inside a class. This is\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-multiple-variables.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-multiple-variables.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-multiple-variables.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-multiple-variables.jpg?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-multiple-variables.jpg?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":7359,"url":"https:\/\/tutorial.eyehunts.com\/python\/create-python-global-variables-in-a-function-use-in-other-functions\/","url_meta":{"origin":19985,"position":2},"title":"Create Python global variables in a function &#038; Use in Other Functions","author":"Rohit","date":"January 22, 2020","format":false,"excerpt":"A variable declared outside of the function or in the global scope (class level) is known as Global Variables in Python. These are defined and declared outside a function and we need to use them inside a function. Declare the Global variable when you want to use the same variable\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":19931,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-class-static-variable-example-code\/","url_meta":{"origin":19985,"position":3},"title":"Python class static variable | Example code","author":"Rohit","date":"September 22, 2021","format":false,"excerpt":"Which variables declared inside the class definition, but not inside a method are class or static variables in Python. This is different from C++ and Java, but not so different from C#, where a static member can't be accessed using a reference to an instance. When defining some member variable\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python class static variable","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-static-variable.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20401,"url":"https:\/\/tutorial.eyehunts.com\/python\/static-variable-in-python-basics\/","url_meta":{"origin":19985,"position":4},"title":"Static variable in Python | Basics","author":"Rohit","date":"September 28, 2021","format":false,"excerpt":"Python Static variables are declared a variable inside a class, but outside the function (method). Static variables are also known as class variables in Python. Examples Static variable in Python A simple example code shows that the variables with a value assigned in a class declaration, are static variables. class\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Static variable in Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Static-variable-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20014,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-global-keyword-change-scope-of-variables\/","url_meta":{"origin":19985,"position":5},"title":"Python global keyword | Change scope of variables","author":"Rohit","date":"September 19, 2021","format":false,"excerpt":"Python global keyword is used to change the scope of variables. By default variables inside the function has local scope. Means you can't use it outside the function. Simple use global keyword to read and write a global variable inside a function. Note: If a variable defines outside the function\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python global keyword example","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-global-keyword-example.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\/19985","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=19985"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/19985\/revisions"}],"predecessor-version":[{"id":30806,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/19985\/revisions\/30806"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=19985"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=19985"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=19985"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=19985"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}