{"id":24274,"date":"2020-10-14T12:25:29","date_gmt":"2020-10-14T19:25:29","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=24274"},"modified":"2022-11-23T14:14:47","modified_gmt":"2022-11-23T22:14:47","slug":"is-python-object-oriented","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/","title":{"rendered":"Is Python Object Oriented"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\" id=\"h-what-is-object-oriented-programming\">What is Object-Oriented Programming?<\/h2>\n\n\n\n<p>Object-oriented programming (OOP) is a paradigm or design that allows us to model concepts as objects and define the relationships between the objects. The paradigm focuses on the objects developers want to manipulate, instead of the logic required to manipulate them. An object in OOP is defined as a data field with unique attributes and behaviors.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-why-do-coders-use-oop\">Why do Coders use OOP?<\/h2>\n\n\n\n<p>Developers use this approach when programming large or complex projects that need maintaining. Languages like Java, C++, Python, Ruby, Scala, and PHP are all <a href=\"https:\/\/careerkarma.com\/blog\/object-oriented-languages\/\">OOP languages<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-how-is-python-an-oop\">How is Python an OOP?<\/h2>\n\n\n\n<p>In most cases we will start with something called a class, which are usually things that we can represent as nouns. For example, we can have an animal class, a book class, or a player class. In this article, we use the American hip hop trio, Naughty By Nature, as tribute to their first hit, \u201cO.P.P.\u201d, along with other examples to help better understand the concepts.<\/p>\n\n\n\n<p>Classes are made up of two main parts. First we have our attributes. Attributes are also nouns that our class has. If our class were a soccer player, his or her attributes would be health or speed. The attributes for our Naughty By Nature class would be the names of the individuals who make up the group, Treach, Vin Rock, and DJ Kay Gee.<\/p>\n\n\n\n<p>The second main part of a class are its methods. These are verbs, actions, or behaviors that we define for our class. For a soccer player, this can be run or kick. The methods for our Naughty By Nature class will be sing and dance.<\/p>\n\n\n\n<p>To sum up, in OOP we will be writing one or many classes which are made up of attributes and methods.<br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/lh3.googleusercontent.com\/Oxteq-iUtmZhww_KNy9ZxXxNKJI6TdvuIc3GrU-w-wSqZuLA6DFS5eOsQiE-i7NwW3DtczsQFjisdy5Z6EYoprtZfwdAplUlX3s-APLGSApQHGlBFmH1KLuxm7q-LcL8YFCQtVga\" alt=\"\"\/><\/figure>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class NaughtyByNature:\n  # init works as a constructor to initialize the class object\n  # we list all the attributes we want our class to have\n  # we take in the initial values as parameters and then\n  # assign the parameters to the actual attribute themselves\n  def __init__(self, treach, vin_rock, dj_kay_gee):\n    self.treach = treach\n    self.vin_rock = vin_rock\n    self.dj_kay_gee = dj_kay_gee<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-the-four-principles-of-oop\">The Four Principles of OOP<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-encapsulation\">Encapsulation<\/h3>\n\n\n\n<p>Encapsulation prevents data from direct access. Let\u2019s say we create a class from another class, with encapsulation we cannot alter the parent class data from the child class. Encapsulation occurs when hiding the implementation details of an object.<\/p>\n\n\n\n<p>Because Python does not have the \u2018private\u2019 keyword like other OOP languages, it does encapsulation by using a class variable that is prefixed by an underscore.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Encap(object):\n   def __init__(self):\n      self.__update = 9\n \n   def getUpdate(self):\n      print(self.__update)\n \n   def setUpdate(self, update):\n      self.__update = update\n \nobj = Encap()\nobj.getUpdate()\nobj.setUpdate(10)\nobj.getUpdate()\nprint(obj.__update)\n \n# Prints \n#9\n#10\n#Traceback (most recent call last):\n#   File \"main.py\", line 15, in &lt;module&gt;\n#     print(obj.__update)\n# AttributeError: 'Encap' object has no attribute '__update'<\/pre><\/div>\n\n\n\n<p>However, we would be able to see three values and no error if all underscores were removed.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-abstraction\">Abstraction<\/h3>\n\n\n\n<p>We can think of abstraction as only knowing certain things to get a job done. You may know how to drive a car, when to break, accelerate, or how to put on your seat belt, but you may not know all of the inner working of the car since you do not really need to in order to drive it.<br><\/p>\n\n\n\n<p>To use abstraction, we need to import the abc module. Below is a code example of an abstract base class.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>import abc\nclass AutoMobile(metaclass=abc.ABCMeta):\n   @abc.abstractmethod\n   def speed(self):\n      pass\nclass Car(AutoMobile):\n   def __init__(self, x, y):\n      self.a = x\n      self.b = y\n \n   def speed(self):\n      return self.a * self.b\n \nc = Car(1,45)\nprint ('speed: ',c.speed())\n \n# returns speed:  45<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-inheritance\">Inheritance&nbsp;<\/h3>\n\n\n\n<p>Inheritances occur when properties of a parent class are passed along to a child class. There are five different types of inheritance in python, they are single, multiple, multilevel, hierarchical, and hybrid inheritance.&nbsp;<br><\/p>\n\n\n\n<p>Below is a simple example of single inheritance.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Parent():\n       def mom(self):\n           print('Parent DNA')\n \nclass Child(Parent):\n       def kid(self):\n          print('Child that only has 1 parent')\n \nobj = Child()\nobj.mom()\nobj.kid()<\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-polymorphism\">Polymorphism<\/h3>\n\n\n\n<p>Polymorphism is the ability to take on many different forms. In Python code, that means the ability to define methods in the child class with the same name defined in the parent class.&nbsp;<br><\/p>\n\n\n\n<p>Below is an example of polymorphism. Notice the type() function in the Pizza and Burger classes.<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>class Pizza(): \n     def type(self): \n       print(\"Pineapple\") \n     def carb(self):\n       print(\"dough\") \nclass Burger(): \n     def type(self): \n       print(\"Black bean\") \n     def carb(self): \n       print(\"rye\") \n      \ndef func(obj): \n       obj.type() \n       obj.carb()\n        \nobj_pizza = Pizza() \nobj_burger = Burger() \nfunc(obj_pizza) \nfunc(obj_burger)<\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"What is Object-Oriented Programming? Object-oriented programming (OOP) is a paradigm or design that allows us to model concepts as objects and define the relationships between the objects. The paradigm focuses on the objects developers want to manipulate, instead of the logic required to manipulate them. An object in OOP is defined as a data field&hellip;","protected":false},"author":91,"featured_media":24275,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-24274","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":"","is_sponser_post":"","is_guest_post":""},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Is Python Object Oriented | Career Karma<\/title>\n<meta name=\"description\" content=\"Learn about Object Oriented Programming in a simple way with this article by Career Karma.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Is Python Object Oriented\" \/>\n<meta property=\"og:description\" content=\"Learn about Object Oriented Programming in a simple way with this article by Career Karma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-14T19:25:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-23T22:14:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"676\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Kelly M.\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/misskellymore\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kelly M.\" \/>\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\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/\"},\"author\":{\"name\":\"Kelly M.\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/1cc6a89c78a56b632b6032b3b040c4fb\"},\"headline\":\"Is Python Object Oriented\",\"datePublished\":\"2020-10-14T19:25:29+00:00\",\"dateModified\":\"2022-11-23T22:14:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/\"},\"wordCount\":562,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/\",\"name\":\"Is Python Object Oriented | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg\",\"datePublished\":\"2020-10-14T19:25:29+00:00\",\"dateModified\":\"2022-11-23T22:14:47+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/1cc6a89c78a56b632b6032b3b040c4fb\"},\"description\":\"Learn about Object Oriented Programming in a simple way with this article by Career Karma.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg\",\"width\":1020,\"height\":676,\"caption\":\"classroom-with-students-and-teacher\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/careerkarma.com\/blog\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Is Python Object Oriented\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/1cc6a89c78a56b632b6032b3b040c4fb\",\"name\":\"Kelly M.\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/kelly-moreira-150x150.jpeg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/kelly-moreira-150x150.jpeg\",\"caption\":\"Kelly M.\"},\"description\":\"Kelly is a technical writer at Career Karma, where she writes tutorials on a variety of topics. She attended the University of Central Florida, earning a BS in Business Administration. Shortly after, she attended Lambda School, specializing in full stack web development and computer science. Before joining Career Karma in September 2020, Kelly worked as a Developer Advocate at Dwolla and as a team lead at Lambda School. Her technical writing can be found on Codecademy, gitConnected, and JavaScript in Plain English.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/kemore\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/misskellymore\"],\"url\":\"https:\/\/careerkarma.com\/blog\/author\/kelly-m\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Is Python Object Oriented | Career Karma","description":"Learn about Object Oriented Programming in a simple way with this article by Career Karma.","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:\/\/careerkarma.com\/blog\/is-python-object-oriented\/","og_locale":"en_US","og_type":"article","og_title":"Is Python Object Oriented","og_description":"Learn about Object Oriented Programming in a simple way with this article by Career Karma.","og_url":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-10-14T19:25:29+00:00","article_modified_time":"2022-11-23T22:14:47+00:00","og_image":[{"width":1020,"height":676,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg","type":"image\/jpeg"}],"author":"Kelly M.","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/misskellymore","twitter_site":"@career_karma","twitter_misc":{"Written by":"Kelly M.","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/"},"author":{"name":"Kelly M.","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/1cc6a89c78a56b632b6032b3b040c4fb"},"headline":"Is Python Object Oriented","datePublished":"2020-10-14T19:25:29+00:00","dateModified":"2022-11-23T22:14:47+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/"},"wordCount":562,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/","url":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/","name":"Is Python Object Oriented | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg","datePublished":"2020-10-14T19:25:29+00:00","dateModified":"2022-11-23T22:14:47+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/1cc6a89c78a56b632b6032b3b040c4fb"},"description":"Learn about Object Oriented Programming in a simple way with this article by Career Karma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/10\/taylor-wilcox-4nKOEAQaTgA-unsplash.jpg","width":1020,"height":676,"caption":"classroom-with-students-and-teacher"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/is-python-object-oriented\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Is Python Object Oriented"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/1cc6a89c78a56b632b6032b3b040c4fb","name":"Kelly M.","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/kelly-moreira-150x150.jpeg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/11\/kelly-moreira-150x150.jpeg","caption":"Kelly M."},"description":"Kelly is a technical writer at Career Karma, where she writes tutorials on a variety of topics. She attended the University of Central Florida, earning a BS in Business Administration. Shortly after, she attended Lambda School, specializing in full stack web development and computer science. Before joining Career Karma in September 2020, Kelly worked as a Developer Advocate at Dwolla and as a team lead at Lambda School. Her technical writing can be found on Codecademy, gitConnected, and JavaScript in Plain English.","sameAs":["https:\/\/www.linkedin.com\/in\/kemore\/","https:\/\/x.com\/https:\/\/twitter.com\/misskellymore"],"url":"https:\/\/careerkarma.com\/blog\/author\/kelly-m\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/24274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=24274"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/24274\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/24275"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=24274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=24274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=24274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}