{"id":3050,"date":"2025-10-10T14:51:16","date_gmt":"2025-10-10T14:51:16","guid":{"rendered":"https:\/\/garyhengeveld.com\/wordpress\/?p=3050"},"modified":"2026-03-23T19:32:16","modified_gmt":"2026-03-23T19:32:16","slug":"spoon","status":"publish","type":"post","link":"https:\/\/garyhengeveld.com\/wordpress\/spoon\/","title":{"rendered":"Spoon"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <title>Healthy High-Protein Recipes<\/title>\n  <style>\n    body {\n      font-family: Arial, sans-serif;\n      background: #eef2f3;\n      padding: 20px;\n    }\n    h1 {\n      color: #2c3e50;\n    }\n    .recipe {\n      background: #fff;\n      padding: 15px;\n      margin: 10px 0;\n      border-radius: 8px;\n      box-shadow: 0 2px 5px rgba(0,0,0,0.1);\n    }\n    .recipe img {\n      max-width: 100%;\n      border-radius: 5px;\n    }\n    .recipe a {\n      color: #2980b9;\n      text-decoration: none;\n    }\n  <\/style>\n<\/head>\n<body>\n  <h1>Healthy High-Protein Recipes<\/h1>\n  <p>These recipes are high in protein, low in carbs, sugar, and artificial sweeteners.<\/p>\n  <div id=\"recipes\">Loading recipes&#8230;<\/div>\n\n  <script>\n    const apiKey = 'd2fab6f849a04c7186104417bfb602c6'; \/\/ Replace with your actual API key\n\n    async function fetchRecipes() {\n      const url = `https:\/\/api.spoonacular.com\/recipes\/complexSearch?apiKey=${apiKey}&number=5&minProtein=20&maxCarbs=15&maxSugar=5&addRecipeInformation=true&sort=random`;\n\n      try {\n        const response = await fetch(url);\n        const data = await response.json();\n        const container = document.getElementById('recipes');\n        container.innerHTML = '';\n\n        data.results.forEach(recipe => {\n          const div = document.createElement('div');\n          div.className = 'recipe';\n          div.innerHTML = `\n            <h3>${recipe.title}<\/h3>\n            <img decoding=\"async\" src=\"${recipe.image}\" alt=\"${recipe.title}\">\n            <p><a href=\"${recipe.sourceUrl}\" target=\"_blank\">View Full Recipe<\/a><\/p>\n          `;\n          container.appendChild(div);\n        });\n      } catch (error) {\n        document.getElementById('recipes').innerHTML = 'Failed to load recipes. Please try again later.';\n        console.error('Error fetching recipes:', error);\n      }\n    }\n\n    fetchRecipes();\n  <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>Healthy High-Protein Recipes Healthy High-Protein Recipes These recipes are high in protein, low in carbs, sugar, and artificial sweeteners. Loading recipes&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3349,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-3050","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-food"],"_links":{"self":[{"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/posts\/3050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/comments?post=3050"}],"version-history":[{"count":3,"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/posts\/3050\/revisions"}],"predecessor-version":[{"id":3186,"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/posts\/3050\/revisions\/3186"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/media\/3349"}],"wp:attachment":[{"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/media?parent=3050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/categories?post=3050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/garyhengeveld.com\/wordpress\/wp-json\/wp\/v2\/tags?post=3050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}