Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Spoonacular Recipe API

deprecated_spoonacular_recipe_api.livemd

Spoonacular Recipe API

Mix.install([
  {:jason, "~> 1.4"},
  {:kino, "~> 0.9", override: true},
  {:youtube, github: "brooklinjazz/youtube"},
  {:hidden_cell, github: "brooklinjazz/hidden_cell"},
  {:finch, "~> 0.16.0"}
])

Navigation

Home Report An Issue APIsPokemon API

Spoonacular Recipe API

Spoonacular is a popular food API.

Create a free Spoonacular to get your API key. You can view your API key in the Spoonacular Console.

Browser Request

Use your API to visit the https://api.spoonacular.com/recipes/complexSearch?apiKey=API_KEY URL where API_KEY should be your API key from the console.

HTTPoison Request

Use HTTPoison to retrieve the same JSON data from the https://api.spoonacular.com/recipes/complexSearch?apiKey=API_KEY URL you visited in the browser. Then use Poison to decode the JSON response into an Elixir data structure.

Commit Your Progress

DockYard Academy now recommends you use the latest Release rather than forking or cloning our repository.

Run git status to ensure there are no undesirable changes. Then run the following in your command line from the curriculum folder to commit your progress.

$ git add .
$ git commit -m "finish Spoonacular Recipe API exercise"
$ git push

We’re proud to offer our open-source curriculum free of charge for anyone to learn from at their own pace.

We also offer a paid course where you can learn from an instructor alongside a cohort of your peers. We will accept applications for the June-August 2023 cohort soon.

Navigation

Home Report An Issue APIsPokemon API