{"id":5252,"date":"2019-11-26T11:28:17","date_gmt":"2019-11-26T11:28:17","guid":{"rendered":"https:\/\/holypython.com\/?p=5252"},"modified":"2021-03-28T13:24:44","modified_gmt":"2021-03-28T13:24:44","slug":"api-12-cocktail-database","status":"publish","type":"post","link":"https:\/\/holypython.com\/api-12-cocktail-database\/","title":{"rendered":"Cocktail Database API"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"5252\" class=\"elementor elementor-5252\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-53b32a8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"53b32a8\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cfc2f91\" data-id=\"cfc2f91\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2d2899d elementor-widget elementor-widget-heading\" data-id=\"2d2899d\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\"><b>The Cocktail Database<\/b><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-eeb1e41 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"eeb1e41\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-b341562\" data-id=\"b341562\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3af700d elementor-widget elementor-widget-text-editor\" data-id=\"3af700d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>TheCocktailDB has a very impressive cocktail selection you can use for fun or commercial purposes. They offer abundance of information regarding different types of cocktails and you can filter cocktails based on, ingredient, name, type, glass type, alcoholic vs non-alcoholic, etc.<\/p><p>Their cocktail photos are also a delight to the eye. With the help of <b>webbrowser<\/b>\u00a0library we can then open these links right from the python terminal.<\/p><p>Here is a simply code that uses\u00a0<b>requests<\/b>, <b>json<\/b> and <b>webbrowser <\/b>libraries:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a6dc06b elementor-widget elementor-widget-html\" data-id=\"a6dc06b\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"PYTHON\"><code>import requests\r\nimport json\r\nimport webbrowser\r\ndef cocktails():\r\n    f = r\"https:\/\/www.thecocktaildb.com\/api\/json\/v1\/1\/search.php?s=margarita\"\r\n    data = requests.get(f)\r\n    tt = json.loads(data.text)\r\n    #webbrowser.open(tt[\"url\"])\r\n    \r\n    for i in (tt[\"drinks\"]):\r\n        print(i, \"\\n\")\r\n    print(len(tt[\"drinks\"]))    \r\ncocktails()\r\n<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5102367 elementor-widget elementor-widget-image-gallery\" data-id=\"5102367\" data-element_type=\"widget\" data-widget_type=\"image-gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-image-gallery\">\n\t\t\t<div id='gallery-1' class='gallery galleryid-5252 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"5102367\" data-elementor-lightbox-title=\"xrbhz61504883702\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTI2NiwidXJsIjoiaHR0cHM6XC9cL2hvbHlweXRob24uY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDE5XC8xMVwveHJiaHo2MTUwNDg4MzcwMi5qcGciLCJzbGlkZXNob3ciOiI1MTAyMzY3In0%3D\" href='https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/xrbhz61504883702.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/xrbhz61504883702-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/xrbhz61504883702-150x150.jpg 150w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/xrbhz61504883702-300x300.jpg 300w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/xrbhz61504883702-500x500.jpg 500w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/xrbhz61504883702.jpg 700w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"5102367\" data-elementor-lightbox-title=\"jfkemm1513703902\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTI2MiwidXJsIjoiaHR0cHM6XC9cL2hvbHlweXRob24uY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDE5XC8xMVwvamZrZW1tMTUxMzcwMzkwMi5qcGciLCJzbGlkZXNob3ciOiI1MTAyMzY3In0%3D\" href='https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jfkemm1513703902.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jfkemm1513703902-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jfkemm1513703902-150x150.jpg 150w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jfkemm1513703902-300x300.jpg 300w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jfkemm1513703902-500x500.jpg 500w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jfkemm1513703902.jpg 700w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"5102367\" data-elementor-lightbox-title=\"jofsaz1504352991\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTI2MywidXJsIjoiaHR0cHM6XC9cL2hvbHlweXRob24uY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDE5XC8xMVwvam9mc2F6MTUwNDM1Mjk5MS5qcGciLCJzbGlkZXNob3ciOiI1MTAyMzY3In0%3D\" href='https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jofsaz1504352991.jpg'><img decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jofsaz1504352991-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jofsaz1504352991-150x150.jpg 150w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jofsaz1504352991-300x300.jpg 300w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jofsaz1504352991-500x500.jpg 500w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/jofsaz1504352991.jpg 700w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div><\/figure>\n\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8b20963 elementor-widget elementor-widget-text-editor\" data-id=\"8b20963\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Source: <a href=\"https:\/\/www.thecocktaildb.com\" target=\"_blank\" rel=\"noopener\">The Cocktail DB<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-813bf3d elementor-widget elementor-widget-text-editor\" data-id=\"813bf3d\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Code below will print a bunch of other information regarding cocktails such as: Instructions and Ingredients and it will also open the cocktail image in a browser.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3ae8a04 elementor-widget elementor-widget-html\" data-id=\"3ae8a04\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"PYTHON\"><code>import requests\r\nimport json\r\nimport webbrowser\r\ndef cocktails():\r\n    f = r\"https:\/\/www.thecocktaildb.com\/api\/json\/v1\/1\/search.php?s=margarita\"\r\n    data = requests.get(f)\r\n    tt = json.loads(data.text)\r\n    \r\n    \r\n    for i in (tt[\"drinks\"]):\r\n        print(i[\"strDrink\"], \"\\n\")\r\n        print(i[\"strInstructions\"], \"\\n\")\r\n        print(i[\"strInstructionsDE\"], \"\\n\")\r\n        \r\n        print(i[\"strIngredient1\"])\r\n        print(i[\"strIngredient2\"])\r\n        print(i[\"strIngredient3\"])\r\n        print(i[\"strIngredient4\"])\r\n        url = i[\"strDrinkThumb\"]\r\n        webbrowser.open(url)\r\ncocktails()\r\n<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-c558811 elementor-widget elementor-widget-image-gallery\" data-id=\"c558811\" data-element_type=\"widget\" data-widget_type=\"image-gallery.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-image-gallery\">\n\t\t\t<div id='gallery-2' class='gallery galleryid-5252 gallery-columns-3 gallery-size-thumbnail'><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"c558811\" data-elementor-lightbox-title=\"tsxpty1468923417\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTI2NCwidXJsIjoiaHR0cHM6XC9cL2hvbHlweXRob24uY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDE5XC8xMVwvdHN4cHR5MTQ2ODkyMzQxNy5qcGciLCJzbGlkZXNob3ciOiJjNTU4ODExIn0%3D\" href='https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tsxpty1468923417.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tsxpty1468923417-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-5264\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tsxpty1468923417-150x150.jpg 150w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tsxpty1468923417-300x300.jpg 300w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tsxpty1468923417-500x500.jpg 500w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tsxpty1468923417.jpg 700w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-5264'>\n\t\t\t\tCocktail Image\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"c558811\" data-elementor-lightbox-title=\"tvtrrt1439906288\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTI2NSwidXJsIjoiaHR0cHM6XC9cL2hvbHlweXRob24uY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDE5XC8xMVwvdHZ0cnJ0MTQzOTkwNjI4OC5qcGciLCJzbGlkZXNob3ciOiJjNTU4ODExIn0%3D\" href='https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tvtrrt1439906288.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tvtrrt1439906288-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-5265\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tvtrrt1439906288-150x150.jpg 150w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tvtrrt1439906288-300x300.jpg 300w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tvtrrt1439906288-500x500.jpg 500w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/tvtrrt1439906288.jpg 700w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-5265'>\n\t\t\t\tCocktail Image\n\t\t\t\t<\/figcaption><\/figure><figure class='gallery-item'>\n\t\t\t<div class='gallery-icon landscape'>\n\t\t\t\t<a data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-slideshow=\"c558811\" data-elementor-lightbox-title=\"3s6mlr1509551211\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NTI2MCwidXJsIjoiaHR0cHM6XC9cL2hvbHlweXRob24uY29tXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDE5XC8xMVwvM3M2bWxyMTUwOTU1MTIxMS5qcGciLCJzbGlkZXNob3ciOiJjNTU4ODExIn0%3D\" href='https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/3s6mlr1509551211.jpg'><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/3s6mlr1509551211-150x150.jpg\" class=\"attachment-thumbnail size-thumbnail\" alt=\"\" aria-describedby=\"gallery-2-5260\" srcset=\"https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/3s6mlr1509551211-150x150.jpg 150w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/3s6mlr1509551211-300x300.jpg 300w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/3s6mlr1509551211-500x500.jpg 500w, https:\/\/holypython.com\/wp-content\/uploads\/2019\/11\/3s6mlr1509551211.jpg 700w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><\/a>\n\t\t\t<\/div>\n\t\t\t\t<figcaption class='wp-caption-text gallery-caption' id='gallery-2-5260'>\n\t\t\t\tCocktail Image\n\t\t\t\t<\/figcaption><\/figure>\n\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-78f3d38 elementor-widget elementor-widget-text-editor\" data-id=\"78f3d38\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Source: <a href=\"https:\/\/www.thecocktaildb.com\" target=\"_blank\" rel=\"noopener\">The Cocktail DB<\/a><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0009ac9 elementor-widget elementor-widget-text-editor\" data-id=\"0009ac9\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Code below will open all the cocktail images in your browser. Be careful as there might be too many images to open at once.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d20ab7b elementor-widget elementor-widget-html\" data-id=\"d20ab7b\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<pre rel=\"PYTHON\"><code>import requests\r\nimport json\r\nimport webbrowser\r\ndef cocktails():\r\n    f = r\"https:\/\/www.thecocktaildb.com\/api\/json\/v1\/1\/filter.php?i=Gin\"\r\n    data = requests.get(f)\r\n    tt = json.loads(data.text)\r\n    print(tt)\r\n    \r\n    for i in (tt[\"drinks\"]):\r\n        try:\r\n            url = i[\"strDrinkThumb\"]\r\n            webbrowser.open(url)\r\n            print(i, \"\\n\")\r\n            print(i[\"strDrink\"], \"\\n\")\r\n        except Exception:\r\n            pass\r\ncocktails()\r\n<\/code><\/pre>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ce79508 elementor-widget elementor-widget-text-editor\" data-id=\"ce79508\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong>TheCocktailDB<\/strong> is generous to allow access to their impressive cocktail database for educational and small scale personal use (via experimental API key: 1). For anything futher, you can support them through their Patreon Page <a href=\"https:\/\/www.patreon.com\/thedatadb\" target=\"_blank\" rel=\"noopener\">here<\/a>\u00a0and get a legit API key.<\/p><p>For instance, if you&#8217;d like to create an app based on their Cocktail API, they got different options depending on the scale of your usage intention of their API.<\/p><p><b>Source of API:<\/b> <a href=\"https:\/\/www.thecocktaildb.com\" target=\"_blank\" rel=\"noopener\">TheCocktailDB<\/a><\/p><p>If you need a refresher on user defined functions lesson in Python here is a link to our <a href=\"https:\/\/holypython.com\/beginner-python-lessons\/lesson-16-defining-functions\/\">Defining Functions Lesson<\/a>.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The Cocktail Database TheCocktailDB has a very impressive cocktail selection you can use for fun or commercial purposes. They offer abundance of information regarding different types of cocktails and you can filter cocktails based on, ingredient, name, type, glass type, alcoholic vs non-alcoholic, etc. Their cocktail photos are also a delight to the eye. With [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":5265,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[39],"tags":[],"class_list":["post-5252","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-api"],"acf":[],"_links":{"self":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/posts\/5252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/comments?post=5252"}],"version-history":[{"count":0,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/posts\/5252\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/media\/5265"}],"wp:attachment":[{"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/media?parent=5252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/categories?post=5252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/holypython.com\/wp-json\/wp\/v2\/tags?post=5252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}