{"id":2658,"date":"2019-07-17T11:11:58","date_gmt":"2019-07-17T11:11:58","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=2658"},"modified":"2024-03-27T06:33:53","modified_gmt":"2024-03-27T06:33:53","slug":"python-class-and-objects-tutorial","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/","title":{"rendered":"Python Class and Objects"},"content":{"rendered":"<h1 style=\"text-align: center;\"><strong>Python Class and Objects Tutorial<\/strong><\/h1>\r\n<p>&nbsp;<\/p>\r\n<p><strong>Python Class and Objects Tutorial<\/strong>, In this tutorial, we will learn what is class and object in python and how to create class and object in python. Here, You will also learn object methods in python, python class and object example which are helpful for any Python developers. Are you looking for the information of python class and objects tutorial or Are you dreaming to become to certified Pro <a href=\"https:\/\/prwatech.in\/python-training-institute-in-bangalore\/\">Python Developer<\/a>, then stop just dreaming, get your <a href=\"https:\/\/prwatech.in\/python-certification-course-in-bangalore\/\">Python certification course<\/a> from India\u2019s Leading <a href=\"https:\/\/prwatech.in\/python-training-institute-in-btm-layout\/\">Python training institute<\/a>.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>As we know, Python is a object oriented language. Therefore, almost all entities in Python are objects which means the programmers will use class and objects at the time of coding.One template can be used to create an number of objects where class is a template. Do you want to know about how to create class in python and how to create object in python, then just follow the below mentioned python class and objects tutorial for Beginners from <a href=\"https:\/\/prwatech.com\/\">Prwatech<\/a> and take advanced <a href=\"https:\/\/prwatech.in\/python-training-institute-in-bangalore\/\">Python training<\/a> like a Pro from today itself under 10+ years of hands-on experienced Professionals.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>To get a better understanding of this concept, let&#8217;s start class and Object in Python tutorial.<\/p>\r\n<p>&nbsp;<\/p>\r\n<h2>What is Class and Object in Python?<\/h2>\r\n<p>&nbsp;<\/p>\r\n<p>Python is an object oriented programming language i. e.<a href=\"https:\/\/www.javatpoint.com\/java-oops-concepts\" target=\"_blank\" rel=\"noopener noreferrer\">OOPs<\/a>. Nearly everything in <a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Python<\/a> is like an object, with its properties and methods.A class is a user-defined prototype which is used to create objects.It is generic description of objects. Classes provide a resource of bundling data and functionality. New type object is created by creating new class. Each class instance has attributes those are attached to it for upholding its state. Class instances can also have methods for modifying its state defined by class.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>Let\u2019s consider we have to keep record of club members with fields name, age, position etc. Let\u2019s say we have to track record of hundreds of members. In that case list is not efficiently used due to its limitations. For this we need lasses.<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3>How to create Class in Python?<\/h3>\r\n<p>&nbsp;<\/p>\r\n<p>\u2018Class\u2019 is keyword used while creating class.<\/p>\r\n<p><strong>Syntax<\/strong>:<\/p>\r\n<p>class className:<\/p>\r\n<p>Statement-1<\/p>\r\n<p>.<\/p>\r\n<p>.<\/p>\r\n<p>Statement-n<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>Example<\/strong><\/p>\r\n<p>class member:<\/p>\r\n<p>pass<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>lf we are creating class but not adding any statement or function then we have to use keyword \u2018pass\u2019.<\/p>\r\n<p>Now let\u2019s see same example with attributes<\/p>\r\n<p><strong>Example<\/strong><\/p>\r\n<p>class member:<\/p>\r\n<p>club= \u201cXYZ club\u201d<\/p>\r\n<p>estab = 1992<\/p>\r\n<p>we have created a class with name \u2018member\u2019 and we declared some variables here. Now to access those variables inside \u2018member\u2019 we can use class name as follows:<\/p>\r\n<p>class.club<\/p>\r\n<p>class.estab<\/p>\r\n<p><strong>Output:<\/strong><\/p>\r\n<p>XYZ Club<\/p>\r\n<p>1992<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3>How to create Object in Python?<\/h3>\r\n<p>&nbsp;<\/p>\r\n<p>An Object is an instance of a Class.Class creates a user-defined data structure, which contains its own data elements and functions, which can be accessed and used by an instance of that class.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>Syntax:<\/strong><\/p>\r\n<p>object name = className()<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>Example<\/strong><\/p>\r\n<p>test= member()<br \/>print(test.club)<\/p>\r\n<p>print(test.estab)<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>Output:<\/strong><\/p>\r\n<p>XYZ Club<\/p>\r\n<p>1992<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3><strong>The __init__() Function<\/strong><\/h3>\r\n<p>&nbsp;<\/p>\r\n<p>All classes have \u2018__init__()\u2019 \u00a0function. It is always performed when the class is being initiated.We have to use the __init__() function to assign values to object properties and other operations that are essential to do when the object is being created.<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3>Python init function Example<\/h3>\r\n<p>&nbsp;<\/p>\r\n<p>class member:<\/p>\r\n<p>def __init__(self, name, age, position):<\/p>\r\n<p>self.name = name<\/p>\r\n<p>self.age = age<\/p>\r\n<p>self.position=position<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>test = member(&#8216;Joe&#8217;, 28, &#8216;officer&#8217;)<\/p>\r\n<p>print(test.name)<\/p>\r\n<p>print(test.age)<\/p>\r\n<p>print(test.position)<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>Output:<\/strong><\/p>\r\n<p>Joe<\/p>\r\n<p>28<\/p>\r\n<p>officer<\/p>\r\n<p>&nbsp;<\/p>\r\n<h2>Python Object methods<\/h2>\r\n<p>&nbsp;<\/p>\r\n<p>Objects can also contain methods. Methods are functions that belong to the object.<\/p>\r\n<p>&nbsp;<\/p>\r\n<h4><strong>Example<\/strong><\/h4>\r\n<p>&nbsp;<\/p>\r\n<p>class member:<\/p>\r\n<p>def __init__(self, name, age,position):<\/p>\r\n<p>self.name = name<\/p>\r\n<p>self.age = age<\/p>\r\n<p>self.position=position<\/p>\r\n<p>deftestfun(self):<\/p>\r\n<p>print(&#8216;Hello my name is &#8216; + self.name)<\/p>\r\n<p>Now run this function<\/p>\r\n<p>m1=member(\u2018Roger\u2019, 45, \u2018manager\u2019)<\/p>\r\n<p>m1.testfun()<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3><strong>The self Parameter<\/strong><\/h3>\r\n<p>&nbsp;<\/p>\r\n<p>The\u00a0parameter used to access variables belonging to the class is denoted by \u2018self\u2019.It is reference to the current instance of the class.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>There is no any restriction to use \u2018self\u2019 word for function. We can call it with whatever name we want, but it has to be the first parameter of any function in the class.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>#Use the words testobj\u00a0 and xyz instead of self:<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><strong>class Person:<\/strong><\/p>\r\n<p>def __init__(testobj, name, age):<\/p>\r\n<p>testobj.name = name<\/p>\r\n<p>testobj.age = age<\/p>\r\n<p>deffunct(xyz):<\/p>\r\n<p>print(&#8220;Hello my name is &#8221; + xyz.name)<\/p>\r\n<p>p = Person(&#8220;John&#8221;, 36)<\/p>\r\n<p>p.funct()<\/p>\r\n<p>&nbsp;<\/p>\r\n<h2><strong>Python Class and Object Example<\/strong><\/h2>\r\n<p>&nbsp;<\/p>\r\n<p><strong>creating class \u2018member\u2019:<\/strong><\/p>\r\n<p>class member:<\/p>\r\n<p>#totalmem = 0<\/p>\r\n<p>def __init__(self, name, age, position):<\/p>\r\n<p>self.name = name<\/p>\r\n<p>self.age = age<\/p>\r\n<p>self.position=position<\/p>\r\n<p>#totalmem += 1<\/p>\r\n<p>defmemberInfo(self):<\/p>\r\n<p>print(&#8220;Name of member:&#8221;, self.name)<\/p>\r\n<p>print(&#8220;age of member:&#8221;, self.age)<\/p>\r\n<p>print(&#8220;Position of member:&#8221;,self.position,&#8221;\\n&#8221;)<\/p>\r\n<p># Create a list of members<\/p>\r\n<p>m1 = member(&#8220;Martin&#8221;,50,&#8221;President&#8221;)<\/p>\r\n<p>m2 = member(&#8220;Roger&#8221;,35,&#8217;secretary&#8217;)<\/p>\r\n<p>m3 = member(&#8220;John&#8221;,30, &#8220;Treasurer&#8221;)<\/p>\r\n<p># call functions for each object<\/p>\r\n<p>m1.memberInfo()<\/p>\r\n<p>m2.memberInfo()<\/p>\r\n<p>m3.memberInfo()<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>We hope you understand python class and objects Tutorial concepts.Get success in your career as a <a href=\"https:\/\/prwatech.in\/python-training-institute-in-btm-layout\/\">Python developer<\/a> by being a part of the <a href=\"https:\/\/prwatech.com\/\">Prwatech<\/a>, India&#8217;s leading <a href=\"https:\/\/prwatech.in\/python-training-institute-in-bangalore\/\">Python training institute in Bangalore<\/a>.<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<p><iframe loading=\"lazy\" src=\"https:\/\/www.youtube.com\/embed\/DSH6rm6MP0I\" width=\"850\" height=\"315\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>&nbsp;<\/p>\r\n\r\n<p>&nbsp;<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Python Class and Objects Tutorial &nbsp; Python Class and Objects Tutorial, In this tutorial, we will learn what is class and object in python and how to create class and object in python. Here, You will also learn object methods in python, python class and object example which are helpful for any Python developers. Are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3411,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,1679],"tags":[402],"class_list":["post-2658","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-python-oops","tag-python-class-and-objects-tutorial"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python Class and Objects Tutorial with Live Examples | Prwatech<\/title>\n<meta name=\"description\" content=\"Explore advanced Python Class and Objects tutorial from Prwatech &amp; learn how to create class and object in Python, init function with live examples.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python Class and Objects Tutorial with Live Examples | Prwatech\" \/>\n<meta property=\"og:description\" content=\"Explore advanced Python Class and Objects tutorial from Prwatech &amp; learn how to create class and object in Python, init function with live examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-07-17T11:11:58+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T06:33:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"550\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/\",\"url\":\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/\",\"name\":\"Python Class and Objects Tutorial with Live Examples | Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg\",\"datePublished\":\"2019-07-17T11:11:58+00:00\",\"dateModified\":\"2024-03-27T06:33:53+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Explore advanced Python Class and Objects tutorial from Prwatech & learn how to create class and object in Python, init function with live examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg\",\"width\":960,\"height\":550,\"caption\":\"Python Classes and Objects\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Class and Objects\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python Class and Objects Tutorial with Live Examples | Prwatech","description":"Explore advanced Python Class and Objects tutorial from Prwatech & learn how to create class and object in Python, init function with live examples.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Python Class and Objects Tutorial with Live Examples | Prwatech","og_description":"Explore advanced Python Class and Objects tutorial from Prwatech & learn how to create class and object in Python, init function with live examples.","og_url":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2019-07-17T11:11:58+00:00","article_modified_time":"2024-03-27T06:33:53+00:00","og_image":[{"width":960,"height":550,"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg","type":"image\/jpeg"}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/","url":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/","name":"Python Class and Objects Tutorial with Live Examples | Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg","datePublished":"2019-07-17T11:11:58+00:00","dateModified":"2024-03-27T06:33:53+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Explore advanced Python Class and Objects tutorial from Prwatech & learn how to create class and object in Python, init function with live examples.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2019\/07\/Python-Classes-and-Objects.jpg","width":960,"height":550,"caption":"Python Classes and Objects"},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/python\/python-oops\/python-class-and-objects-tutorial\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Python Class and Objects"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2658","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=2658"}],"version-history":[{"count":17,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2658\/revisions"}],"predecessor-version":[{"id":11120,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/2658\/revisions\/11120"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media\/3411"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=2658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=2658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=2658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}