{"id":19954,"date":"2021-09-17T09:59:26","date_gmt":"2021-09-17T04:29:26","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=19954"},"modified":"2022-06-16T18:20:56","modified_gmt":"2022-06-16T12:50:56","slug":"python-class-variables-basics","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/","title":{"rendered":"Python class variables | Basics"},"content":{"rendered":"\n<p>Python variable defines inside the class and which have the same value across all<strong> class instances<\/strong> is called class variables. A Class variable is declared when a class is being constructed. These variables are assigned a value at class declaration.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class MyClass:\n\n    var = \"Hello\" #value shared across all class instances\n\n<\/code><\/pre>\n\n\n\n<p>Note: Modifying a class variable affects all objects instance at the same time.<\/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 class variables examples<\/strong><\/h2>\n\n\n\n<p>Simple example code program to show that the variables with a value assigned in the class declaration, are class variables<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class Employee:\n    branch = 'IT'  # Class Variable\n\n    def __init__(self, name, salary):\n        self.name = name  # Instance Variable\n        self.salary = salary  # Instance Variable\n\n\n# Objects of Employee class\nemp1 = Employee('John', 10000)\nemp2 = Employee('Alen', 20000)\n\nprint(emp1.name, emp1.salary, emp1.branch)\nprint(emp2.name, emp2.salary, emp2.branch)\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=\"262\" height=\"140\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg?resize=262%2C140&#038;ssl=1\" alt=\"Python class variables\" class=\"wp-image-19970\"\/><\/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>Why use class variables?<\/strong><\/h3>\n\n\n\n<p><strong>Answer<\/strong>: Python Class variables are useful because they allow you to declare a variable when a class has been built, which can then be used later in your class. They are not tied to any particular object of the class.<\/p>\n\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 access a Class Variable in Python?<\/strong><\/h3>\n\n\n\n<p><strong>Answer<\/strong>: You can access it when we create an object of the class. Use this code to access the variables and <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-print-function-hello-world\/\">print <\/a>their value.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>class MyClass:\n    var = \"Hello\"\n\n\n# Create object\nobj = MyClass()\n\n# Access variable\nprint(obj.var)<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: Hello<\/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 basic topic.<\/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>Python variable defines inside the class and which have the same value across all class instances is called class variables. A Class variable is declared when a class is being constructed. These variables are assigned a value at class declaration. Note: Modifying a class variable affects all objects instance at the same time. Python class&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python class variables | Basics<\/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":[207,32],"post_series":[],"class_list":["post-19954","post","type-post","status-publish","format-standard","hentry","category-python","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 class variables | Basics<\/title>\n<meta name=\"description\" content=\"Python variable defines inside the class and which have the same value across all class instances is called class variables.\" \/>\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-class-variables-basics\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python class variables | Basics\" \/>\n<meta property=\"og:description\" content=\"Python variable defines inside the class and which have the same value across all class instances is called class variables.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-17T04:29:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-16T12:50:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.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=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/\",\"name\":\"Python class variables | Basics\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg\",\"datePublished\":\"2021-09-17T04:29:26+00:00\",\"dateModified\":\"2022-06-16T12:50:56+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"Python variable defines inside the class and which have the same value across all class instances is called class variables.\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg?fit=262%2C140&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg?fit=262%2C140&ssl=1\",\"width\":262,\"height\":140},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python class variables | Basics\"}]},{\"@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 class variables | Basics","description":"Python variable defines inside the class and which have the same value across all class instances is called class variables.","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-class-variables-basics\/","og_locale":"en_US","og_type":"article","og_title":"Python class variables | Basics","og_description":"Python variable defines inside the class and which have the same value across all class instances is called class variables.","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/","og_site_name":"Tutorial","article_published_time":"2021-09-17T04:29:26+00:00","article_modified_time":"2022-06-16T12:50:56+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/","name":"Python class variables | Basics","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg","datePublished":"2021-09-17T04:29:26+00:00","dateModified":"2022-06-16T12:50:56+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"Python variable defines inside the class and which have the same value across all class instances is called class variables.","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg?fit=262%2C140&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-variables.jpg?fit=262%2C140&ssl=1","width":262,"height":140},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-basics\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python class variables | Basics"}]},{"@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":20401,"url":"https:\/\/tutorial.eyehunts.com\/python\/static-variable-in-python-basics\/","url_meta":{"origin":19954,"position":0},"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":3016,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-class-variables-static-instance\/","url_meta":{"origin":19954,"position":1},"title":"Python Class Variables Initialization | Static | Instance","author":"Rohit","date":"October 31, 2018","format":false,"excerpt":"Python class variables shared by all objects, not only in python, almost every programming language. Which Variables\u00a0are defined or assigned value class level is class variable in python. If a variable is assigned value or defines an Inside the class function that is called instance variables. In this tutorial, we\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python Class Variables Initialization Static Instance example","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/10\/Python-Class-Variables-Initialization-Static-Instance-example.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/10\/Python-Class-Variables-Initialization-Static-Instance-example.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/10\/Python-Class-Variables-Initialization-Static-Instance-example.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2018\/10\/Python-Class-Variables-Initialization-Static-Instance-example.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":19968,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-class-instance-variables\/","url_meta":{"origin":19954,"position":2},"title":"Python class instance variables","author":"Rohit","date":"September 20, 2021","format":false,"excerpt":"In the Python class, if variables values are assigned inside methods are called instance variables. Instance variables can have different values across multiple instances of a class. Python class instance variables example Simple example code declared Instance variables inside a class method and print the values after creating an object.\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"Python class instance variables","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-class-instance-variables.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":36445,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-static-object\/","url_meta":{"origin":19954,"position":3},"title":"Python static object","author":"Rohit","date":"July 7, 2023","format":false,"excerpt":"In Python, there is no concept of a \"static object\" in the same way it exists in some other programming languages like Java or C++. However, you can achieve similar functionality using class attributes or module-level variables. Class-level attributes: In Python, you can define class attributes, which are shared by\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\/2023\/07\/Python-static-object.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":20024,"url":"https:\/\/tutorial.eyehunts.com\/python\/python-module-variables-example-code\/","url_meta":{"origin":19954,"position":4},"title":"Python module variables | Example code","author":"Rohit","date":"September 18, 2021","format":false,"excerpt":"The only global variables really have are module-scoped variables in Python. You can't make a variable that is truly global; a variable can have a particular scope. Python module variables example A simple example code to make a module-global variable is just assigned to a name. Imagine a file called\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-module-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-module-variables.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-module-variables.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/09\/Python-module-variables.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":19977,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-access-private-variable-outside-the-class-in-python-example-code\/","url_meta":{"origin":19954,"position":5},"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":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/19954","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=19954"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/19954\/revisions"}],"predecessor-version":[{"id":30675,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/19954\/revisions\/30675"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=19954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=19954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=19954"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=19954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}