[Plugin Update] Recipe Food API V2.1

Hello community! :wave:

Recipe API is UPDATED!

3 New API calls added

Search Recipes by Nutrients

Find a set of recipes that adhere to the given nutritional limits. You may set limits for macronutrients (calories, protein, fat, and carbohydrate) and/or many micronutrients.

Get Recipe Taste by ID

Get a recipe’s taste. The tastes supported are sweet, salty, sour, bitter, savory, and fatty.

Compute Ingredient Amount

Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein?

Visualize Element Added

With this element and relevant actions, you can show your own recipe’s or a ready-made recipe’s ingredients, equipment, nutrients, price breakdown and taste status.

Plugin Page

Preview Page

Editor

Documentation

:clinking_glasses:
Eren @kod-suz

2 Likes

Hi @eren, I was discussing some things with @Efe about your Wonderful Image Slider plugin on other thread and in one of his visual examples I saw the Spoonacular logo.

I was just going to start working on the implementation of the Spoonacular API so I searched for it in the bubble plugins and found out that you have already built it!

So I just subscribed to it to try it for my app, but i am having trouble learning how to use it.

What I want my users to be able to do is the following:

Search foods by the food’s name (ex: chicken breast, brown rice, etc) and get a list of results with the name and image of each result.

How can I do that using this plugin?

Thanks in advance!

Ok, so I think I figured it out.

For anybody else trying to to this, creating this repeating group worked for me:

reslult

Now, the problem is that my app is finding an error when trying to load the images:

This is what I have as dynamic image input:

reslult

Any help to fix this images issue would be much appreciated! Thanks

It seems like the image URLs are broken, but that would be an error of the Spoonacular database. I changed the api call to “Search for all foods” and there the images are loading properly.

There is one issue when using GET ingredient information.

Please see below “Nutrition” in the Spoonacular docs.

However, the “Nutrition” field is not showing in the plugin.

This is important because it contains crucial information of the food, like calories.

Hi! @pachocastillosr Thank you for reaching us.
I found the problem on api call and fixed it. It should give nutrition data right now.

Thank you so much for your feedback :star_struck:

Please don’t hesitate to reach us for further questions or any problems.

Have a safe and healthy day.

Hi! It is still not showing Nutrition for me.

I think you might have forgot to deploy the new version of the plugin because Bubble did not says that there is a new version for updating it.

Thanks!

Hey @pachocastillosr

We deployed new version of plugin and there is no issue on my side.

Please can you refresh your editor and check the plugin version? It should be 2.2.0 right now.

If your problem persists, please don’t hesitate to reach me.

Best

Thanks! 2.2.0 appeared