Questions tagged [spoonacular]

For questions regarding the Spoonacular API. This food and nutrition database includes menu items from restaurant chains, packaged foods, raw ingredients, and recipes.

17 questions
-1
votes
1 answer

Flutter error: 'NoSuchMethodError. The Method [] was called on null'

Im currently designing a 'whats in my fridge' style application for college. The first page Ive started on is the recipes page. I wish for it to retrieve the recipes from this API (Spoonacular.com) and simply display them on the recipe page. Im…
Maisie Brooke
  • 123
  • 1
  • 10
-1
votes
1 answer

Error: "Expected to decode Dictionary but found an array instead." — but I haven't defined a dictionary?

I'm working on a creative project, and I'm trying to decode content from an API database using Swift's JSONDecoder() function. I've built my structs, a getData() function, and I've set up a do-try-catch for the JSONDecoder() function. I'm having…
cassilly
  • 29
  • 4
1
2