{"id":21498,"date":"2020-08-21T12:15:19","date_gmt":"2020-08-21T19:15:19","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=21498"},"modified":"2023-12-01T03:58:06","modified_gmt":"2023-12-01T11:58:06","slug":"python-what-does-s-mean","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/","title":{"rendered":"What Does %s Mean in Python?"},"content":{"rendered":"\n<p>Do you want to add a value into a Python string? You need not look further than the %s operator. This operator lets you format a value inside a string. The %s syntax is more elegant than the concatenation operator with which you may be familiar.<br><\/p>\n\n\n\n<p>In this guide, we talk about what the %s symbol means and how it works. We run through an example of this operator to help you learn how to use it in your code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the %s Operator?<\/h2>\n\n\n\n<p>The %s operator <a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">adds a string inside another string<\/a>.<br><\/p>\n\n\n\n<p>Here, we write a program that calculates the speed at which a car travelled, on average, to reach a destination. To calculate this information, use the following formula:<br><\/p>\n\n\n\n<p><code>speed = distance \/ time<\/code><br><\/p>\n\n\n\n<p>Start by <a href=\"https:\/\/careerkarma.com\/blog\/python-input\/\">asking the user<\/a> for the distance they travelled, the time it took them to reach their destination, and where they were going:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>distance = input(&quot;How far did you travel (in miles)? &quot;)\ntime = input(&quot;How long did it take you to reach your destination (in hours)? &quot;)\nwhere = input(&quot;Where were you going? &quot;)<\/pre><\/div>\n\n\n\n<p>Next, we calculate the average speed at which the user was traveling:<br><\/p>\n\n\n\n<p><code>speed = round(float(distance) \/ float(time), 2)<br><\/code><\/p>\n\n\n\n<p>We\u2019ve converted the values of \u201cdistance\u201d and \u201ctime\u201d to <a href=\"https:\/\/careerkarma.com\/blog\/python-float\/\">floating point numbers<\/a> so we can perform a mathematical operation using those values. We\u2019ve also rounded the result of our speed calculation to two decimal places.<br><\/p>\n\n\n\n<p>Now that we\u2019ve calculated this value, we inform the user in the Python console of their average speed. To do this, use the string formatting:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(&quot;On your journey to %s, you drove at an average speed of %s miles per hour.&quot; % (where, speed))<\/pre><\/div>\n\n\n\n<p>There are three parts to our %s syntax:<br><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The %s operator is where string values are added.<\/li><li>The % (where, speed) is where we specify what values should be added to our string.<\/li><\/ul>\n\n\n\n<p>The number of values you want to add to a string must be equal to those specified in parenthesis after the % operator at the end of a string. Otherwise, you encounter a \u201cTypeError: not enough arguments for format string\u201d error.<br><\/p>\n\n\n\n<p>In our code, we are adding two values into our string. We\u2019ve used the %s operator twice and there are two values in parenthesis after the % sign at the end of our string.<br><\/p>\n\n\n\n<p>Run our program:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>How far did you travel? 63\nHow long did it take you to reach your destination? 2\nWhere were you going? London\nOn your journey to London, you drove at an average speed of 31.5 miles per hour.<\/pre><\/div>\n\n\n\n<p>Our code successfully calculates our average speed.<br><\/p>\n\n\n\n<p>The %s operator automatically converts a value to a string. This means we don&#8217;t have to change the data type associated with \u201cspeed\u201d when we format our value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The % String Formatting Syntax<\/h2>\n\n\n\n<p>There\u2019s a lot more to the % string formatting syntax than just the %s operator. You can also use the % syntax to format numbers in a string.<br><\/p>\n\n\n\n<p>To learn more about formatting numbers using the % formatting syntax, read the Python documentation for string formatting. We\u2019ve also written a tutorial on how to round a value to two decimal places using the % operator.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">New Methods of String Formatting<\/h2>\n\n\n\n<p>With the introduction of the <code>format()<\/code> syntax in Python 2.6, the % string formatting operand has fallen out of favor by many developers.<br><\/p>\n\n\n\n<p>This is because the formatting syntax is arguably more powerful. What\u2019s more, the <code>format()<\/code> syntax is not very difficult to use. Consider the following statement:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(&quot;On your journey to {}, you drove at an average speed of {} miles per hour.&quot;.format(where, speed))<\/pre><\/div>\n\n\n\n<p>This statement prints the same message that we generated from earlier. We have used the <code>.format()<\/code> syntax to add the values \u201cwhere\u201d and \u201cspeed\u201d into our string.<br><\/p>\n\n\n\n<p>The <code>.format()<\/code> syntax lets you do things like set names for each value you want to add into a string. These features are not offered by the %s syntax.<br><\/p>\n\n\n\n<p>In Python 3, <a href=\"https:\/\/careerkarma.com\/blog\/python-f-string\/\">f strings<\/a> were introduced as another alternative for the % syntax. F strings are an easy way to embed a value or an expression into a string using string literals. You can learn more about f strings in our article on Python 3 f strings.<\/p>\n\n\n\n<iframe loading=\"lazy\" frameborder=\"0\" width=\"100%\" height=\"400px\" src=\"https:\/\/repl.it\/@careerkarma\/What-Does-s-Mean-in-Python?lite=true\"><\/iframe>\n<br>\n<br>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The %s operator lets you add a value into a Python string. The %s signifies that you want to add a string value into a string. The % operator can be used with other configurations, such as %d, to format different types of values.<br><\/p>\n\n\n\n<p>In more modern versions of Python, the % syntax has become less widely used in favor of f strings and the <code>format()<\/code> method.<br><\/p>\n\n\n\n<p>Now you\u2019re equipped with the knowledge you need to use the %s operator in your code like a <a href=\"https:\/\/careerkarma.com\/blog\/node-js-vs-python\/\">professional Python developer<\/a>!<br><\/p>\n","protected":false},"excerpt":{"rendered":"Do you want to add a value into a Python string? You need not look further than the %s operator. This operator lets you format a value inside a string. The %s syntax is more elegant than the concatenation operator with which you may be familiar. In this guide, we talk about what the %s&hellip;","protected":false},"author":240,"featured_media":21499,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-21498","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>What Does %s Mean in Python?: A Complete Guide | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the %s string formatting syntax, how it works, and what alternatives there are to the % operator.\" \/>\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-what-does-s-mean\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Does %s Mean in Python?\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the %s string formatting syntax, how it works, and what alternatives there are to the % operator.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/\" \/>\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-08-21T19:15:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:58:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"What Does %s Mean in Python?\",\"datePublished\":\"2020-08-21T19:15:19+00:00\",\"dateModified\":\"2023-12-01T11:58:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/\"},\"wordCount\":675,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/\",\"name\":\"What Does %s Mean in Python?: A Complete Guide | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg\",\"datePublished\":\"2020-08-21T19:15:19+00:00\",\"dateModified\":\"2023-12-01T11:58:06+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the %s string formatting syntax, how it works, and what alternatives there are to the % operator.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg\",\"width\":1020,\"height\":680},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#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\":\"What Does %s Mean in Python?\"}]},{\"@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":"What Does %s Mean in Python?: A Complete Guide | Career Karma","description":"On Career Karma, learn about the %s string formatting syntax, how it works, and what alternatives there are to the % operator.","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-what-does-s-mean\/","og_locale":"en_US","og_type":"article","og_title":"What Does %s Mean in Python?","og_description":"On Career Karma, learn about the %s string formatting syntax, how it works, and what alternatives there are to the % operator.","og_url":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-08-21T19:15:19+00:00","article_modified_time":"2023-12-01T11:58:06+00:00","og_image":[{"width":1020,"height":680,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"What Does %s Mean in Python?","datePublished":"2020-08-21T19:15:19+00:00","dateModified":"2023-12-01T11:58:06+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/"},"wordCount":675,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/","url":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/","name":"What Does %s Mean in Python?: A Complete Guide | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg","datePublished":"2020-08-21T19:15:19+00:00","dateModified":"2023-12-01T11:58:06+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the %s string formatting syntax, how it works, and what alternatives there are to the % operator.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/08\/kari-shea-pSmD3L7z8hs-unsplash.jpg","width":1020,"height":680},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-what-does-s-mean\/#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":"What Does %s Mean in Python?"}]},{"@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\/21498","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=21498"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/21498\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/21499"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=21498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=21498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=21498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}