{"id":879,"date":"2021-07-18T14:59:28","date_gmt":"2021-07-18T14:59:28","guid":{"rendered":"https:\/\/www.wikitechy.com\/interview-questions\/?p=879"},"modified":"2021-09-09T10:45:00","modified_gmt":"2021-09-09T10:45:00","slug":"what-is-duck-typing-in-python","status":"publish","type":"post","link":"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/","title":{"rendered":"What is Duck Typing in Python ?"},"content":{"rendered":"<div class=\"TextHeading\">\n<div class=\"hddn\">\n<h2 id=\"duck-typing-in-python\" class=\"color-purple\" style=\"text-align: justify;\">Duck Typing in Python<\/h2>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>Duck typing is the \u201ctype\u201d of the object is a matter of concern only at runtime and you don\u2019t require mentioning the type of the object before you execute any kind of operation on that object.<\/li>\n<li>Parts of the standard library in python suppose to use I\/O like objects with read or write methods, yet you will pass anything that executes these, without having to inherit from anything.<\/li>\n<li>There is another idea in typing lark which is a characteristics of dynamic languages. This is known as duck typing.<\/li>\n<li>Example, in a statically typed language we have a concept of including. A few types of object can be included \u2013 typically only to objects of the similar type. Although most languages will let you a chance to add an integer to a floating point number \u2013 resulting in a floating point number. Attempt to include different types of objects together and the compiler will tell you that you\u2019re not permitted.<\/li>\n<li>In Python we have to permit the object to describe what it to be included. The expression 4 + 4 is syntactic sugar for calling the __add__ method of the integer type. It is similar as calling int.__add__(4, 4). It means that if you define a __add__ method for one of your classes you will make all sorts of things happen when you include instances of them together.<\/li>\n<li>Many of Python syntax is sugar for underlying methods especially in data access. Accessing members of sequence type objects as well as mapping type objects is complete by using the __getitem__ method of these objects.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\"><\/div>\n<\/div>\n<div class=\"CodeContent\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<figure class=\"highlight\">\n<pre><strong><code id=\"code1\" class=\"python hljs bash\" data-lang=\"python\"><span class=\"nt\">a = [<span class=\"hljs-number\">0<\/span>,<span class=\"hljs-number\">1<\/span> <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>]\r\n<span class=\"hljs-built_in\">print<\/span> a[<span class=\"hljs-number\">0<\/span>]\r\n<span class=\"hljs-number\">0<\/span>\r\nb = {<span class=\"hljs-string\">'a'<\/span>: <span class=\"hljs-number\">0<\/span>, <span class=\"hljs-string\">'b'<\/span>: <span class=\"hljs-number\">1<\/span>}\r\n<span class=\"hljs-built_in\">print<\/span> b[<span class=\"hljs-string\">'a'<\/span>]\r\n<span class=\"hljs-number\">0<\/span><\/span><\/code><\/strong><\/pre>\n<\/figure>\n<\/div>\n<\/div>\n<div class=\"Content\" style=\"text-align: justify;\">\n<div class=\"hddn\">\n<ul>\n<li>The above code is exactly the same as :<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<div class=\"CodeContent\">\n<div class=\"hddn\">\n<figure class=\"highlight\" style=\"text-align: justify;\">\n<pre><code id=\"code2\" class=\"python hljs bash\" data-lang=\"python\"><span class=\"nt\"><strong>a =  [<span class=\"hljs-number\">0<\/span>,<span class=\"hljs-number\">1<\/span> <span class=\"hljs-number\">2<\/span>, <span class=\"hljs-number\">3<\/span>]\r\n<span class=\"hljs-built_in\">print<\/span> list.__getitem__(a, <span class=\"hljs-number\">0<\/span>)\r\n<span class=\"hljs-number\">0<\/span>\r\nb = {<span class=\"hljs-string\">'a'<\/span>: <span class=\"hljs-number\">0<\/span>, <span class=\"hljs-string\">'b'<\/span>: <span class=\"hljs-number\">1<\/span>}\r\n<span class=\"hljs-built_in\">print<\/span> dict._getitem__(b, <span class=\"hljs-string\">'a'<\/span>)\r\n<span class=\"hljs-number\">0<\/span><\/strong><\/span><\/code><\/pre>\n<\/figure>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Answer : Duck typing is the \u201ctype\u201d of the object is a matter of concern only&#8230;&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5608],"tags":[195,491,360,203,199,214,198,209,205,5855,5854,5861,5860,5867,222,484,196,212,213,286,710,207,366,204,217,282,208,5620,5862,5857,5617,5868,5619,5618,5864,5866,5863,5668,483,206,200,197,280,364,5858,5859,5856,5865,5631],"class_list":["post-879","post","type-post","status-publish","format-standard","hentry","category-python","tag-accenture-interview-questions-and-answers","tag-applied-materials-interview-questions-and-answers","tag-atos-interview-questions-and-answers","tag-capgemini-interview-questions-and-answers","tag-casting-networks-india-pvt-limited-interview-questions-and-answers","tag-cgi-group-inc-interview-questions-and-answers","tag-chetu-interview-questions-and-answers","tag-collabera-technologies-interview-questions-and-answers","tag-dell-international-services-india-pvt-ltd-interview-questions-and-answers","tag-duck-typing","tag-duck-typing-in-python","tag-duck-typing-vs-dynamic-typing","tag-duck-typing-vs-inheritance","tag-dynamic-typing-in-python","tag-flipkart-interview-questions-and-answers","tag-genpact-interview-questions-and-answers","tag-ibm-interview-questions-and-answers","tag-indecomm-global-services-interview-questions-and-answers","tag-infosys-technologies-interview-questions-and-answers","tag-lt-infotech-interview-questions-and-answers","tag-mavenir-interview-questions-and-answers","tag-mphasis-interview-questions-and-answers","tag-netapp-interview-questions-and-answers","tag-oracle-corporation-interview-questions-and-answers","tag-peoplestrong-interview-questions-and-answers","tag-persistent-systems-interview-questions-and-answers","tag-prokarma-softech-pvt-ltd-interview-questions-and-answers","tag-python-data-science-interview-questions","tag-python-duck-typing","tag-python-duck-typing-or-automatic-interfaces","tag-python-interview-questions-and-answers-for-testers","tag-python-optional-typing","tag-python-programming-questions","tag-python-telephonic-interview-questions","tag-python-typing","tag-python-typing-module","tag-python-uses-duck-typing","tag-python-uses-which-typing","tag-reliance-industries-ltd-interview-questions-and-answers","tag-sap-labs-india-pvt-ltd-interview-questions-and-answers","tag-tech-mahindra-interview-questions-and-answers","tag-unitedhealth-group-interview-questions-and-answers","tag-virtusa-consulting-services-pvt-ltd-interview-questions-and-answers","tag-wells-fargo-interview-questions-and-answers","tag-what-is-duck-typing","tag-what-is-duck-typing-in-computer-programming","tag-what-is-duck-typing-in-python","tag-what-is-dynamic-typing-in-python","tag-xoriant-soluti-interview-questions-and-answers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Duck Typing in Python ? - python coding interview questions<\/title>\n<meta name=\"description\" content=\"What is Duck Typing in Python ? - python coding interview questions ? - Duck typing is the \u201ctype\u201d of the object is a matter of concern only at runtime\" \/>\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.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Duck Typing in Python ? - python coding interview questions\" \/>\n<meta property=\"og:description\" content=\"What is Duck Typing in Python ? - python coding interview questions ? - Duck typing is the \u201ctype\u201d of the object is a matter of concern only at runtime\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"Wikitechy\" \/>\n<meta property=\"article:published_time\" content=\"2021-07-18T14:59:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-09-09T10:45:00+00:00\" \/>\n<meta name=\"author\" content=\"Editor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Editor\" \/>\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\":\"Article\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/python\\\/what-is-duck-typing-in-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/python\\\/what-is-duck-typing-in-python\\\/\"},\"author\":{\"name\":\"Editor\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"headline\":\"What is Duck Typing in Python ?\",\"datePublished\":\"2021-07-18T14:59:28+00:00\",\"dateModified\":\"2021-09-09T10:45:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/python\\\/what-is-duck-typing-in-python\\\/\"},\"wordCount\":280,\"commentCount\":0,\"keywords\":[\"Accenture interview questions and answers\",\"Applied Materials interview questions and answers\",\"Atos interview questions and answers\",\"Capgemini interview questions and answers\",\"CASTING NETWORKS INDIA PVT LIMITED interview questions and answers\",\"CGI Group Inc interview questions and answers\",\"Chetu interview questions and answers\",\"Collabera Technologies interview questions and answers\",\"Dell International Services India Pvt Ltd interview questions and answers\",\"Duck typing\",\"Duck Typing in Python\",\"duck typing vs dynamic typing\",\"duck typing vs inheritance\",\"dynamic typing in python\",\"Flipkart interview questions and answers\",\"Genpact interview questions and answers\",\"IBM interview questions and answers\",\"Indecomm Global Services interview questions and answers\",\"Infosys Technologies interview questions and answers\",\"L&amp;T Infotech interview questions and answers\",\"Mavenir interview questions and answers\",\"Mphasis interview questions and answers\",\"NetApp interview questions and answers\",\"Oracle Corporation interview questions and answers\",\"PeopleStrong interview questions and answers\",\"Persistent Systems interview questions and answers\",\"Prokarma Softech Pvt Ltd interview questions and answers\",\"python data science interview questions\",\"python duck typing\",\"Python duck typing (or automatic interfaces)\",\"python interview questions and answers for testers\",\"python optional typing\",\"python programming questions\",\"python telephonic interview questions\",\"python typing\",\"python typing module\",\"python uses duck typing\",\"python uses which typing\",\"Reliance Industries Ltd interview questions and answers\",\"SAP Labs India Pvt Ltd interview questions and answers\",\"Tech Mahindra interview questions and answers\",\"UnitedHealth Group interview questions and answers\",\"Virtusa Consulting Services Pvt Ltd interview questions and answers\",\"Wells Fargo interview questions and answers\",\"What is \u201cduck typing\u201d?\",\"What Is Duck Typing in Computer Programming?\",\"What is Duck typing in Python?\",\"what is dynamic typing in python\",\"Xoriant Soluti interview questions and answers\"],\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/python\\\/what-is-duck-typing-in-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/python\\\/what-is-duck-typing-in-python\\\/\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/python\\\/what-is-duck-typing-in-python\\\/\",\"name\":\"What is Duck Typing in Python ? - python coding interview questions\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\"},\"datePublished\":\"2021-07-18T14:59:28+00:00\",\"dateModified\":\"2021-09-09T10:45:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\"},\"description\":\"What is Duck Typing in Python ? - python coding interview questions ? - Duck typing is the \u201ctype\u201d of the object is a matter of concern only at runtime\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/python\\\/what-is-duck-typing-in-python\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#website\",\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/\",\"name\":\"Wikitechy\",\"description\":\"Interview Questions\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/#\\\/schema\\\/person\\\/4d5a581fb5470d1560324bddc5e8b757\",\"name\":\"Editor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g\",\"caption\":\"Editor\"},\"url\":\"https:\\\/\\\/www.wikitechy.com\\\/interview-questions\\\/author\\\/editor\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Duck Typing in Python ? - python coding interview questions","description":"What is Duck Typing in Python ? - python coding interview questions ? - Duck typing is the \u201ctype\u201d of the object is a matter of concern only at runtime","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.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/","og_locale":"en_US","og_type":"article","og_title":"What is Duck Typing in Python ? - python coding interview questions","og_description":"What is Duck Typing in Python ? - python coding interview questions ? - Duck typing is the \u201ctype\u201d of the object is a matter of concern only at runtime","og_url":"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/","og_site_name":"Wikitechy","article_published_time":"2021-07-18T14:59:28+00:00","article_modified_time":"2021-09-09T10:45:00+00:00","author":"Editor","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Editor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/#article","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/"},"author":{"name":"Editor","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"headline":"What is Duck Typing in Python ?","datePublished":"2021-07-18T14:59:28+00:00","dateModified":"2021-09-09T10:45:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/"},"wordCount":280,"commentCount":0,"keywords":["Accenture interview questions and answers","Applied Materials interview questions and answers","Atos interview questions and answers","Capgemini interview questions and answers","CASTING NETWORKS INDIA PVT LIMITED interview questions and answers","CGI Group Inc interview questions and answers","Chetu interview questions and answers","Collabera Technologies interview questions and answers","Dell International Services India Pvt Ltd interview questions and answers","Duck typing","Duck Typing in Python","duck typing vs dynamic typing","duck typing vs inheritance","dynamic typing in python","Flipkart interview questions and answers","Genpact interview questions and answers","IBM interview questions and answers","Indecomm Global Services interview questions and answers","Infosys Technologies interview questions and answers","L&amp;T Infotech interview questions and answers","Mavenir interview questions and answers","Mphasis interview questions and answers","NetApp interview questions and answers","Oracle Corporation interview questions and answers","PeopleStrong interview questions and answers","Persistent Systems interview questions and answers","Prokarma Softech Pvt Ltd interview questions and answers","python data science interview questions","python duck typing","Python duck typing (or automatic interfaces)","python interview questions and answers for testers","python optional typing","python programming questions","python telephonic interview questions","python typing","python typing module","python uses duck typing","python uses which typing","Reliance Industries Ltd interview questions and answers","SAP Labs India Pvt Ltd interview questions and answers","Tech Mahindra interview questions and answers","UnitedHealth Group interview questions and answers","Virtusa Consulting Services Pvt Ltd interview questions and answers","Wells Fargo interview questions and answers","What is \u201cduck typing\u201d?","What Is Duck Typing in Computer Programming?","What is Duck typing in Python?","what is dynamic typing in python","Xoriant Soluti interview questions and answers"],"articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/","url":"https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/","name":"What is Duck Typing in Python ? - python coding interview questions","isPartOf":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website"},"datePublished":"2021-07-18T14:59:28+00:00","dateModified":"2021-09-09T10:45:00+00:00","author":{"@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757"},"description":"What is Duck Typing in Python ? - python coding interview questions ? - Duck typing is the \u201ctype\u201d of the object is a matter of concern only at runtime","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wikitechy.com\/interview-questions\/python\/what-is-duck-typing-in-python\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#website","url":"https:\/\/www.wikitechy.com\/interview-questions\/","name":"Wikitechy","description":"Interview Questions","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wikitechy.com\/interview-questions\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.wikitechy.com\/interview-questions\/#\/schema\/person\/4d5a581fb5470d1560324bddc5e8b757","name":"Editor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e9531079fe7e07841b7b156c04d65e5f39d4adfd18b6ffe3edfff8ca5aab85b5?s=96&d=mm&r=g","caption":"Editor"},"url":"https:\/\/www.wikitechy.com\/interview-questions\/author\/editor\/"}]}},"_links":{"self":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/879","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/comments?post=879"}],"version-history":[{"count":3,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/879\/revisions"}],"predecessor-version":[{"id":3220,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/posts\/879\/revisions\/3220"}],"wp:attachment":[{"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/media?parent=879"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/categories?post=879"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wikitechy.com\/interview-questions\/wp-json\/wp\/v2\/tags?post=879"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}