{"id":12288,"date":"2020-12-02T00:23:29","date_gmt":"2020-12-02T08:23:29","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=12288"},"modified":"2023-12-01T04:05:09","modified_gmt":"2023-12-01T12:05:09","slug":"python-count","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-count\/","title":{"rendered":"A Step-By-Step Guide to Python Count"},"content":{"rendered":"\n<p><em>The Python count() method calculates how many times a particular element appears in a list or a string. count() accepts one argument: the value for which you want to search in the list. The count() method is appended to the end of a list or a string object.<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<p>You may want to know how many times a specific value appears in the list or the string. For example, say you are a wholesaler. You may want to know how many orders a specific customer has placed over the last six months.<\/p>\n\n\n\n<p>The Python <em>count()<\/em> method can be used to count the number of times a particular item appears in a list or a string. When used with a string, the <em>count()<\/em> method counts the number of times a <em>substring<\/em> appears in a larger string. When <em>count()<\/em> is used with a list, the method counts the number of occurrences of a specified value in a list.<\/p>\n\n\n\n<p>In this article, we\u2019re going to discuss how to use the <em>count()<\/em> method on both lists and strings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python count() Function<\/h2>\n\n\n\n<p>The Python count() function works out how many times a value appears in a list or a string. It returns the number of times the value appears as an integer.<\/p>\n\n\n\n<p>Here is the syntax for the count() function:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>names = [&quot;Lewis&quot;, &quot;Jade&quot;, &quot;Lewis&quot;]\n\nprint(names.count(&quot;Lewis&quot;))<\/pre><\/div>\n\n\n\n<p>Our code counts how many times &#8220;Lewis&#8221; appears in our list.<\/p>\n\n\n\n<p>You can see that the count() method is added after a list value in this example. count() does not accept a list as an argument. The count() method expects that you pass the value for which you want to search in a list or a string as an argument.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Python: Count Items in List<\/h2>\n\n\n\n<p>For example, let\u2019s say that you are a salesperson for a local tea company. You may want to know how many times English Breakfast tea has been sold over the last month to a particular customer. This will let you assess demand of the tea.<\/p>\n\n\n\n<p>You could use a <em>count()<\/em> method on a list of tea orders placed over the last month by a certain customer to assess demand. Here\u2019s an example of program that accomplishes this task:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>tea_orders_for_customer = ['English Breakfast', 'English Breakfast', 'Oolong', 'Fruit', 'Oolong', 'English Breakfast']\n\ncount_orders = tea_orders_for_customer.count('English Breakfast')\n\nprint(count_orders)<\/pre><\/div>\n\n\n\n<p>On the first line, of code we declare a <a href=\"https:\/\/careerkarma.com\/blog\/python-array\/\">Python array<\/a> that stores all the orders a particular customer has placed in the last month. We use the <em>count()<\/em> method to calculate how many times the English Breakfast tea has been ordered by the customer.<\/p>\n\n\n\n<p>Finally, we print out the result of our <em>count()<\/em> method to the console. We do this using a <a href=\"https:\/\/careerkarma.com\/blog\/python-print-without-new-line\/\">Python print() statement<\/a>. Our code returns the total number of times the English Breakfast element in the list appears. The result is 3 in this case.<\/p>\n\n\n\n<p>The <em>count()<\/em> function in Python can be used on a list of numbers. Say you are a fourth grade teacher who wants to know how many ten-year-olds are in your class. You could calculate this information using the following code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>student_ages = [9, 9, 9, 8, 9, 10, 10, 10, 9, 10]\n\ncount_ten_year_olds = student_ages.count(10)\n\nprint(count_ten_year_olds)<\/pre><\/div>\n\n\n\n<p>We count the element four times in our list. The program returns: <em>4.<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">count() Python: Using Strings<\/h2>\n\n\n\n<p>The <em>count()<\/em> method can count the number of occurrences of a substring within a larger string. The Python string method <em>count()<\/em> searches through a string. It returns a value equal to the number of times a <em>substring<\/em> appears in the string.<\/p>\n\n\n\n<p>The syntax for the <em>count()<\/em> built-in function is as follows:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>string_name.count(substring, start_pos, end_pos)<\/pre><\/div>\n\n\n\n<p>The string <em>count()<\/em> method takes three parameters:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><em>substring<\/em> is the string whose count is to be calculated with the larger string (required)<\/li><li><em>start_pos<\/em> is the index position at which the search should begin (optional)<\/li><li><em>end_pos<\/em> is the index position at which the search should stop (optional)<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">count() Python Example: Using Strings<\/h3>\n\n\n\n<p>Let\u2019s use an example to showcase the string <em>count()<\/em> method. Say that we have a <a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">Python string<\/a> that contains the month-by-month honor roll for our class. We want to know how many times Emily appears on the honor roll. We could use the following code to calculate this number:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>honor_roll = 'Frank Peter Emily Carly Sophie Alice Miles Frank Emily'\n\ncount_emily = honor_roll.count('Emily')\n\nprint(count_emily)<\/pre><\/div>\n\n\n\n<p>Our code returns: <em>2<\/em>.<\/p>\n\n\n\n<p>Our code works similar to the list <em>count()<\/em> method. The difference is that in this example we have specified a string rather than a list.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Using the Start Position Argument<\/h3>\n\n\n\n<p>We can use the <em>start_pos<\/em> and <em>end_pos<\/em> arguments to specify where our search should start. Say that we want to know how many times Frank has appeared on the honor roll since he first appeared.<\/p>\n\n\n\n<p>To calculate this data, we want to ignore the first time he appeared on the honor roll. We could do so using the following code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>honor_roll = 'Frank Peter Emily Carly Sophie Alice Miles Frank Emily'\n\ncount_frank = honor_roll.count('Frank', 6)\n\nprint(count_frank)<\/pre><\/div>\n\n\n\n<p>Our code returns: 1.<\/p>\n\n\n\n<p>While Frank appears on our honor roll list twice, the first time he appears is before the index position 6 in our string. Because we have specified the <em>start_pos<\/em> argument and set it to 6, our program ignores all characters before that index value. So, our code returns 1, rather than 2.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Using the End Position Argument<\/h3>\n\n\n\n<p>Or let\u2019s say that we want to find out how many times Emily was on the honor roll before her most recent win. We could calculate this using the following code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>honor_roll = 'Frank Peter Emily Carly Sophie Alice Miles Frank Emily'\n\ncount_emily = honor_roll.count('Emily', 0, 49)\n\nprint(count_emily)<\/pre><\/div>\n\n\n\n<p> <\/p>\n\n\n\n<p>Our count() method returns the number of times Emily was on the honor roll. The Python program returns: 1.<\/p>\n\n\n\n<p>We have specified both a <em>start_pos<\/em> and an <em>end_pos<\/em> argument in our example. The end_pos argument is set to 49, which is before the second <em>Emily<\/em> appears in our string.<\/p>\n\n\n\n<p>Emily has been on the monthly honor roll twice. But, her name has only appeared on the list once before the index position 49 in our list.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The <em>count()<\/em> method in Python calculates how many times a particular value appears within a string or a list in Python. count() accepts one argument: the value for which you want to search in the string or list.<\/p>\n\n\n\n<p>When count() is used with a string, it will search for a <em>substring<\/em> within a larger string. Then, count() will return the number of times that <em>substring<\/em> appears in the string. When count() is used with a list, it will return the number of times a particular value has been entered into the list.<\/p>\n\n\n\n<p>You now have the knowledge you need to use the Python count method like a pro! To find more Python learning resources, check out our complete <a href=\"https:\/\/careerkarma.com\/blog\/how-to-learn-python\/\">How to Learn Python guide<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"The Python count() method calculates how many times a particular element appears in a list or a string. count() accepts one argument: the value for which you want to search in the list. The count() method is appended to the end of a list or a string object. You may want to know how many&hellip;","protected":false},"author":240,"featured_media":12599,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-12288","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>A Step-By-Step Guide to Python Count | Career Karma<\/title>\n<meta name=\"description\" content=\"The Python count method can be used to count how many times a value appears in a list or a string. Learn how to use count on 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\/python-count\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Step-By-Step Guide to Python Count\" \/>\n<meta property=\"og:description\" content=\"The Python count method can be used to count how many times a value appears in a list or a string. Learn how to use count on Career Karma.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-count\/\" \/>\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-12-02T08:23:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T12:05:09+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"675\" \/>\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=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"A Step-By-Step Guide to Python Count\",\"datePublished\":\"2020-12-02T08:23:29+00:00\",\"dateModified\":\"2023-12-01T12:05:09+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/\"},\"wordCount\":1048,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-count\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-count\/\",\"name\":\"A Step-By-Step Guide to Python Count | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg\",\"datePublished\":\"2020-12-02T08:23:29+00:00\",\"dateModified\":\"2023-12-01T12:05:09+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Python count method can be used to count how many times a value appears in a list or a string. Learn how to use count on Career Karma.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-count\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg\",\"width\":1200,\"height\":675,\"caption\":\"python count\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-count\/#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\":\"A Step-By-Step Guide to Python Count\"}]},{\"@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":"A Step-By-Step Guide to Python Count | Career Karma","description":"The Python count method can be used to count how many times a value appears in a list or a string. Learn how to use count on 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\/python-count\/","og_locale":"en_US","og_type":"article","og_title":"A Step-By-Step Guide to Python Count","og_description":"The Python count method can be used to count how many times a value appears in a list or a string. Learn how to use count on Career Karma.","og_url":"https:\/\/careerkarma.com\/blog\/python-count\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-12-02T08:23:29+00:00","article_modified_time":"2023-12-01T12:05:09+00:00","og_image":[{"width":1200,"height":675,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.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":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-count\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-count\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"A Step-By-Step Guide to Python Count","datePublished":"2020-12-02T08:23:29+00:00","dateModified":"2023-12-01T12:05:09+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-count\/"},"wordCount":1048,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-count\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-count\/","url":"https:\/\/careerkarma.com\/blog\/python-count\/","name":"A Step-By-Step Guide to Python Count | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg","datePublished":"2020-12-02T08:23:29+00:00","dateModified":"2023-12-01T12:05:09+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Python count method can be used to count how many times a value appears in a list or a string. Learn how to use count on Career Karma.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-count\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-count\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-count\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/02\/python-count-1.jpg","width":1200,"height":675,"caption":"python count"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-count\/#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":"A Step-By-Step Guide to Python Count"}]},{"@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\/12288","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=12288"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/12288\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/12599"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=12288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=12288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=12288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}