{"id":22721,"date":"2020-09-16T11:46:57","date_gmt":"2020-09-16T18:46:57","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=22721"},"modified":"2023-12-01T04:00:07","modified_gmt":"2023-12-01T12:00:07","slug":"python-typeerror-list-object-cannot-be-interpreted-as-an-integer","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/","title":{"rendered":"Python TypeError: \u2018list\u2019 object cannot be interpreted as an integer Solution"},"content":{"rendered":"\n<p>Many built-in functions, <a href=\"https:\/\/careerkarma.com\/blog\/python-range\/\">like range()<\/a>, expect integer values as an input. If you try to use a list as an input to a function that expects an integer, you\u2019ll encounter the \u201cTypeError: \u2018list\u2019 object cannot be interpreted as an integer\u201d error.<br><\/p>\n\n\n\n<p>This guide discusses what this error means and why you may encounter it. We\u2019ll walk through an example of this error so you can figure out how it works and how to solve it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TypeError: \u2018list\u2019 object cannot be interpreted as an integer<\/h2>\n\n\n\n<p>This error occurs when you pass a list value through a function that expects an integer. The most common instance of this error is when you specify a list in a <code>range()<\/code> function.<br><\/p>\n\n\n\n<p>The <code>range()<\/code> function creates a list of whole numbers in a particular range. Consider the following example:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for x in range(0, 3):\n\tprint(x)<\/pre><\/div>\n\n\n\n<p>This code creates a <code>range()<\/code> object. This object contains values between 0 and 3. When our code runs, it prints out each one of these values to the console:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>0\n1\n2<\/pre><\/div>\n\n\n\n<p>The <code>range()<\/code> function can only accept integers because it needs to know the start and end point for the range of numbers to create. The function cannot create a range of values from a list object.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>Build a program that prints to the console whether goods at an electronics store are on sale. To start, <a href=\"https:\/\/careerkarma.com\/blog\/how-to-initialize-a-list-in-python\/\">define two lists<\/a> with the data that we will use:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>products = [&quot;iPhone 11&quot;, &quot;Samsung S20&quot;, &quot;Google Pixel 4&quot;, &quot;Blackwidow Chroma Keyboard&quot;]\non_sale = [True, False, False, True]<\/pre><\/div>\n\n\n\n<p>The first list contains a list of the products sold at the store. The second list contains whether each product is on sale.<br><\/p>\n\n\n\n<p>Next, use a <a href=\"https:\/\/careerkarma.com\/blog\/python-for-loop\/\">for loop<\/a> to print to the console telling us the name of each product and whether it is on sale:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>for p in range(products):\n\tif on_sale[p] == True:\n\t\tprint(&quot;{} is on sale right now.&quot;.format(products[p]))\n\telse:\n\t\tprint(&quot;{} is not on sale right now.&quot;.format(products[p]))<\/pre><\/div>\n\n\n\n<p>Our loop goes through the list of products.<br><\/p>\n\n\n\n<p>If the corresponding value in \u201con_sale\u201d is equal to True, a message is printed to the console telling us the product is on sale. Otherwise, a message telling us the product is not on sale is displayed on the console. These conditions are evaluated using an <a href=\"https:\/\/careerkarma.com\/blog\/python-if-else\/\">if&#8230;else statement<\/a>.<br><\/p>\n\n\n\n<p>Let\u2019s run our program to see if it works:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Traceback (most recent call last):\n  File &quot;main.py&quot;, line 4, in &lt;module&gt;\n\tfor p in range(products):\nTypeError: 'list' object cannot be interpreted as an integer<\/pre><\/div>\n\n\n\n<p>There is an error in our program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>According to our error message, the line of code that is causing the error is where we define our <code>range()<\/code> statement.<br><\/p>\n\n\n\n<p>This error is caused because we are trying to create a range using a list. The <code>range()<\/code> method can only create a range of numbers between integer values.<br><\/p>\n\n\n\n<p>To solve this error, use the <a href=\"https:\/\/careerkarma.com\/blog\/python-len\/\">len() method<\/a> to calculate the length of the \u201cproducts\u201d array. We can use this value in our for loop:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre> for p in range(len(products)):\n\t\u2026<\/pre><\/div>\n\n\n\n<p>Let\u2019s run our code and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>iPhone 11 is on sale right now.\nSamsung S20 is not on sale right now.\nGoogle Pixel 4 is not on sale right now.\nBlackwidow Chroma Keyboard is on sale right now.<\/pre><\/div>\n\n\n\n<p>Our program successfully prints out four messages. Each message represents a unique product sold at the electronics store and informs us of whether that product is on sale.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201cTypeError: \u2018list\u2019 object cannot be interpreted as an integer\u201d error is raised when you pass a list as a value in a function that expects an integer as an input. To solve this error, make sure you only pass an integer through the function that has raised the error.<br><\/p>\n\n\n\n<p>Now you have the knowledge you need to fix this error like a professional coder!<\/p>\n","protected":false},"excerpt":{"rendered":"Many built-in functions, like range(), expect integer values as an input. If you try to use a list as an input to a function that expects an integer, you\u2019ll encounter the \u201cTypeError: \u2018list\u2019 object cannot be interpreted as an integer\u201d error. This guide discusses what this error means and why you may encounter it. We\u2019ll&hellip;","protected":false},"author":240,"featured_media":22722,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-22721","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":null,"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>TypeError: \u2018list\u2019 object cannot be interpreted as an integer | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn the cause of and the solution to the TypeError: \u2018list\u2019 object cannot be interpreted as an integer Python error.\" \/>\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\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python TypeError: \u2018list\u2019 object cannot be interpreted as an integer Solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn the cause of and the solution to the TypeError: \u2018list\u2019 object cannot be interpreted as an integer Python error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/\" \/>\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-09-16T18:46:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:00:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"680\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python TypeError: \u2018list\u2019 object cannot be interpreted as an integer Solution\",\"datePublished\":\"2020-09-16T18:46:57+00:00\",\"dateModified\":\"2023-12-01T12:00:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/\"},\"wordCount\":536,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/\",\"name\":\"TypeError: \u2018list\u2019 object cannot be interpreted as an integer | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg\",\"datePublished\":\"2020-09-16T18:46:57+00:00\",\"dateModified\":\"2023-12-01T12:00:07+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn the cause of and the solution to the TypeError: \u2018list\u2019 object cannot be interpreted as an integer Python error.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#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\":\"Python TypeError: \u2018list\u2019 object cannot be interpreted as an integer Solution\"}]},{\"@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\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"TypeError: \u2018list\u2019 object cannot be interpreted as an integer | Career Karma","description":"On Career Karma, learn the cause of and the solution to the TypeError: \u2018list\u2019 object cannot be interpreted as an integer Python error.","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\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/","og_locale":"en_US","og_type":"article","og_title":"Python TypeError: \u2018list\u2019 object cannot be interpreted as an integer Solution","og_description":"On Career Karma, learn the cause of and the solution to the TypeError: \u2018list\u2019 object cannot be interpreted as an integer Python error.","og_url":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-16T18:46:57+00:00","article_modified_time":"2023-12-01T12:00:07+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python TypeError: \u2018list\u2019 object cannot be interpreted as an integer Solution","datePublished":"2020-09-16T18:46:57+00:00","dateModified":"2023-12-01T12:00:07+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/"},"wordCount":536,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/","url":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/","name":"TypeError: \u2018list\u2019 object cannot be interpreted as an integer | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg","datePublished":"2020-09-16T18:46:57+00:00","dateModified":"2023-12-01T12:00:07+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn the cause of and the solution to the TypeError: \u2018list\u2019 object cannot be interpreted as an integer Python error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/huy-phan-j0JVbct0IBY-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-list-object-cannot-be-interpreted-as-an-integer\/#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":"Python TypeError: \u2018list\u2019 object cannot be interpreted as an integer Solution"}]},{"@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\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22721","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\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=22721"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22721\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/22722"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=22721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=22721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=22721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}