SDK playground
Snippets for your sandbox context. All playground tools
from foodapi import FoodAPI
client = FoodAPI(
api_key="foodapi_sb_your_sandbox_key",
base_url="https://api.foodapi.dev",
)
result = client.ingredients.normalize("2 lbs ground beef")
print(result.canonical_name, result.ingredient_id, result.confidence)