{"id":1021,"date":"2020-05-31T04:09:26","date_gmt":"2020-05-31T04:09:26","guid":{"rendered":"https:\/\/www.projectimmerse.com\/blog\/?p=1021"},"modified":"2020-06-15T06:47:58","modified_gmt":"2020-06-15T06:47:58","slug":"linear-linked-list-insert-element-beginning-using-python","status":"publish","type":"post","link":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/","title":{"rendered":"Linear Linked List &#8211; Insert Element Beginning using Python"},"content":{"rendered":"<p>What&#8217;s up friends?! Hope your week has been great as always, the weather here has been quite chilly and then hot at different days, so I&#8217;ve been taking advantage of it and go hiking quite a bit to clear up my head.<\/p>\n<p>Today, I want to take a moment to introduce data structures. Data structures is one of my favorite topics ever, and in my personal opinion, possibly one of the most important courses of computer science in general, as it provides the foundation for later on. Well, <strong>WHAT IS DATA STRUCTURE?\u00a0<\/strong>Data structure essentially is a way of organizing data for the machine to work efficiently, and you have seen it before, such as array! As such, I want to talk about linear linked list because I am positive colleges would definitely throw these at you, and you definitely are going to spend hours and hours on data structures!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1022\" src=\"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-30-at-8.46.30-PM-300x65.png\" alt=\"\" width=\"300\" height=\"65\" srcset=\"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-30-at-8.46.30-PM-300x65.png 300w, https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/Screen-Shot-2020-05-30-at-8.46.30-PM.png 673w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><!--more--><\/p>\n<p>I am going to use a screenshot from GeeksforGeeks to properly demonstrate. Essentially, a linear linked list would definitely has a head node (as shown above), and a tail node (for this example, we are not going to use a tail node), and each node would have a way to point to the next node, creating a linked list (think of a chain). The way you know that a linked list is at the end is the end node would point to NULL.<\/p>\n<p>What we&#8217;re going to do today is we are going to insert a node, but only insert at the beginning, we want to dip our toes in, okay?<\/p>\n<p>First, I want to set up the Node class.<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\n# this import is optional, I am using this because I want\r\n# to write the code to generate a random list of linked list\r\nfrom random import randint\r\n\r\nclass Node:\r\n    # initializing the node itself\r\n    def __init__(self, data, next=None):\r\n        self.data = data\r\n        self.next = next\r\n\r\n<\/pre>\n<p>Next, I want to set up the LinkedList class. Keep in mind, the process that I&#8217;m doing right now is usually standard.<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\nclass LinkedList: \r\n    def __init__(self, data=None):\r\n        self.head = Node(data)\r\n\r\n    # insert node at the beginning of the list\r\n    # as you can see, we are using pointers to manipulate\r\n    # the data, assigning new node to temp, setting next node to \r\n    # previous head node, and set up the new head node\r\n    def addBeginning(self, newData):\r\n        temp = Node(newData)\r\n        temp.next = self.head\r\n        self.head = temp\r\n\r\n    # generating a random list\r\n    def randomList(self, limit=5):\r\n        \r\n        i = 0\r\n        while i &amp;amp;lt; limit:\r\n            value = randint(0, 20)\r\n            self.addBeginning(value)\r\n            i += 1\r\n\r\n        self.display()\r\n\r\n    # traversing and display linked list\r\n    def display(self):\r\n        # temp points to head node\r\n        temp = self.head\r\n\r\n        # quit the loop of NULL\r\n        while temp.next != None:\r\n            print(temp.data, end=&quot; &quot;)\r\n            temp = temp.next\r\n<\/pre>\n<p>And the last step! You already guessed it. It is to test out the program!<\/p>\n<pre class=\"brush: python; title: ; notranslate\" title=\"\">\r\n&lt;\/pre&gt;&lt;pre&gt;myList = LinkedList()\r\nlimit = randint(5, 10)\r\nprint(&quot;*&quot; * 40)\r\nprint(&quot;Original list: &quot;, end=&quot;&quot;)\r\nmyList.randomList(limit)\r\nprint()\r\n\r\nvalue = int(input(&quot;Enter your value to add at beginning of list: &quot;))\r\nmyList.addBeginning(value)\r\nprint(&quot;New list: &quot;, end=&quot;&quot;)\r\nmyList.display()\r\nprint()\r\n<\/pre>\n<p>Feel free to tweak the code! Of course, that&#8217;s the whole point of this tutorial, I would like to see y&#8217;all come up with different answers to this. Like I said, data structures is one of my favorite topics to talk about, so I will definitely bring more content upon this subject in the future. Take care and stay healthy!<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What&#8217;s up friends?! Hope your week has been great as always, the weather here has been quite chilly and then hot at different days, so I&#8217;ve been taking advantage of it and go hiking quite a bit to clear up my head. Today, I want to take a moment to introduce data structures. Data structures &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Linear Linked List &#8211; Insert Element Beginning using Python&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1084,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[41,39],"class_list":["post-1021","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-data-structures","tag-python"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linear Linked List - Insert Element Beginning using Python - Project Immerse<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linear Linked List - Insert Element Beginning using Python - Project Immerse\" \/>\n<meta property=\"og:description\" content=\"What&#8217;s up friends?! Hope your week has been great as always, the weather here has been quite chilly and then hot at different days, so I&#8217;ve been taking advantage of it and go hiking quite a bit to clear up my head. Today, I want to take a moment to introduce data structures. Data structures &hellip; Continue reading &quot;Linear Linked List &#8211; Insert Element Beginning using Python&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Project Immerse\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-31T04:09:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-15T06:47:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/insert-element-beginning-using-python.png\" \/>\n\t<meta property=\"og:image:width\" content=\"750\" \/>\n\t<meta property=\"og:image:height\" content=\"422\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"projectimmerse\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"projectimmerse\" \/>\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:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/\"},\"author\":{\"name\":\"projectimmerse\",\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/#\\\/schema\\\/person\\\/c53f2864be524ee6fa08a7e4800dd1e5\"},\"headline\":\"Linear Linked List &#8211; Insert Element Beginning using Python\",\"datePublished\":\"2020-05-31T04:09:26+00:00\",\"dateModified\":\"2020-06-15T06:47:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/\"},\"wordCount\":609,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/insert-element-beginning-using-python.png\",\"keywords\":[\"data structures\",\"python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/\",\"url\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/\",\"name\":\"Linear Linked List - Insert Element Beginning using Python - Project Immerse\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/insert-element-beginning-using-python.png\",\"datePublished\":\"2020-05-31T04:09:26+00:00\",\"dateModified\":\"2020-06-15T06:47:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/#\\\/schema\\\/person\\\/c53f2864be524ee6fa08a7e4800dd1e5\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/insert-element-beginning-using-python.png\",\"contentUrl\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/05\\\/insert-element-beginning-using-python.png\",\"width\":750,\"height\":422,\"caption\":\"Linear Linked List - Insert Element at Beginning using Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/linear-linked-list-insert-element-beginning-using-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linear Linked List &#8211; Insert Element Beginning using Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/\",\"name\":\"Project Immerse\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/#\\\/schema\\\/person\\\/c53f2864be524ee6fa08a7e4800dd1e5\",\"name\":\"projectimmerse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d06955033d6227bfdcf30014e457e4334f7deeb73907de49b65ec2484921931?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d06955033d6227bfdcf30014e457e4334f7deeb73907de49b65ec2484921931?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4d06955033d6227bfdcf30014e457e4334f7deeb73907de49b65ec2484921931?s=96&d=mm&r=g\",\"caption\":\"projectimmerse\"},\"url\":\"https:\\\/\\\/www.projectimmerse.com\\\/blog\\\/author\\\/projectimmerse\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linear Linked List - Insert Element Beginning using Python - Project Immerse","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:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/","og_locale":"en_US","og_type":"article","og_title":"Linear Linked List - Insert Element Beginning using Python - Project Immerse","og_description":"What&#8217;s up friends?! Hope your week has been great as always, the weather here has been quite chilly and then hot at different days, so I&#8217;ve been taking advantage of it and go hiking quite a bit to clear up my head. Today, I want to take a moment to introduce data structures. Data structures &hellip; Continue reading \"Linear Linked List &#8211; Insert Element Beginning using Python\"","og_url":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/","og_site_name":"Project Immerse","article_published_time":"2020-05-31T04:09:26+00:00","article_modified_time":"2020-06-15T06:47:58+00:00","og_image":[{"width":750,"height":422,"url":"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/insert-element-beginning-using-python.png","type":"image\/png"}],"author":"projectimmerse","twitter_card":"summary_large_image","twitter_misc":{"Written by":"projectimmerse","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#article","isPartOf":{"@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/"},"author":{"name":"projectimmerse","@id":"https:\/\/www.projectimmerse.com\/blog\/#\/schema\/person\/c53f2864be524ee6fa08a7e4800dd1e5"},"headline":"Linear Linked List &#8211; Insert Element Beginning using Python","datePublished":"2020-05-31T04:09:26+00:00","dateModified":"2020-06-15T06:47:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/"},"wordCount":609,"commentCount":0,"image":{"@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/insert-element-beginning-using-python.png","keywords":["data structures","python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/","url":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/","name":"Linear Linked List - Insert Element Beginning using Python - Project Immerse","isPartOf":{"@id":"https:\/\/www.projectimmerse.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#primaryimage"},"image":{"@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#primaryimage"},"thumbnailUrl":"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/insert-element-beginning-using-python.png","datePublished":"2020-05-31T04:09:26+00:00","dateModified":"2020-06-15T06:47:58+00:00","author":{"@id":"https:\/\/www.projectimmerse.com\/blog\/#\/schema\/person\/c53f2864be524ee6fa08a7e4800dd1e5"},"breadcrumb":{"@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#primaryimage","url":"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/insert-element-beginning-using-python.png","contentUrl":"https:\/\/www.projectimmerse.com\/blog\/wp-content\/uploads\/2020\/05\/insert-element-beginning-using-python.png","width":750,"height":422,"caption":"Linear Linked List - Insert Element at Beginning using Python"},{"@type":"BreadcrumbList","@id":"https:\/\/www.projectimmerse.com\/blog\/linear-linked-list-insert-element-beginning-using-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.projectimmerse.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Linear Linked List &#8211; Insert Element Beginning using Python"}]},{"@type":"WebSite","@id":"https:\/\/www.projectimmerse.com\/blog\/#website","url":"https:\/\/www.projectimmerse.com\/blog\/","name":"Project Immerse","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.projectimmerse.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.projectimmerse.com\/blog\/#\/schema\/person\/c53f2864be524ee6fa08a7e4800dd1e5","name":"projectimmerse","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4d06955033d6227bfdcf30014e457e4334f7deeb73907de49b65ec2484921931?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4d06955033d6227bfdcf30014e457e4334f7deeb73907de49b65ec2484921931?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4d06955033d6227bfdcf30014e457e4334f7deeb73907de49b65ec2484921931?s=96&d=mm&r=g","caption":"projectimmerse"},"url":"https:\/\/www.projectimmerse.com\/blog\/author\/projectimmerse\/"}]}},"_links":{"self":[{"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/posts\/1021","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/comments?post=1021"}],"version-history":[{"count":11,"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/posts\/1021\/revisions"}],"predecessor-version":[{"id":1071,"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/posts\/1021\/revisions\/1071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/media\/1084"}],"wp:attachment":[{"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/media?parent=1021"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/categories?post=1021"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.projectimmerse.com\/blog\/wp-json\/wp\/v2\/tags?post=1021"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}