{"id":22592,"date":"2021-11-24T14:02:35","date_gmt":"2021-11-24T08:32:35","guid":{"rendered":"https:\/\/tutorial.eyehunts.com\/?p=22592"},"modified":"2023-06-02T18:05:29","modified_gmt":"2023-06-02T12:35:29","slug":"python-input-number-example-code","status":"publish","type":"post","link":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/","title":{"rendered":"Python input number | Example code"},"content":{"rendered":"\n<p>To take input as a number in Python, Simply use the input() function to get input from the user and convert it into a <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-numbers-types-tutorial-example\/\">number type<\/a>.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Convert input number example in Python<\/strong><\/h2>\n\n\n\n<p>A simple example code is the input() function parses user input as a string even if it contains only number.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>inp = int(input(\"Enter a Number: \"))\n\nprint(inp)\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: If the user inputs non-numeric data, ValueError is raised.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"267\" height=\"125\" src=\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg?resize=267%2C125&#038;ssl=1\" alt=\"Python input number\" class=\"wp-image-22713\"\/><\/figure><\/div>\n\n\n<p>The following code keeps on asking for user input till an integer number is given. Using <a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-exception-handling-error-handling\/\">exception handling <\/a>technique.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>while True:\n    try:\n        data = int(input(\"Enter a Number: \"))\n        print(\"You entered: \", data)\n        break;\n    except ValueError:\n        print(\"Invalid input\")\n<\/code><\/pre>\n\n\n\n<p><strong>Output<\/strong>: <\/p>\n\n\n\n<p>Enter a Number: Hello<br>Invalid input<br>Enter a Number: 1<br>You entered: 1<\/p>\n\n\n\n<p>You can use a similar approach if you want to input a floating-point number:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>num = float(input(\"Enter a number: \"))\r\nprint(\"The number you entered is:\", num)\r<\/code><\/pre>\n\n\n\n<p>In this case, the <code>float()<\/code> function is used to convert the input into a float.<\/p>\n\n\n\n<p>Keep in mind that if the user enters something that cannot be converted into a number (e.g., a string or a character), a <code>ValueError<\/code> will occur. To handle such cases, you can use exception handling using a <code>try-except<\/code> block.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Comment if you have any doubts or suggestions on this Python input topic.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p><strong>Note:<\/strong> IDE:&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/www.jetbrains.com\/pycharm\/\" target=\"_blank\">PyCharm<\/a>&nbsp;2021.3.3 (Community Edition)<\/p><p>Windows 10<\/p><p><strong>Python 3.10.1<\/strong><\/p><p>All<strong>&nbsp;Python Examples&nbsp;are in&nbsp;Python&nbsp;3<\/strong>, so Maybe its different from python 2 or upgraded versions.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>To take input as a number in Python, Simply use the input() function to get input from the user and convert it into a number type. Convert input number example in Python A simple example code is the input() function parses user input as a string even if it contains only number. Output: If the&hellip;&nbsp;<a href=\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/\" rel=\"bookmark\">Read More &raquo;<span class=\"screen-reader-text\">Python input number | Example code<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[30],"tags":[263,103],"post_series":[],"class_list":["post-22592","post","type-post","status-publish","format-standard","hentry","category-python","tag-python-input","tag-python-number"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.1.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Python input number | Example code<\/title>\n<meta name=\"description\" content=\"To take input as a number in Python, Simple use the input() function to get input from the user and convert it into a number type.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python input number | Example code\" \/>\n<meta property=\"og:description\" content=\"To take input as a number in Python, Simple use the input() function to get input from the user and convert it into a number type.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/\" \/>\n<meta property=\"og:site_name\" content=\"Tutorial\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-24T08:32:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-02T12:35:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg\" \/>\n<meta name=\"author\" content=\"Rohit\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Rohit\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/\",\"name\":\"Python input number | Example code\",\"isPartOf\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg\",\"datePublished\":\"2021-11-24T08:32:35+00:00\",\"dateModified\":\"2023-06-02T12:35:29+00:00\",\"author\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\"},\"description\":\"To take input as a number in Python, Simple use the input() function to get input from the user and convert it into a number type.\",\"breadcrumb\":{\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg?fit=267%2C125&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg?fit=267%2C125&ssl=1\",\"width\":267,\"height\":125},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/tutorial.eyehunts.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python input number | Example code\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#website\",\"url\":\"https:\/\/tutorial.eyehunts.com\/\",\"name\":\"Tutorial\",\"description\":\"By EyeHunts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1\",\"name\":\"Rohit\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"contentUrl\":\"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971\",\"caption\":\"Rohit\"},\"description\":\"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.\",\"url\":\"https:\/\/tutorial.eyehunts.com\/author\/rohit\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Python input number | Example code","description":"To take input as a number in Python, Simple use the input() function to get input from the user and convert it into a number type.","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:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/","og_locale":"en_US","og_type":"article","og_title":"Python input number | Example code","og_description":"To take input as a number in Python, Simple use the input() function to get input from the user and convert it into a number type.","og_url":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/","og_site_name":"Tutorial","article_published_time":"2021-11-24T08:32:35+00:00","article_modified_time":"2023-06-02T12:35:29+00:00","og_image":[{"url":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg","type":"","width":"","height":""}],"author":"Rohit","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Rohit","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/","url":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/","name":"Python input number | Example code","isPartOf":{"@id":"https:\/\/tutorial.eyehunts.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#primaryimage"},"image":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#primaryimage"},"thumbnailUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg","datePublished":"2021-11-24T08:32:35+00:00","dateModified":"2023-06-02T12:35:29+00:00","author":{"@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1"},"description":"To take input as a number in Python, Simple use the input() function to get input from the user and convert it into a number type.","breadcrumb":{"@id":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#primaryimage","url":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg?fit=267%2C125&ssl=1","contentUrl":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/Python-input-number.jpg?fit=267%2C125&ssl=1","width":267,"height":125},{"@type":"BreadcrumbList","@id":"https:\/\/tutorial.eyehunts.com\/python\/python-input-number-example-code\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/tutorial.eyehunts.com\/"},{"@type":"ListItem","position":2,"name":"Python input number | Example code"}]},{"@type":"WebSite","@id":"https:\/\/tutorial.eyehunts.com\/#website","url":"https:\/\/tutorial.eyehunts.com\/","name":"Tutorial","description":"By EyeHunts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/tutorial.eyehunts.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/69ca2cb8c13fdce0ee5b39d6175119b1","name":"Rohit","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/tutorial.eyehunts.com\/#\/schema\/person\/image\/","url":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","contentUrl":"https:\/\/tutorial.eyehunts.com\/wp-content\/litespeed\/avatar\/2b27529b86d6dfb5336897e07c93a827.jpg?ver=1777374971","caption":"Rohit"},"description":"Degree in Computer Science and Engineer: App Developer and has multiple Programming languages experience. Enthusiasm for technology &amp; like learning technical.","url":"https:\/\/tutorial.eyehunts.com\/author\/rohit\/"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":22584,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-take-space-separated-integer-input-in-python-3-example-code\/","url_meta":{"origin":22592,"position":0},"title":"How to take space-separated integer input in Python 3 | Example code","author":"Rohit","date":"November 22, 2021","format":false,"excerpt":"Use input(), map(), and split() functions to take space-separated integer input in Python 3. You have to use list() to convert the map to a list. list(map(int,input().split())) Where: input() accepts a string from STDIN. split() splits the string about the whitespace character and returns a list of strings. map() passes\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"How to take space-separated integer input in Python 3","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/How-to-take-space-separated-integer-input-in-Python-3.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22996,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-keep-asking-for-user-input-python-example-code\/","url_meta":{"origin":22592,"position":1},"title":"How to keep asking for user input Python | Example code","author":"Rohit","date":"December 9, 2021","format":false,"excerpt":"There are two ways to keep asking for user input in Python. First using while true with if statement and break statement. while True: # Loop continuously inp = input() # Get the input if inp == \"\": # If it is a blank line... break # ...break the loop\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"How to keep asking for user input Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-keep-asking-for-user-input-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":23079,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-take-continuous-input-in-python-example-code\/","url_meta":{"origin":22592,"position":2},"title":"How to take continuous input in Python | Example code","author":"Rohit","date":"December 14, 2021","format":false,"excerpt":"Use While loop with True condition expression to take continuous input in Python. And break the loop using if statement and break statement. while True: some_method() Example take continuous input in Python Simple example code gets user input repeatedly until want to quit. while True: user_input = input(\"Enter something: \")\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"How to take continuous input in Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-take-continuous-input-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":23026,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-take-an-unknown-number-of-inputs-in-python-example-code\/","url_meta":{"origin":22592,"position":3},"title":"How to take an unknown number of inputs in Python | Example code","author":"Rohit","date":"December 13, 2021","format":false,"excerpt":"Use While True with if statement and break statement to take an unknown number of inputs in Python. Break the while when the user just hit enter without any input value. Example take an unknown number of inputs in Python Simple example code takes unknown numbers of inputs and stores\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"How to take an unknown number of inputs in Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-take-an-unknown-number-of-inputs-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":23017,"url":"https:\/\/tutorial.eyehunts.com\/python\/how-to-take-infinite-input-in-python-example-code\/","url_meta":{"origin":22592,"position":4},"title":"How to take infinite input in Python | Example code","author":"Rohit","date":"December 8, 2021","format":false,"excerpt":"Use a while loop to take infinite input in Python. Save that input to the other data structure such a list and use any condition to break the while loop. Example take infinite input in Python A simple example code takes any type of user to enter a value. inputs\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"How to take infinite input in Python","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/12\/How-to-take-infinite-input-in-Python.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":22617,"url":"https:\/\/tutorial.eyehunts.com\/python\/what-does-the-python-input-function-do-basics\/","url_meta":{"origin":22592,"position":5},"title":"What does the Python input() function do | Basics","author":"Rohit","date":"November 22, 2021","format":false,"excerpt":"The Python input() function allows a user to insert a value into a program. It takes an input value from the user and returns a string value by default. input(message) Later you can convert the contents of input using any data type. Python input() function example Simple basic example code\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/tutorial.eyehunts.com\/category\/python\/"},"img":{"alt_text":"What does the Python input() function do","src":"https:\/\/i0.wp.com\/tutorial.eyehunts.com\/wp-content\/uploads\/2021\/11\/What-does-the-Python-input-function-do.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22592","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/comments?post=22592"}],"version-history":[{"count":1,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22592\/revisions"}],"predecessor-version":[{"id":39913,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/posts\/22592\/revisions\/39913"}],"wp:attachment":[{"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/media?parent=22592"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/categories?post=22592"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/tags?post=22592"},{"taxonomy":"post_series","embeddable":true,"href":"https:\/\/tutorial.eyehunts.com\/wp-json\/wp\/v2\/post_series?post=22592"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}