Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type AnalyzeRecipeInstructionsOpts
- type AutocompleteIngredientSearchOpts
- type AutocompleteMenuItemSearchOpts
- type AutocompleteProductSearchOpts
- type AutocompleteRecipeSearchOpts
- type BasicAuth
- type ClassifyCuisineOpts
- type ClassifyGroceryProductBulkOpts
- type ClassifyGroceryProductOpts
- type ComputeGlycemicLoadOpts
- type ComputeIngredientAmountOpts
- type Configuration
- type CreateRecipeCardOpts
- type DetectFoodInTextOpts
- type ExtractRecipeFromWebsiteOpts
- type FoodIngredientsMapProducts
- type GenerateMealPlanOpts
- type GenericOpenAPIError
- type GetAnalyzedRecipeInstructionsOpts
- type GetConversationSuggestsOpts
- type GetIngredientInformationOpts
- type GetRandomRecipesOpts
- type GetRecipeInformationBulkOpts
- type GetRecipeInformationOpts
- type GetRecipeTasteByIDOpts
- type GetSimilarRecipesOpts
- type GetWinePairingOpts
- type GetWineRecommendationOpts
- type IngredientSearchOpts
- type IngredientsApiService
- func (a *IngredientsApiService) AutocompleteIngredientSearch(ctx context.Context, localVarOptionals *AutocompleteIngredientSearchOpts) ([]InlineResponse20024, *http.Response, error)
- func (a *IngredientsApiService) ComputeIngredientAmount(ctx context.Context, id float32, nutrient string, target float32, ...) (RecipesParseIngredientsNutritionWeightPerServing, *http.Response, error)
- func (a *IngredientsApiService) GetIngredientInformation(ctx context.Context, id int32, localVarOptionals *GetIngredientInformationOpts) (InlineResponse20022, *http.Response, error)
- func (a *IngredientsApiService) GetIngredientSubstitutes(ctx context.Context, ingredientName string) (InlineResponse20026, *http.Response, error)
- func (a *IngredientsApiService) GetIngredientSubstitutesByID(ctx context.Context, id int32) (InlineResponse20026, *http.Response, error)
- func (a *IngredientsApiService) IngredientSearch(ctx context.Context, localVarOptionals *IngredientSearchOpts) (InlineResponse20025, *http.Response, error)
- func (a *IngredientsApiService) IngredientsByIDImage(ctx context.Context, id float32, localVarOptionals *IngredientsByIDImageOpts) (map[string]interface{}, *http.Response, error)
- func (a *IngredientsApiService) MapIngredientsToGroceryProducts(ctx context.Context, inlineObject2 InlineObject2) ([]InlineResponse20034, *http.Response, error)
- func (a *IngredientsApiService) VisualizeIngredients(ctx context.Context, localVarOptionals *VisualizeIngredientsOpts) (string, *http.Response, error)
- type IngredientsByIDImageOpts
- type InlineObject
- type InlineObject1
- type InlineObject10
- type InlineObject2
- type InlineObject3
- type InlineObject4
- type InlineObject5
- type InlineObject6
- type InlineObject7
- type InlineObject8
- type InlineObject9
- type InlineResponse200
- type InlineResponse2001
- type InlineResponse20010
- type InlineResponse20010Amount
- type InlineResponse20010AmountMetric
- type InlineResponse20010Ingredients
- type InlineResponse20011
- type InlineResponse20011Ingredients
- type InlineResponse20012
- type InlineResponse20013
- type InlineResponse20013Ingredients
- type InlineResponse20013Ingredients1
- type InlineResponse20013ParsedInstructions
- type InlineResponse20013Steps
- type InlineResponse20014
- type InlineResponse20015
- type InlineResponse20016
- type InlineResponse20017
- type InlineResponse20018
- type InlineResponse20018Dishes
- type InlineResponse20018Ingredients
- type InlineResponse20019
- type InlineResponse2002
- type InlineResponse20020
- type InlineResponse20021
- type InlineResponse20021Calories
- type InlineResponse20021CaloriesConfidenceRange95Percent
- type InlineResponse20022
- type InlineResponse20022Nutrition
- type InlineResponse20023
- type InlineResponse20023Ingredients
- type InlineResponse20024
- type InlineResponse20025
- type InlineResponse20025Results
- type InlineResponse20026
- type InlineResponse20027
- type InlineResponse20028
- type InlineResponse20028Ingredients
- type InlineResponse20028Nutrition
- type InlineResponse20028Servings
- type InlineResponse20029
- type InlineResponse20029CustomFoods
- type InlineResponse2003
- type InlineResponse20030
- type InlineResponse20030Ingredients
- type InlineResponse20031
- type InlineResponse20031ComparableProducts
- type InlineResponse20031ComparableProductsProtein
- type InlineResponse20032
- type InlineResponse20032Results
- type InlineResponse20033
- type InlineResponse20034
- type InlineResponse20035
- type InlineResponse20035MenuItems
- type InlineResponse20036
- type InlineResponse20037
- type InlineResponse20037Nutrients
- type InlineResponse20038
- type InlineResponse20038Days
- type InlineResponse20038Items
- type InlineResponse20038NutritionSummary
- type InlineResponse20038NutritionSummaryNutrients
- type InlineResponse20038Value
- type InlineResponse20039
- type InlineResponse2003ExtendedIngredients
- type InlineResponse2003Measures
- type InlineResponse2003MeasuresMetric
- type InlineResponse2003WinePairing
- type InlineResponse2003WinePairingProductMatches
- type InlineResponse2004
- type InlineResponse20040
- type InlineResponse20040Items
- type InlineResponse20040Value
- type InlineResponse20041
- type InlineResponse20041Days
- type InlineResponse20041Items
- type InlineResponse20041Value
- type InlineResponse20042
- type InlineResponse20042Aisles
- type InlineResponse20042Items
- type InlineResponse20042Measures
- type InlineResponse20043
- type InlineResponse20044
- type InlineResponse20045
- type InlineResponse20045ProductMatches
- type InlineResponse20046
- type InlineResponse20047
- type InlineResponse20047RecommendedWines
- type InlineResponse20048
- type InlineResponse20049
- type InlineResponse20049Category
- type InlineResponse20049Nutrition
- type InlineResponse20049NutritionCalories
- type InlineResponse20049NutritionCaloriesConfidenceRange95Percent
- type InlineResponse20049Recipes
- type InlineResponse2005
- type InlineResponse20050
- type InlineResponse20051
- type InlineResponse20052
- type InlineResponse20053
- type InlineResponse20053Results
- type InlineResponse20053SearchResults
- type InlineResponse20054
- type InlineResponse20054Videos
- type InlineResponse20055
- type InlineResponse20056
- type InlineResponse20057
- type InlineResponse20057Suggests
- type InlineResponse2006
- type InlineResponse2006Recipes
- type InlineResponse2007
- type InlineResponse2008
- type InlineResponse2009
- type InlineResponse200Results
- type MealPlanningApiService
- func (a *MealPlanningApiService) AddMealPlanTemplate(ctx context.Context, username string, hash string, inlineObject6 InlineObject6) (InlineResponse20040, *http.Response, error)
- func (a *MealPlanningApiService) AddToMealPlan(ctx context.Context, username string, hash string, inlineObject4 InlineObject4) (map[string]interface{}, *http.Response, error)
- func (a *MealPlanningApiService) AddToShoppingList(ctx context.Context, username string, hash string, inlineObject9 InlineObject9) (InlineResponse20042, *http.Response, error)
- func (a *MealPlanningApiService) ClearMealPlanDay(ctx context.Context, username string, date string, hash string, ...) (map[string]interface{}, *http.Response, error)
- func (a *MealPlanningApiService) ConnectUser(ctx context.Context, body map[string]interface{}) (InlineResponse20043, *http.Response, error)
- func (a *MealPlanningApiService) DeleteFromMealPlan(ctx context.Context, username string, id float32, hash string, ...) (map[string]interface{}, *http.Response, error)
- func (a *MealPlanningApiService) DeleteFromShoppingList(ctx context.Context, username string, id int32, hash string, ...) (map[string]interface{}, *http.Response, error)
- func (a *MealPlanningApiService) DeleteMealPlanTemplate(ctx context.Context, username string, id int32, hash string, ...) (map[string]interface{}, *http.Response, error)
- func (a *MealPlanningApiService) GenerateMealPlan(ctx context.Context, localVarOptionals *GenerateMealPlanOpts) (InlineResponse20037, *http.Response, error)
- func (a *MealPlanningApiService) GenerateShoppingList(ctx context.Context, username string, startDate string, endDate string, ...) (InlineResponse20042, *http.Response, error)
- func (a *MealPlanningApiService) GetMealPlanTemplate(ctx context.Context, username string, id int32, hash string) (InlineResponse20041, *http.Response, error)
- func (a *MealPlanningApiService) GetMealPlanTemplates(ctx context.Context, username string, hash string) (InlineResponse20039, *http.Response, error)
- func (a *MealPlanningApiService) GetMealPlanWeek(ctx context.Context, username string, startDate string, hash string) (InlineResponse20038, *http.Response, error)
- func (a *MealPlanningApiService) GetShoppingList(ctx context.Context, username string, hash string) (InlineResponse20042, *http.Response, error)
- type MenuItemNutritionLabelImageOpts
- type MenuItemNutritionLabelWidgetOpts
- type MenuItemsApiService
- func (a *MenuItemsApiService) AutocompleteMenuItemSearch(ctx context.Context, query string, ...) (InlineResponse20032, *http.Response, error)
- func (a *MenuItemsApiService) GetMenuItemInformation(ctx context.Context, id int32) (InlineResponse20036, *http.Response, error)
- func (a *MenuItemsApiService) MenuItemNutritionByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
- func (a *MenuItemsApiService) MenuItemNutritionLabelImage(ctx context.Context, id float32, ...) (map[string]interface{}, *http.Response, error)
- func (a *MenuItemsApiService) MenuItemNutritionLabelWidget(ctx context.Context, id float32, ...) (string, *http.Response, error)
- func (a *MenuItemsApiService) SearchMenuItems(ctx context.Context, localVarOptionals *SearchMenuItemsOpts) (InlineResponse20035, *http.Response, error)
- func (a *MenuItemsApiService) VisualizeMenuItemNutritionByID(ctx context.Context, id int32, ...) (string, *http.Response, error)
- type MiscApiService
- func (a *MiscApiService) DetectFoodInText(ctx context.Context, localVarOptionals *DetectFoodInTextOpts) (InlineResponse20051, *http.Response, error)
- func (a *MiscApiService) GetARandomFoodJoke(ctx context.Context) (InlineResponse20055, *http.Response, error)
- func (a *MiscApiService) GetConversationSuggests(ctx context.Context, query string, ...) (InlineResponse20057, *http.Response, error)
- func (a *MiscApiService) GetRandomFoodTrivia(ctx context.Context) (InlineResponse20055, *http.Response, error)
- func (a *MiscApiService) ImageAnalysisByURL(ctx context.Context, imageUrl string) (InlineResponse20049, *http.Response, error)
- func (a *MiscApiService) ImageClassificationByURL(ctx context.Context, imageUrl string) (InlineResponse20048, *http.Response, error)
- func (a *MiscApiService) SearchAllFood(ctx context.Context, query string, localVarOptionals *SearchAllFoodOpts) (InlineResponse20053, *http.Response, error)
- func (a *MiscApiService) SearchCustomFoods(ctx context.Context, username string, hash string, ...) (InlineResponse20029, *http.Response, error)
- func (a *MiscApiService) SearchFoodVideos(ctx context.Context, localVarOptionals *SearchFoodVideosOpts) (InlineResponse20054, *http.Response, error)
- func (a *MiscApiService) SearchSiteContent(ctx context.Context, query string) (InlineResponse20052, *http.Response, error)
- func (a *MiscApiService) TalkToChatbot(ctx context.Context, text string, localVarOptionals *TalkToChatbotOpts) (InlineResponse20056, *http.Response, error)
- type ParseIngredientsOpts
- type ProductNutritionLabelImageOpts
- type ProductNutritionLabelWidgetOpts
- type ProductsApiService
- func (a *ProductsApiService) AutocompleteProductSearch(ctx context.Context, query string, ...) (InlineResponse20032, *http.Response, error)
- func (a *ProductsApiService) ClassifyGroceryProduct(ctx context.Context, inlineObject1 InlineObject1, ...) (InlineResponse20033, *http.Response, error)
- func (a *ProductsApiService) ClassifyGroceryProductBulk(ctx context.Context, inlineObject []InlineObject, ...) ([]InlineResponse20033, *http.Response, error)
- func (a *ProductsApiService) GetComparableProducts(ctx context.Context, upc float32) (InlineResponse20031, *http.Response, error)
- func (a *ProductsApiService) GetProductInformation(ctx context.Context, id int32) (InlineResponse20030, *http.Response, error)
- func (a *ProductsApiService) ProductNutritionByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
- func (a *ProductsApiService) ProductNutritionLabelImage(ctx context.Context, id float32, ...) (map[string]interface{}, *http.Response, error)
- func (a *ProductsApiService) ProductNutritionLabelWidget(ctx context.Context, id float32, ...) (string, *http.Response, error)
- func (a *ProductsApiService) SearchGroceryProducts(ctx context.Context, localVarOptionals *SearchGroceryProductsOpts) (InlineResponse20027, *http.Response, error)
- func (a *ProductsApiService) SearchGroceryProductsByUPC(ctx context.Context, upc float32) (InlineResponse20028, *http.Response, error)
- func (a *ProductsApiService) VisualizeProductNutritionByID(ctx context.Context, id int32, ...) (string, *http.Response, error)
- type RecipeNutritionLabelImageOpts
- type RecipeNutritionLabelWidgetOpts
- type RecipeTasteByIDImageOpts
- type RecipesApiService
- func (a *RecipesApiService) AnalyzeARecipeSearchQuery(ctx context.Context, q string) (InlineResponse20018, *http.Response, error)
- func (a *RecipesApiService) AnalyzeRecipeInstructions(ctx context.Context, localVarOptionals *AnalyzeRecipeInstructionsOpts) (InlineResponse20016, *http.Response, error)
- func (a *RecipesApiService) AutocompleteRecipeSearch(ctx context.Context, localVarOptionals *AutocompleteRecipeSearchOpts) ([]InlineResponse2007, *http.Response, error)
- func (a *RecipesApiService) ClassifyCuisine(ctx context.Context, localVarOptionals *ClassifyCuisineOpts) (InlineResponse20017, *http.Response, error)
- func (a *RecipesApiService) ComputeGlycemicLoad(ctx context.Context, inlineObject InlineObject, ...) (InlineResponse20023, *http.Response, error)
- func (a *RecipesApiService) ConvertAmounts(ctx context.Context, ingredientName string, sourceAmount float32, ...) (InlineResponse20019, *http.Response, error)
- func (a *RecipesApiService) CreateRecipeCard(ctx context.Context, localVarOptionals *CreateRecipeCardOpts) (InlineResponse20015, *http.Response, error)
- func (a *RecipesApiService) EquipmentByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
- func (a *RecipesApiService) ExtractRecipeFromWebsite(ctx context.Context, url string, ...) (InlineResponse2003, *http.Response, error)
- func (a *RecipesApiService) GetAnalyzedRecipeInstructions(ctx context.Context, id int32, ...) (InlineResponse20013, *http.Response, error)
- func (a *RecipesApiService) GetRandomRecipes(ctx context.Context, localVarOptionals *GetRandomRecipesOpts) (InlineResponse2006, *http.Response, error)
- func (a *RecipesApiService) GetRecipeEquipmentByID(ctx context.Context, id int32) (InlineResponse2009, *http.Response, error)
- func (a *RecipesApiService) GetRecipeInformation(ctx context.Context, id int32, localVarOptionals *GetRecipeInformationOpts) (InlineResponse2003, *http.Response, error)
- func (a *RecipesApiService) GetRecipeInformationBulk(ctx context.Context, ids string, ...) ([]InlineResponse2004, *http.Response, error)
- func (a *RecipesApiService) GetRecipeIngredientsByID(ctx context.Context, id int32) (InlineResponse20011, *http.Response, error)
- func (a *RecipesApiService) GetRecipeNutritionWidgetByID(ctx context.Context, id int32) (InlineResponse20012, *http.Response, error)
- func (a *RecipesApiService) GetRecipePriceBreakdownByID(ctx context.Context, id int32) (InlineResponse20010, *http.Response, error)
- func (a *RecipesApiService) GetRecipeTasteByID(ctx context.Context, id int32, localVarOptionals *GetRecipeTasteByIDOpts) (InlineResponse2008, *http.Response, error)
- func (a *RecipesApiService) GetSimilarRecipes(ctx context.Context, id int32, localVarOptionals *GetSimilarRecipesOpts) ([]InlineResponse2005, *http.Response, error)
- func (a *RecipesApiService) GuessNutritionByDishName(ctx context.Context, title string) (InlineResponse20021, *http.Response, error)
- func (a *RecipesApiService) IngredientsByIDImage(ctx context.Context, id float32, localVarOptionals *IngredientsByIDImageOpts) (map[string]interface{}, *http.Response, error)
- func (a *RecipesApiService) ParseIngredients(ctx context.Context, localVarOptionals *ParseIngredientsOpts) ([]InlineResponse20020, *http.Response, error)
- func (a *RecipesApiService) PriceBreakdownByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
- func (a *RecipesApiService) QuickAnswer(ctx context.Context, q string) (InlineResponse20050, *http.Response, error)
- func (a *RecipesApiService) RecipeNutritionByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
- func (a *RecipesApiService) RecipeNutritionLabelImage(ctx context.Context, id float32, ...) (map[string]interface{}, *http.Response, error)
- func (a *RecipesApiService) RecipeNutritionLabelWidget(ctx context.Context, id float32, ...) (string, *http.Response, error)
- func (a *RecipesApiService) RecipeTasteByIDImage(ctx context.Context, id float32, localVarOptionals *RecipeTasteByIDImageOpts) (map[string]interface{}, *http.Response, error)
- func (a *RecipesApiService) SearchRecipes(ctx context.Context, localVarOptionals *SearchRecipesOpts) (InlineResponse200, *http.Response, error)
- func (a *RecipesApiService) SearchRecipesByIngredients(ctx context.Context, localVarOptionals *SearchRecipesByIngredientsOpts) ([]InlineResponse2001, *http.Response, error)
- func (a *RecipesApiService) SearchRecipesByNutrients(ctx context.Context, localVarOptionals *SearchRecipesByNutrientsOpts) ([]InlineResponse2002, *http.Response, error)
- func (a *RecipesApiService) SummarizeRecipe(ctx context.Context, id int32) (InlineResponse20014, *http.Response, error)
- func (a *RecipesApiService) VisualizeEquipment(ctx context.Context, localVarOptionals *VisualizeEquipmentOpts) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizePriceBreakdown(ctx context.Context, localVarOptionals *VisualizePriceBreakdownOpts) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizeRecipeEquipmentByID(ctx context.Context, id int32, ...) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizeRecipeIngredientsByID(ctx context.Context, id int32, ...) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizeRecipeNutrition(ctx context.Context, localVarOptionals *VisualizeRecipeNutritionOpts) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizeRecipeNutritionByID(ctx context.Context, id int32, ...) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizeRecipePriceBreakdownByID(ctx context.Context, id int32, ...) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizeRecipeTaste(ctx context.Context, localVarOptionals *VisualizeRecipeTasteOpts) (string, *http.Response, error)
- func (a *RecipesApiService) VisualizeRecipeTasteByID(ctx context.Context, id int32, localVarOptionals *VisualizeRecipeTasteByIDOpts) (string, *http.Response, error)
- type RecipesFindByIngredientsMissedIngredients
- type RecipesParseIngredientsEstimatedCost
- type RecipesParseIngredientsNutrition
- type RecipesParseIngredientsNutritionCaloricBreakdown
- type RecipesParseIngredientsNutritionNutrients
- type RecipesParseIngredientsNutritionProperties
- type RecipesParseIngredientsNutritionWeightPerServing
- type SearchAllFoodOpts
- type SearchCustomFoodsOpts
- type SearchFoodVideosOpts
- type SearchGroceryProductsOpts
- type SearchMenuItemsOpts
- type SearchRecipesByIngredientsOpts
- type SearchRecipesByNutrientsOpts
- type SearchRecipesOpts
- type TalkToChatbotOpts
- type VisualizeEquipmentOpts
- type VisualizeIngredientsOpts
- type VisualizeMenuItemNutritionByIDOpts
- type VisualizePriceBreakdownOpts
- type VisualizeProductNutritionByIDOpts
- type VisualizeRecipeEquipmentByIDOpts
- type VisualizeRecipeIngredientsByIDOpts
- type VisualizeRecipeNutritionByIDOpts
- type VisualizeRecipeNutritionOpts
- type VisualizeRecipePriceBreakdownByIDOpts
- type VisualizeRecipeTasteByIDOpts
- type VisualizeRecipeTasteOpts
- type WineApiService
- func (a *WineApiService) GetDishPairingForWine(ctx context.Context, wine string) (InlineResponse20044, *http.Response, error)
- func (a *WineApiService) GetWineDescription(ctx context.Context, wine string) (InlineResponse20046, *http.Response, error)
- func (a *WineApiService) GetWinePairing(ctx context.Context, food string, localVarOptionals *GetWinePairingOpts) (InlineResponse20045, *http.Response, error)
- func (a *WineApiService) GetWineRecommendation(ctx context.Context, wine string, localVarOptionals *GetWineRecommendationOpts) (InlineResponse20047, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { IngredientsApi *IngredientsApiService MealPlanningApi *MealPlanningApiService MenuItemsApi *MenuItemsApiService MiscApi *MiscApiService ProductsApi *ProductsApiService RecipesApi *RecipesApiService WineApi *WineApiService // contains filtered or unexported fields }
APIClient manages communication with the spoonacular API API v1.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type ClassifyCuisineOpts ¶
type ComputeGlycemicLoadOpts ¶
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type CreateRecipeCardOpts ¶
type DetectFoodInTextOpts ¶
type GenerateMealPlanOpts ¶
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type GetRandomRecipesOpts ¶
type GetRecipeTasteByIDOpts ¶
type GetSimilarRecipesOpts ¶
type GetWinePairingOpts ¶
type IngredientSearchOpts ¶
type IngredientSearchOpts struct { Query optional.String AddChildren optional.Bool MinProteinPercent optional.Float32 MaxProteinPercent optional.Float32 MinFatPercent optional.Float32 MaxFatPercent optional.Float32 MinCarbsPercent optional.Float32 MaxCarbsPercent optional.Float32 MetaInformation optional.Bool Intolerances optional.String Sort optional.String SortDirection optional.String Offset optional.Int32 Number optional.Int32 }
type IngredientsApiService ¶
type IngredientsApiService service
func (*IngredientsApiService) AutocompleteIngredientSearch ¶
func (a *IngredientsApiService) AutocompleteIngredientSearch(ctx context.Context, localVarOptionals *AutocompleteIngredientSearchOpts) ([]InlineResponse20024, *http.Response, error)
func (*IngredientsApiService) ComputeIngredientAmount ¶
func (a *IngredientsApiService) ComputeIngredientAmount(ctx context.Context, id float32, nutrient string, target float32, localVarOptionals *ComputeIngredientAmountOpts) (RecipesParseIngredientsNutritionWeightPerServing, *http.Response, error)
func (*IngredientsApiService) GetIngredientInformation ¶
func (a *IngredientsApiService) GetIngredientInformation(ctx context.Context, id int32, localVarOptionals *GetIngredientInformationOpts) (InlineResponse20022, *http.Response, error)
func (*IngredientsApiService) GetIngredientSubstitutes ¶
func (a *IngredientsApiService) GetIngredientSubstitutes(ctx context.Context, ingredientName string) (InlineResponse20026, *http.Response, error)
IngredientsApiService Get Ingredient Substitutes Search for substitutes for a given ingredient.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param ingredientName The name of the ingredient you want to replace.
@return InlineResponse20026
func (*IngredientsApiService) GetIngredientSubstitutesByID ¶
func (a *IngredientsApiService) GetIngredientSubstitutesByID(ctx context.Context, id int32) (InlineResponse20026, *http.Response, error)
IngredientsApiService Get Ingredient Substitutes by ID Search for substitutes for a given ingredient.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse20026
func (*IngredientsApiService) IngredientSearch ¶
func (a *IngredientsApiService) IngredientSearch(ctx context.Context, localVarOptionals *IngredientSearchOpts) (InlineResponse20025, *http.Response, error)
func (*IngredientsApiService) IngredientsByIDImage ¶
func (*IngredientsApiService) MapIngredientsToGroceryProducts ¶
func (a *IngredientsApiService) MapIngredientsToGroceryProducts(ctx context.Context, inlineObject2 InlineObject2) ([]InlineResponse20034, *http.Response, error)
IngredientsApiService Map Ingredients to Grocery Products Map a set of ingredients to products you can buy in the grocery store.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param inlineObject2
@return []InlineResponse20034
func (*IngredientsApiService) VisualizeIngredients ¶
func (a *IngredientsApiService) VisualizeIngredients(ctx context.Context, localVarOptionals *VisualizeIngredientsOpts) (string, *http.Response, error)
type InlineObject ¶
type InlineObject1 ¶
type InlineObject10 ¶
type InlineObject2 ¶
type InlineObject3 ¶
type InlineObject4 ¶
type InlineObject5 ¶
type InlineObject6 ¶
type InlineObject7 ¶
type InlineObject8 ¶
type InlineObject8 struct { // The username. Username string `json:"username"` // The start date in the format yyyy-mm-dd. StartDate string `json:"start-date"` // The end date in the format yyyy-mm-dd. EndDate string `json:"end-date"` // The private hash for the username. Hash string `json:"hash"` }
type InlineObject9 ¶
type InlineResponse200 ¶
type InlineResponse200 struct { Offset int32 `json:"offset"` Number int32 `json:"number"` Results []InlineResponse200Results `json:"results"` TotalResults int32 `json:"totalResults"` }
type InlineResponse2001 ¶
type InlineResponse2001 struct { Id int32 `json:"id"` Image string `json:"image"` ImageType string `json:"imageType"` Likes int32 `json:"likes"` MissedIngredientCount int32 `json:"missedIngredientCount"` MissedIngredients []RecipesFindByIngredientsMissedIngredients `json:"missedIngredients"` Title string `json:"title"` UnusedIngredients []map[string]interface{} `json:"unusedIngredients"` UsedIngredientCount float32 `json:"usedIngredientCount"` UsedIngredients []RecipesFindByIngredientsMissedIngredients `json:"usedIngredients"` // contains filtered or unexported fields }
type InlineResponse20010 ¶
type InlineResponse20010 struct { Ingredients []InlineResponse20010Ingredients `json:"ingredients"` TotalCost float32 `json:"totalCost"` TotalCostPerServing float32 `json:"totalCostPerServing"` }
type InlineResponse20010Amount ¶
type InlineResponse20010Amount struct { Metric InlineResponse20010AmountMetric `json:"metric"` Us InlineResponse20010AmountMetric `json:"us"` }
type InlineResponse20010Ingredients ¶
type InlineResponse20010Ingredients struct { Amount InlineResponse20010Amount `json:"amount,omitempty"` Image string `json:"image"` Name string `json:"name"` Price float32 `json:"price"` }
type InlineResponse20011 ¶
type InlineResponse20011 struct {
Ingredients []InlineResponse20011Ingredients `json:"ingredients"`
}
type InlineResponse20011Ingredients ¶
type InlineResponse20011Ingredients struct { Amount InlineResponse20010Amount `json:"amount,omitempty"` Image string `json:"image"` Name string `json:"name"` }
type InlineResponse20012 ¶
type InlineResponse20013 ¶
type InlineResponse20013 struct { ParsedInstructions []InlineResponse20013ParsedInstructions `json:"parsedInstructions"` Ingredients []InlineResponse20013Ingredients1 `json:"ingredients"` Equipment []InlineResponse20013Ingredients1 `json:"equipment"` }
type InlineResponse20013ParsedInstructions ¶
type InlineResponse20013ParsedInstructions struct { Name string `json:"name"` Steps []InlineResponse20013Steps `json:"steps,omitempty"` }
type InlineResponse20013Steps ¶
type InlineResponse20013Steps struct { Number float32 `json:"number"` Step string `json:"step"` Ingredients []InlineResponse20013Ingredients `json:"ingredients,omitempty"` Equipment []InlineResponse20013Ingredients `json:"equipment,omitempty"` }
type InlineResponse20014 ¶
type InlineResponse20015 ¶
type InlineResponse20015 struct {
Url string `json:"url"`
}
type InlineResponse20016 ¶
type InlineResponse20017 ¶
type InlineResponse20018 ¶
type InlineResponse20018 struct { Dishes []InlineResponse20018Dishes `json:"dishes"` Ingredients []InlineResponse20018Ingredients `json:"ingredients"` Cuisines []string `json:"cuisines"` Modifiers []string `json:"modifiers"` }
type InlineResponse20019 ¶
type InlineResponse2002 ¶
type InlineResponse20020 ¶
type InlineResponse20020 struct { Id int32 `json:"id"` Original string `json:"original"` OriginalName string `json:"originalName"` Name string `json:"name"` NameClean string `json:"nameClean"` Amount float32 `json:"amount"` Unit string `json:"unit"` UnitShort string `json:"unitShort"` UnitLong string `json:"unitLong"` PossibleUnits []string `json:"possibleUnits"` EstimatedCost RecipesParseIngredientsEstimatedCost `json:"estimatedCost"` Consistency string `json:"consistency"` Aisle string `json:"aisle"` Image string `json:"image"` Meta []string `json:"meta"` Nutrition RecipesParseIngredientsNutrition `json:"nutrition"` }
type InlineResponse20021 ¶
type InlineResponse20021 struct { Calories InlineResponse20021Calories `json:"calories"` Carbs InlineResponse20021Calories `json:"carbs"` Fat InlineResponse20021Calories `json:"fat"` Protein InlineResponse20021Calories `json:"protein"` RecipesUsed int32 `json:"recipesUsed"` }
type InlineResponse20021Calories ¶
type InlineResponse20021Calories struct { ConfidenceRange95Percent InlineResponse20021CaloriesConfidenceRange95Percent `json:"confidenceRange95Percent"` StandardDeviation float32 `json:"standardDeviation"` Unit string `json:"unit"` Value float32 `json:"value"` }
type InlineResponse20022 ¶
type InlineResponse20022 struct { Id int32 `json:"id"` Original string `json:"original"` OriginalName string `json:"originalName"` Name string `json:"name"` NameClean string `json:"nameClean"` Amount float32 `json:"amount"` Unit string `json:"unit"` UnitShort string `json:"unitShort"` UnitLong string `json:"unitLong"` PossibleUnits []string `json:"possibleUnits"` EstimatedCost RecipesParseIngredientsEstimatedCost `json:"estimatedCost"` Consistency string `json:"consistency"` ShoppingListUnits []string `json:"shoppingListUnits"` Aisle string `json:"aisle"` Image string `json:"image"` Meta []map[string]interface{} `json:"meta"` Nutrition InlineResponse20022Nutrition `json:"nutrition"` CategoryPath []string `json:"categoryPath"` }
type InlineResponse20022Nutrition ¶
type InlineResponse20022Nutrition struct { Nutrients []RecipesParseIngredientsNutritionNutrients `json:"nutrients"` Properties []RecipesParseIngredientsNutritionProperties `json:"properties"` CaloricBreakdown RecipesParseIngredientsNutritionCaloricBreakdown `json:"caloricBreakdown"` WeightPerServing RecipesParseIngredientsNutritionWeightPerServing `json:"weightPerServing"` }
type InlineResponse20023 ¶
type InlineResponse20023 struct { TotalGlycemicLoad float32 `json:"totalGlycemicLoad"` Ingredients []InlineResponse20023Ingredients `json:"ingredients"` }
type InlineResponse20024 ¶
type InlineResponse20025 ¶
type InlineResponse20025 struct { Results []InlineResponse20025Results `json:"results"` Offset int32 `json:"offset"` Number int32 `json:"number"` TotalResults int32 `json:"totalResults"` }
type InlineResponse20026 ¶
type InlineResponse20027 ¶
type InlineResponse20027 struct { Products []InlineResponse2007 `json:"products"` TotalProducts int32 `json:"totalProducts"` Type string `json:"type"` Offset int32 `json:"offset"` Number int32 `json:"number"` }
type InlineResponse20028 ¶
type InlineResponse20028 struct { Id int32 `json:"id"` Title string `json:"title"` Badges []string `json:"badges"` ImportantBadges []string `json:"importantBadges"` Breadcrumbs []string `json:"breadcrumbs"` GeneratedText string `json:"generatedText"` ImageType string `json:"imageType"` IngredientCount int32 `json:"ingredientCount,omitempty"` IngredientList string `json:"ingredientList"` Ingredients []InlineResponse20028Ingredients `json:"ingredients"` Likes float32 `json:"likes"` Nutrition InlineResponse20028Nutrition `json:"nutrition"` Price float32 `json:"price"` Servings InlineResponse20028Servings `json:"servings"` SpoonacularScore float32 `json:"spoonacularScore"` }
type InlineResponse20028Nutrition ¶
type InlineResponse20028Nutrition struct { Nutrients []RecipesParseIngredientsNutritionNutrients `json:"nutrients"` CaloricBreakdown RecipesParseIngredientsNutritionCaloricBreakdown `json:"caloricBreakdown"` }
type InlineResponse20029 ¶
type InlineResponse20029 struct { CustomFoods []InlineResponse20029CustomFoods `json:"customFoods"` Type string `json:"type"` Offset int32 `json:"offset"` Number int32 `json:"number"` }
type InlineResponse2003 ¶
type InlineResponse2003 struct { Id int32 `json:"id"` Title string `json:"title"` Image string `json:"image"` ImageType string `json:"imageType"` Servings float32 `json:"servings"` ReadyInMinutes int32 `json:"readyInMinutes"` License string `json:"license"` SourceName string `json:"sourceName"` SourceUrl string `json:"sourceUrl"` SpoonacularSourceUrl string `json:"spoonacularSourceUrl"` AggregateLikes int32 `json:"aggregateLikes"` HealthScore float32 `json:"healthScore"` SpoonacularScore float32 `json:"spoonacularScore"` PricePerServing float32 `json:"pricePerServing"` AnalyzedInstructions []map[string]interface{} `json:"analyzedInstructions"` Cheap bool `json:"cheap"` CreditsText string `json:"creditsText"` Cuisines []string `json:"cuisines"` DairyFree bool `json:"dairyFree"` Diets []string `json:"diets"` Gaps string `json:"gaps"` GlutenFree bool `json:"glutenFree"` Instructions string `json:"instructions"` Ketogenic bool `json:"ketogenic"` LowFodmap bool `json:"lowFodmap"` Occasions []string `json:"occasions"` Sustainable bool `json:"sustainable"` Vegan bool `json:"vegan"` Vegetarian bool `json:"vegetarian"` VeryHealthy bool `json:"veryHealthy"` VeryPopular bool `json:"veryPopular"` Whole30 bool `json:"whole30"` WeightWatcherSmartPoints float32 `json:"weightWatcherSmartPoints"` DishTypes []string `json:"dishTypes"` ExtendedIngredients []InlineResponse2003ExtendedIngredients `json:"extendedIngredients"` Summary string `json:"summary"` WinePairing InlineResponse2003WinePairing `json:"winePairing"` }
type InlineResponse20030 ¶
type InlineResponse20030 struct { Id int32 `json:"id"` Title string `json:"title"` Breadcrumbs []string `json:"breadcrumbs"` ImageType string `json:"imageType"` Badges []string `json:"badges"` ImportantBadges []string `json:"importantBadges"` IngredientCount int32 `json:"ingredientCount"` GeneratedText map[string]interface{} `json:"generatedText,omitempty"` IngredientList string `json:"ingredientList"` Ingredients []InlineResponse20030Ingredients `json:"ingredients"` Likes float32 `json:"likes"` Aisle string `json:"aisle"` Nutrition InlineResponse20028Nutrition `json:"nutrition"` Price float32 `json:"price"` Servings InlineResponse20028Servings `json:"servings"` SpoonacularScore float32 `json:"spoonacularScore"` }
type InlineResponse20031 ¶
type InlineResponse20031 struct {
ComparableProducts InlineResponse20031ComparableProducts `json:"comparableProducts"`
}
type InlineResponse20031ComparableProducts ¶
type InlineResponse20031ComparableProducts struct { Calories []map[string]interface{} `json:"calories"` Likes []map[string]interface{} `json:"likes"` Price []map[string]interface{} `json:"price"` Protein []InlineResponse20031ComparableProductsProtein `json:"protein"` SpoonacularScore []InlineResponse20031ComparableProductsProtein `json:"spoonacularScore"` Sugar []map[string]interface{} `json:"sugar"` }
type InlineResponse20032 ¶
type InlineResponse20032 struct {
Results []InlineResponse20032Results `json:"results"`
}
type InlineResponse20033 ¶
type InlineResponse20034 ¶
type InlineResponse20034 struct { Original string `json:"original"` OriginalName string `json:"originalName"` IngredientImage string `json:"ingredientImage"` Meta []string `json:"meta"` Products []FoodIngredientsMapProducts `json:"products"` }
type InlineResponse20035 ¶
type InlineResponse20035 struct { MenuItems []InlineResponse20035MenuItems `json:"menuItems"` TotalMenuItems int32 `json:"totalMenuItems"` Type string `json:"type"` Offset int32 `json:"offset"` Number int32 `json:"number"` }
type InlineResponse20036 ¶
type InlineResponse20036 struct { Id int32 `json:"id"` Title string `json:"title"` RestaurantChain string `json:"restaurantChain"` Nutrition InlineResponse20028Nutrition `json:"nutrition"` Badges []string `json:"badges"` Breadcrumbs []string `json:"breadcrumbs"` GeneratedText string `json:"generatedText,omitempty"` ImageType string `json:"imageType"` Likes float32 `json:"likes"` Servings InlineResponse20028Servings `json:"servings"` Price float32 `json:"price,omitempty"` SpoonacularScore float32 `json:"spoonacularScore,omitempty"` }
type InlineResponse20037 ¶
type InlineResponse20037 struct { Meals []InlineResponse2005 `json:"meals"` Nutrients InlineResponse20037Nutrients `json:"nutrients"` }
type InlineResponse20038 ¶
type InlineResponse20038 struct {
Days []InlineResponse20038Days `json:"days"`
}
type InlineResponse20038Days ¶
type InlineResponse20038Days struct { NutritionSummary InlineResponse20038NutritionSummary `json:"nutritionSummary,omitempty"` NutritionSummaryBreakfast InlineResponse20038NutritionSummary `json:"nutritionSummaryBreakfast,omitempty"` NutritionSummaryLunch InlineResponse20038NutritionSummary `json:"nutritionSummaryLunch,omitempty"` NutritionSummaryDinner InlineResponse20038NutritionSummary `json:"nutritionSummaryDinner,omitempty"` Date float32 `json:"date"` Day string `json:"day"` Items []InlineResponse20038Items `json:"items,omitempty"` }
type InlineResponse20038Items ¶
type InlineResponse20038Items struct { Id int32 `json:"id"` Slot int32 `json:"slot"` Position int32 `json:"position"` Type string `json:"type"` Value InlineResponse20038Value `json:"value,omitempty"` }
type InlineResponse20038NutritionSummary ¶
type InlineResponse20038NutritionSummary struct {
Nutrients []InlineResponse20038NutritionSummaryNutrients `json:"nutrients"`
}
type InlineResponse20039 ¶
type InlineResponse20039 struct {
Templates []InlineResponse20013Ingredients1 `json:"templates"`
}
type InlineResponse2003ExtendedIngredients ¶
type InlineResponse2003ExtendedIngredients struct { Aisle string `json:"aisle"` Amount float32 `json:"amount"` Consitency string `json:"consitency"` Id int32 `json:"id"` Image string `json:"image"` Measures InlineResponse2003Measures `json:"measures,omitempty"` Meta []string `json:"meta,omitempty"` Name string `json:"name"` Original string `json:"original"` OriginalName string `json:"originalName"` Unit string `json:"unit"` }
type InlineResponse2003Measures ¶
type InlineResponse2003Measures struct { Metric InlineResponse2003MeasuresMetric `json:"metric"` Us InlineResponse2003MeasuresMetric `json:"us"` }
type InlineResponse2003WinePairing ¶
type InlineResponse2003WinePairing struct { PairedWines []string `json:"pairedWines"` PairingText string `json:"pairingText"` ProductMatches []InlineResponse2003WinePairingProductMatches `json:"productMatches"` }
type InlineResponse2003WinePairingProductMatches ¶
type InlineResponse2003WinePairingProductMatches struct { Id int32 `json:"id"` Title string `json:"title"` Description string `json:"description"` Price string `json:"price"` ImageUrl string `json:"imageUrl"` AverageRating float32 `json:"averageRating"` RatingCount int32 `json:"ratingCount"` Score float32 `json:"score"` Link string `json:"link"` }
type InlineResponse2004 ¶
type InlineResponse2004 struct { Id int32 `json:"id"` Title string `json:"title"` Image string `json:"image"` ImageType string `json:"imageType"` Servings float32 `json:"servings"` ReadyInMinutes int32 `json:"readyInMinutes"` License string `json:"license"` SourceName string `json:"sourceName"` SourceUrl string `json:"sourceUrl"` SpoonacularSourceUrl string `json:"spoonacularSourceUrl"` AggregateLikes int32 `json:"aggregateLikes"` HealthScore float32 `json:"healthScore"` SpoonacularScore float32 `json:"spoonacularScore"` PricePerServing float32 `json:"pricePerServing"` AnalyzedInstructions []string `json:"analyzedInstructions"` Cheap bool `json:"cheap"` CreditsText string `json:"creditsText"` Cuisines []string `json:"cuisines"` DairyFree bool `json:"dairyFree"` Diets []string `json:"diets"` Gaps string `json:"gaps"` GlutenFree bool `json:"glutenFree"` Instructions string `json:"instructions"` Ketogenic bool `json:"ketogenic"` LowFodmap bool `json:"lowFodmap"` Occasions []string `json:"occasions"` Sustainable bool `json:"sustainable"` Vegan bool `json:"vegan"` Vegetarian bool `json:"vegetarian"` VeryHealthy bool `json:"veryHealthy"` VeryPopular bool `json:"veryPopular"` Whole30 bool `json:"whole30"` WeightWatcherSmartPoints float32 `json:"weightWatcherSmartPoints"` DishTypes []string `json:"dishTypes"` ExtendedIngredients []InlineResponse2003ExtendedIngredients `json:"extendedIngredients"` Summary string `json:"summary"` WinePairing InlineResponse2003WinePairing `json:"winePairing"` }
type InlineResponse20040 ¶
type InlineResponse20040 struct { Name string `json:"name"` Items []InlineResponse20040Items `json:"items"` PublishAsPublic bool `json:"publishAsPublic"` }
type InlineResponse20040Items ¶
type InlineResponse20040Items struct { Day int32 `json:"day"` Slot int32 `json:"slot"` Position int32 `json:"position"` Type string `json:"type"` Value InlineResponse20040Value `json:"value,omitempty"` }
type InlineResponse20041 ¶
type InlineResponse20041 struct { Id int32 `json:"id"` Name string `json:"name"` Days []InlineResponse20041Days `json:"days"` }
type InlineResponse20041Days ¶
type InlineResponse20041Days struct { NutritionSummary InlineResponse20038NutritionSummary `json:"nutritionSummary,omitempty"` NutritionSummaryBreakfast InlineResponse20038NutritionSummary `json:"nutritionSummaryBreakfast,omitempty"` NutritionSummaryLunch InlineResponse20038NutritionSummary `json:"nutritionSummaryLunch,omitempty"` NutritionSummaryDinner InlineResponse20038NutritionSummary `json:"nutritionSummaryDinner,omitempty"` Day string `json:"day"` Items []InlineResponse20041Items `json:"items,omitempty"` }
type InlineResponse20041Items ¶
type InlineResponse20041Items struct { Id int32 `json:"id"` Slot int32 `json:"slot"` Position int32 `json:"position"` Type string `json:"type"` Value InlineResponse20041Value `json:"value,omitempty"` }
type InlineResponse20042 ¶
type InlineResponse20042 struct { Aisles []InlineResponse20042Aisles `json:"aisles"` Cost float32 `json:"cost"` StartDate float32 `json:"startDate"` EndDate float32 `json:"endDate"` }
type InlineResponse20042Aisles ¶
type InlineResponse20042Aisles struct { Aisle string `json:"aisle"` Items []InlineResponse20042Items `json:"items,omitempty"` }
type InlineResponse20042Measures ¶
type InlineResponse20042Measures struct { Original RecipesParseIngredientsNutritionWeightPerServing `json:"original"` Metric RecipesParseIngredientsNutritionWeightPerServing `json:"metric"` Us RecipesParseIngredientsNutritionWeightPerServing `json:"us"` }
type InlineResponse20043 ¶
type InlineResponse20044 ¶
type InlineResponse20045 ¶
type InlineResponse20045 struct { PairedWines []string `json:"pairedWines"` PairingText string `json:"pairingText"` ProductMatches []InlineResponse20045ProductMatches `json:"productMatches"` }
type InlineResponse20045ProductMatches ¶
type InlineResponse20045ProductMatches struct { Id int32 `json:"id"` Title string `json:"title"` AverageRating float32 `json:"averageRating"` Description map[string]interface{} `json:"description,omitempty"` ImageUrl string `json:"imageUrl"` Link string `json:"link"` Price string `json:"price"` RatingCount int32 `json:"ratingCount"` Score float32 `json:"score"` }
type InlineResponse20046 ¶
type InlineResponse20046 struct {
WineDescription string `json:"wineDescription"`
}
type InlineResponse20047 ¶
type InlineResponse20047 struct { RecommendedWines []InlineResponse20047RecommendedWines `json:"recommendedWines"` TotalFound int32 `json:"totalFound"` }
type InlineResponse20047RecommendedWines ¶
type InlineResponse20047RecommendedWines struct { Id int32 `json:"id"` Title string `json:"title"` AverageRating float32 `json:"averageRating"` Description string `json:"description"` ImageUrl string `json:"imageUrl"` Link string `json:"link"` Price string `json:"price"` RatingCount int32 `json:"ratingCount"` Score float32 `json:"score"` }
type InlineResponse20048 ¶
type InlineResponse20049 ¶
type InlineResponse20049 struct { Nutrition InlineResponse20049Nutrition `json:"nutrition"` Category InlineResponse20049Category `json:"category"` Recipes []InlineResponse20049Recipes `json:"recipes"` }
type InlineResponse20049Nutrition ¶
type InlineResponse20049Nutrition struct { RecipesUsed int32 `json:"recipesUsed"` Calories InlineResponse20049NutritionCalories `json:"calories"` Fat InlineResponse20049NutritionCalories `json:"fat"` Protein InlineResponse20049NutritionCalories `json:"protein"` Carbs InlineResponse20049NutritionCalories `json:"carbs"` }
type InlineResponse20049NutritionCalories ¶
type InlineResponse20049NutritionCalories struct { Value float32 `json:"value"` Unit string `json:"unit"` ConfidenceRange95Percent InlineResponse20049NutritionCaloriesConfidenceRange95Percent `json:"confidenceRange95Percent"` StandardDeviation float32 `json:"standardDeviation"` }
type InlineResponse2005 ¶
type InlineResponse20050 ¶
type InlineResponse20051 ¶
type InlineResponse20051 struct {
Annotations []map[string]interface{} `json:"annotations"`
}
type InlineResponse20052 ¶
type InlineResponse20053 ¶
type InlineResponse20053 struct { Query string `json:"query"` TotalResults int32 `json:"totalResults"` Limit int32 `json:"limit"` Offset int32 `json:"offset"` SearchResults []InlineResponse20053SearchResults `json:"searchResults"` }
type InlineResponse20053SearchResults ¶
type InlineResponse20053SearchResults struct { Name string `json:"name"` TotalResults int32 `json:"totalResults"` Results []InlineResponse20053Results `json:"results,omitempty"` }
type InlineResponse20054 ¶
type InlineResponse20054 struct { Videos []InlineResponse20054Videos `json:"videos"` TotalResults int32 `json:"totalResults"` }
type InlineResponse20055 ¶
type InlineResponse20055 struct {
Text string `json:"text"`
}
type InlineResponse20056 ¶
type InlineResponse20057 ¶
type InlineResponse20057 struct { Suggests InlineResponse20057Suggests `json:"suggests"` Words []map[string]interface{} `json:"words"` }
type InlineResponse20057Suggests ¶
type InlineResponse20057Suggests struct {
// contains filtered or unexported fields
}
type InlineResponse2006 ¶
type InlineResponse2006 struct {
Recipes []InlineResponse2006Recipes `json:"recipes"`
}
type InlineResponse2006Recipes ¶
type InlineResponse2006Recipes struct { Id int32 `json:"id"` Title string `json:"title"` Image string `json:"image"` ImageType string `json:"imageType"` Servings float32 `json:"servings"` ReadyInMinutes int32 `json:"readyInMinutes"` License string `json:"license"` SourceName string `json:"sourceName"` SourceUrl string `json:"sourceUrl"` SpoonacularSourceUrl string `json:"spoonacularSourceUrl"` AggregateLikes float32 `json:"aggregateLikes"` HealthScore float32 `json:"healthScore"` SpoonacularScore float32 `json:"spoonacularScore"` PricePerServing float32 `json:"pricePerServing"` AnalyzedInstructions []map[string]interface{} `json:"analyzedInstructions,omitempty"` Cheap bool `json:"cheap"` CreditsText string `json:"creditsText"` Cuisines []string `json:"cuisines,omitempty"` DairyFree bool `json:"dairyFree"` Diets []string `json:"diets,omitempty"` Gaps string `json:"gaps"` GlutenFree bool `json:"glutenFree"` Instructions string `json:"instructions"` Ketogenic bool `json:"ketogenic"` LowFodmap bool `json:"lowFodmap"` Occasions []string `json:"occasions,omitempty"` Sustainable bool `json:"sustainable"` Vegan bool `json:"vegan"` Vegetarian bool `json:"vegetarian"` VeryHealthy bool `json:"veryHealthy"` VeryPopular bool `json:"veryPopular"` Whole30 bool `json:"whole30"` WeightWatcherSmartPoints float32 `json:"weightWatcherSmartPoints"` DishTypes []string `json:"dishTypes,omitempty"` ExtendedIngredients []InlineResponse2003ExtendedIngredients `json:"extendedIngredients,omitempty"` Summary string `json:"summary"` WinePairing InlineResponse2003WinePairing `json:"winePairing,omitempty"` }
type InlineResponse2007 ¶
type InlineResponse2008 ¶
type InlineResponse2009 ¶
type InlineResponse2009 struct {
Equipment []map[string]interface{} `json:"equipment"`
}
type MealPlanningApiService ¶
type MealPlanningApiService service
func (*MealPlanningApiService) AddMealPlanTemplate ¶
func (a *MealPlanningApiService) AddMealPlanTemplate(ctx context.Context, username string, hash string, inlineObject6 InlineObject6) (InlineResponse20040, *http.Response, error)
MealPlanningApiService Add Meal Plan Template Add a meal plan template for a user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param hash The private hash for the username.
- @param inlineObject6
@return InlineResponse20040
func (*MealPlanningApiService) AddToMealPlan ¶
func (a *MealPlanningApiService) AddToMealPlan(ctx context.Context, username string, hash string, inlineObject4 InlineObject4) (map[string]interface{}, *http.Response, error)
MealPlanningApiService Add to Meal Plan Add an item to the user's meal plan.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param hash The private hash for the username.
- @param inlineObject4
@return map[string]interface{}
func (*MealPlanningApiService) AddToShoppingList ¶
func (a *MealPlanningApiService) AddToShoppingList(ctx context.Context, username string, hash string, inlineObject9 InlineObject9) (InlineResponse20042, *http.Response, error)
MealPlanningApiService Add to Shopping List Add an item to the current shopping list of a user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param hash The private hash for the username.
- @param inlineObject9
@return InlineResponse20042
func (*MealPlanningApiService) ClearMealPlanDay ¶
func (a *MealPlanningApiService) ClearMealPlanDay(ctx context.Context, username string, date string, hash string, inlineObject3 InlineObject3) (map[string]interface{}, *http.Response, error)
MealPlanningApiService Clear Meal Plan Day Delete all planned items from the user's meal plan for a specific day.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param date The date in the format yyyy-mm-dd.
- @param hash The private hash for the username.
- @param inlineObject3
@return map[string]interface{}
func (*MealPlanningApiService) ConnectUser ¶
func (a *MealPlanningApiService) ConnectUser(ctx context.Context, body map[string]interface{}) (InlineResponse20043, *http.Response, error)
MealPlanningApiService Connect User In order to call user-specific endpoints, you need to connect your app's users to spoonacular users.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param body
@return InlineResponse20043
func (*MealPlanningApiService) DeleteFromMealPlan ¶
func (a *MealPlanningApiService) DeleteFromMealPlan(ctx context.Context, username string, id float32, hash string, inlineObject5 InlineObject5) (map[string]interface{}, *http.Response, error)
MealPlanningApiService Delete from Meal Plan Delete an item from the user's meal plan.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param id The shopping list item id.
- @param hash The private hash for the username.
- @param inlineObject5
@return map[string]interface{}
func (*MealPlanningApiService) DeleteFromShoppingList ¶
func (a *MealPlanningApiService) DeleteFromShoppingList(ctx context.Context, username string, id int32, hash string, inlineObject10 InlineObject10) (map[string]interface{}, *http.Response, error)
MealPlanningApiService Delete from Shopping List Delete an item from the current shopping list of the user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param id The item's id.
- @param hash The private hash for the username.
- @param inlineObject10
@return map[string]interface{}
func (*MealPlanningApiService) DeleteMealPlanTemplate ¶
func (a *MealPlanningApiService) DeleteMealPlanTemplate(ctx context.Context, username string, id int32, hash string, inlineObject7 InlineObject7) (map[string]interface{}, *http.Response, error)
MealPlanningApiService Delete Meal Plan Template Delete a meal plan template for a user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param id The item's id.
- @param hash The private hash for the username.
- @param inlineObject7
@return map[string]interface{}
func (*MealPlanningApiService) GenerateMealPlan ¶
func (a *MealPlanningApiService) GenerateMealPlan(ctx context.Context, localVarOptionals *GenerateMealPlanOpts) (InlineResponse20037, *http.Response, error)
func (*MealPlanningApiService) GenerateShoppingList ¶
func (a *MealPlanningApiService) GenerateShoppingList(ctx context.Context, username string, startDate string, endDate string, hash string, inlineObject8 InlineObject8) (InlineResponse20042, *http.Response, error)
MealPlanningApiService Generate Shopping List Generate the shopping list for a user from the meal planner in a given time frame.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param startDate The start date in the format yyyy-mm-dd.
- @param endDate The end date in the format yyyy-mm-dd.
- @param hash The private hash for the username.
- @param inlineObject8
@return InlineResponse20042
func (*MealPlanningApiService) GetMealPlanTemplate ¶
func (a *MealPlanningApiService) GetMealPlanTemplate(ctx context.Context, username string, id int32, hash string) (InlineResponse20041, *http.Response, error)
MealPlanningApiService Get Meal Plan Template Get information about a meal plan template.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param id The item's id.
- @param hash The private hash for the username.
@return InlineResponse20041
func (*MealPlanningApiService) GetMealPlanTemplates ¶
func (a *MealPlanningApiService) GetMealPlanTemplates(ctx context.Context, username string, hash string) (InlineResponse20039, *http.Response, error)
MealPlanningApiService Get Meal Plan Templates Get meal plan templates from user or public ones.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param hash The private hash for the username.
@return InlineResponse20039
func (*MealPlanningApiService) GetMealPlanWeek ¶
func (a *MealPlanningApiService) GetMealPlanWeek(ctx context.Context, username string, startDate string, hash string) (InlineResponse20038, *http.Response, error)
MealPlanningApiService Get Meal Plan Week Retrieve a meal planned week for the given user. The username must be a spoonacular user and the hash must the the user's hash that can be found in his/her account.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param startDate The start date of the meal planned week in the format yyyy-mm-dd.
- @param hash The private hash for the username.
@return InlineResponse20038
func (*MealPlanningApiService) GetShoppingList ¶
func (a *MealPlanningApiService) GetShoppingList(ctx context.Context, username string, hash string) (InlineResponse20042, *http.Response, error)
MealPlanningApiService Get Shopping List Get the current shopping list for the given user.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param username The username.
- @param hash The private hash for the username.
@return InlineResponse20042
type MenuItemsApiService ¶
type MenuItemsApiService service
func (*MenuItemsApiService) AutocompleteMenuItemSearch ¶
func (a *MenuItemsApiService) AutocompleteMenuItemSearch(ctx context.Context, query string, localVarOptionals *AutocompleteMenuItemSearchOpts) (InlineResponse20032, *http.Response, error)
func (*MenuItemsApiService) GetMenuItemInformation ¶
func (a *MenuItemsApiService) GetMenuItemInformation(ctx context.Context, id int32) (InlineResponse20036, *http.Response, error)
MenuItemsApiService Get Menu Item Information Use a menu item id to get all available information about a menu item, such as nutrition.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse20036
func (*MenuItemsApiService) MenuItemNutritionByIDImage ¶
func (a *MenuItemsApiService) MenuItemNutritionByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
MenuItemsApiService Menu Item Nutrition by ID Image Visualize a menu item's nutritional information as HTML including CSS.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The menu item id.
@return map[string]interface{}
func (*MenuItemsApiService) MenuItemNutritionLabelImage ¶
func (a *MenuItemsApiService) MenuItemNutritionLabelImage(ctx context.Context, id float32, localVarOptionals *MenuItemNutritionLabelImageOpts) (map[string]interface{}, *http.Response, error)
func (*MenuItemsApiService) MenuItemNutritionLabelWidget ¶
func (a *MenuItemsApiService) MenuItemNutritionLabelWidget(ctx context.Context, id float32, localVarOptionals *MenuItemNutritionLabelWidgetOpts) (string, *http.Response, error)
func (*MenuItemsApiService) SearchMenuItems ¶
func (a *MenuItemsApiService) SearchMenuItems(ctx context.Context, localVarOptionals *SearchMenuItemsOpts) (InlineResponse20035, *http.Response, error)
func (*MenuItemsApiService) VisualizeMenuItemNutritionByID ¶
func (a *MenuItemsApiService) VisualizeMenuItemNutritionByID(ctx context.Context, id int32, localVarOptionals *VisualizeMenuItemNutritionByIDOpts) (string, *http.Response, error)
type MiscApiService ¶
type MiscApiService service
func (*MiscApiService) DetectFoodInText ¶
func (a *MiscApiService) DetectFoodInText(ctx context.Context, localVarOptionals *DetectFoodInTextOpts) (InlineResponse20051, *http.Response, error)
func (*MiscApiService) GetARandomFoodJoke ¶
func (a *MiscApiService) GetARandomFoodJoke(ctx context.Context) (InlineResponse20055, *http.Response, error)
MiscApiService Random Food Joke Get a random joke that is related to food. Caution: this is an endpoint for adults!
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20055
func (*MiscApiService) GetConversationSuggests ¶
func (a *MiscApiService) GetConversationSuggests(ctx context.Context, query string, localVarOptionals *GetConversationSuggestsOpts) (InlineResponse20057, *http.Response, error)
func (*MiscApiService) GetRandomFoodTrivia ¶
func (a *MiscApiService) GetRandomFoodTrivia(ctx context.Context) (InlineResponse20055, *http.Response, error)
MiscApiService Random Food Trivia Returns random food trivia.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return InlineResponse20055
func (*MiscApiService) ImageAnalysisByURL ¶
func (a *MiscApiService) ImageAnalysisByURL(ctx context.Context, imageUrl string) (InlineResponse20049, *http.Response, error)
MiscApiService Image Analysis by URL Analyze a food image. The API tries to classify the image, guess the nutrition, and find a matching recipes.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param imageUrl The URL of the image to be analyzed.
@return InlineResponse20049
func (*MiscApiService) ImageClassificationByURL ¶
func (a *MiscApiService) ImageClassificationByURL(ctx context.Context, imageUrl string) (InlineResponse20048, *http.Response, error)
MiscApiService Image Classification by URL Classify a food image.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param imageUrl The URL of the image to be classified.
@return InlineResponse20048
func (*MiscApiService) SearchAllFood ¶
func (a *MiscApiService) SearchAllFood(ctx context.Context, query string, localVarOptionals *SearchAllFoodOpts) (InlineResponse20053, *http.Response, error)
func (*MiscApiService) SearchCustomFoods ¶
func (a *MiscApiService) SearchCustomFoods(ctx context.Context, username string, hash string, localVarOptionals *SearchCustomFoodsOpts) (InlineResponse20029, *http.Response, error)
func (*MiscApiService) SearchFoodVideos ¶
func (a *MiscApiService) SearchFoodVideos(ctx context.Context, localVarOptionals *SearchFoodVideosOpts) (InlineResponse20054, *http.Response, error)
func (*MiscApiService) SearchSiteContent ¶
func (a *MiscApiService) SearchSiteContent(ctx context.Context, query string) (InlineResponse20052, *http.Response, error)
MiscApiService Search Site Content Search spoonacular's site content. You'll be able to find everything that you could also find using the search suggestions on spoonacular.com. This is a suggest API so you can send partial strings as queries.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param query The query to search for. You can also use partial queries such as \"spagh\" to already find spaghetti recipes, articles, grocery products, and other content.
@return InlineResponse20052
func (*MiscApiService) TalkToChatbot ¶
func (a *MiscApiService) TalkToChatbot(ctx context.Context, text string, localVarOptionals *TalkToChatbotOpts) (InlineResponse20056, *http.Response, error)
type ParseIngredientsOpts ¶
type ProductsApiService ¶
type ProductsApiService service
func (*ProductsApiService) AutocompleteProductSearch ¶
func (a *ProductsApiService) AutocompleteProductSearch(ctx context.Context, query string, localVarOptionals *AutocompleteProductSearchOpts) (InlineResponse20032, *http.Response, error)
func (*ProductsApiService) ClassifyGroceryProduct ¶
func (a *ProductsApiService) ClassifyGroceryProduct(ctx context.Context, inlineObject1 InlineObject1, localVarOptionals *ClassifyGroceryProductOpts) (InlineResponse20033, *http.Response, error)
func (*ProductsApiService) ClassifyGroceryProductBulk ¶
func (a *ProductsApiService) ClassifyGroceryProductBulk(ctx context.Context, inlineObject []InlineObject, localVarOptionals *ClassifyGroceryProductBulkOpts) ([]InlineResponse20033, *http.Response, error)
func (*ProductsApiService) GetComparableProducts ¶
func (a *ProductsApiService) GetComparableProducts(ctx context.Context, upc float32) (InlineResponse20031, *http.Response, error)
ProductsApiService Get Comparable Products Find comparable products to the given one.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param upc The UPC of the product for which you want to find comparable products.
@return InlineResponse20031
func (*ProductsApiService) GetProductInformation ¶
func (a *ProductsApiService) GetProductInformation(ctx context.Context, id int32) (InlineResponse20030, *http.Response, error)
ProductsApiService Get Product Information Use a product id to get full information about a product, such as ingredients, nutrition, etc. The nutritional information is per serving.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse20030
func (*ProductsApiService) ProductNutritionByIDImage ¶
func (a *ProductsApiService) ProductNutritionByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
ProductsApiService Product Nutrition by ID Image Visualize a product's nutritional information as an image.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The id of the product.
@return map[string]interface{}
func (*ProductsApiService) ProductNutritionLabelImage ¶
func (a *ProductsApiService) ProductNutritionLabelImage(ctx context.Context, id float32, localVarOptionals *ProductNutritionLabelImageOpts) (map[string]interface{}, *http.Response, error)
func (*ProductsApiService) ProductNutritionLabelWidget ¶
func (a *ProductsApiService) ProductNutritionLabelWidget(ctx context.Context, id float32, localVarOptionals *ProductNutritionLabelWidgetOpts) (string, *http.Response, error)
func (*ProductsApiService) SearchGroceryProducts ¶
func (a *ProductsApiService) SearchGroceryProducts(ctx context.Context, localVarOptionals *SearchGroceryProductsOpts) (InlineResponse20027, *http.Response, error)
func (*ProductsApiService) SearchGroceryProductsByUPC ¶
func (a *ProductsApiService) SearchGroceryProductsByUPC(ctx context.Context, upc float32) (InlineResponse20028, *http.Response, error)
ProductsApiService Search Grocery Products by UPC Get information about a packaged food using its UPC.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param upc The product's UPC.
@return InlineResponse20028
func (*ProductsApiService) VisualizeProductNutritionByID ¶
func (a *ProductsApiService) VisualizeProductNutritionByID(ctx context.Context, id int32, localVarOptionals *VisualizeProductNutritionByIDOpts) (string, *http.Response, error)
type RecipesApiService ¶
type RecipesApiService service
func (*RecipesApiService) AnalyzeARecipeSearchQuery ¶
func (a *RecipesApiService) AnalyzeARecipeSearchQuery(ctx context.Context, q string) (InlineResponse20018, *http.Response, error)
RecipesApiService Analyze a Recipe Search Query Parse a recipe search query to find out its intention.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param q The recipe search query.
@return InlineResponse20018
func (*RecipesApiService) AnalyzeRecipeInstructions ¶
func (a *RecipesApiService) AnalyzeRecipeInstructions(ctx context.Context, localVarOptionals *AnalyzeRecipeInstructionsOpts) (InlineResponse20016, *http.Response, error)
func (*RecipesApiService) AutocompleteRecipeSearch ¶
func (a *RecipesApiService) AutocompleteRecipeSearch(ctx context.Context, localVarOptionals *AutocompleteRecipeSearchOpts) ([]InlineResponse2007, *http.Response, error)
func (*RecipesApiService) ClassifyCuisine ¶
func (a *RecipesApiService) ClassifyCuisine(ctx context.Context, localVarOptionals *ClassifyCuisineOpts) (InlineResponse20017, *http.Response, error)
func (*RecipesApiService) ComputeGlycemicLoad ¶
func (a *RecipesApiService) ComputeGlycemicLoad(ctx context.Context, inlineObject InlineObject, localVarOptionals *ComputeGlycemicLoadOpts) (InlineResponse20023, *http.Response, error)
func (*RecipesApiService) ConvertAmounts ¶
func (a *RecipesApiService) ConvertAmounts(ctx context.Context, ingredientName string, sourceAmount float32, sourceUnit string, targetUnit string) (InlineResponse20019, *http.Response, error)
RecipesApiService Convert Amounts Convert amounts like \"2 cups of flour to grams\".
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param ingredientName The ingredient which you want to convert.
- @param sourceAmount The amount from which you want to convert, e.g. the 2.5 in \"2.5 cups of flour to grams\".
- @param sourceUnit The unit from which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\"
- @param targetUnit The unit to which you want to convert, e.g. the grams in \"2.5 cups of flour to grams\". You can also use \"piece\", e.g. \"3.4 oz tomatoes to piece\"
@return InlineResponse20019
func (*RecipesApiService) CreateRecipeCard ¶
func (a *RecipesApiService) CreateRecipeCard(ctx context.Context, localVarOptionals *CreateRecipeCardOpts) (InlineResponse20015, *http.Response, error)
func (*RecipesApiService) EquipmentByIDImage ¶
func (a *RecipesApiService) EquipmentByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
RecipesApiService Equipment by ID Image Visualize a recipe's equipment list as an image.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The recipe id.
@return map[string]interface{}
func (*RecipesApiService) ExtractRecipeFromWebsite ¶
func (a *RecipesApiService) ExtractRecipeFromWebsite(ctx context.Context, url string, localVarOptionals *ExtractRecipeFromWebsiteOpts) (InlineResponse2003, *http.Response, error)
func (*RecipesApiService) GetAnalyzedRecipeInstructions ¶
func (a *RecipesApiService) GetAnalyzedRecipeInstructions(ctx context.Context, id int32, localVarOptionals *GetAnalyzedRecipeInstructionsOpts) (InlineResponse20013, *http.Response, error)
func (*RecipesApiService) GetRandomRecipes ¶
func (a *RecipesApiService) GetRandomRecipes(ctx context.Context, localVarOptionals *GetRandomRecipesOpts) (InlineResponse2006, *http.Response, error)
func (*RecipesApiService) GetRecipeEquipmentByID ¶
func (a *RecipesApiService) GetRecipeEquipmentByID(ctx context.Context, id int32) (InlineResponse2009, *http.Response, error)
RecipesApiService Equipment by ID Get a recipe's equipment list.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse2009
func (*RecipesApiService) GetRecipeInformation ¶
func (a *RecipesApiService) GetRecipeInformation(ctx context.Context, id int32, localVarOptionals *GetRecipeInformationOpts) (InlineResponse2003, *http.Response, error)
func (*RecipesApiService) GetRecipeInformationBulk ¶
func (a *RecipesApiService) GetRecipeInformationBulk(ctx context.Context, ids string, localVarOptionals *GetRecipeInformationBulkOpts) ([]InlineResponse2004, *http.Response, error)
func (*RecipesApiService) GetRecipeIngredientsByID ¶
func (a *RecipesApiService) GetRecipeIngredientsByID(ctx context.Context, id int32) (InlineResponse20011, *http.Response, error)
RecipesApiService Ingredients by ID Get a recipe's ingredient list.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse20011
func (*RecipesApiService) GetRecipeNutritionWidgetByID ¶
func (a *RecipesApiService) GetRecipeNutritionWidgetByID(ctx context.Context, id int32) (InlineResponse20012, *http.Response, error)
RecipesApiService Nutrition by ID Get a recipe's nutrition data.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse20012
func (*RecipesApiService) GetRecipePriceBreakdownByID ¶
func (a *RecipesApiService) GetRecipePriceBreakdownByID(ctx context.Context, id int32) (InlineResponse20010, *http.Response, error)
RecipesApiService Price Breakdown by ID Get a recipe's price breakdown data.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse20010
func (*RecipesApiService) GetRecipeTasteByID ¶
func (a *RecipesApiService) GetRecipeTasteByID(ctx context.Context, id int32, localVarOptionals *GetRecipeTasteByIDOpts) (InlineResponse2008, *http.Response, error)
func (*RecipesApiService) GetSimilarRecipes ¶
func (a *RecipesApiService) GetSimilarRecipes(ctx context.Context, id int32, localVarOptionals *GetSimilarRecipesOpts) ([]InlineResponse2005, *http.Response, error)
func (*RecipesApiService) GuessNutritionByDishName ¶
func (a *RecipesApiService) GuessNutritionByDishName(ctx context.Context, title string) (InlineResponse20021, *http.Response, error)
RecipesApiService Guess Nutrition by Dish Name Estimate the macronutrients of a dish based on its title.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param title The title of the dish.
@return InlineResponse20021
func (*RecipesApiService) IngredientsByIDImage ¶
func (a *RecipesApiService) IngredientsByIDImage(ctx context.Context, id float32, localVarOptionals *IngredientsByIDImageOpts) (map[string]interface{}, *http.Response, error)
func (*RecipesApiService) ParseIngredients ¶
func (a *RecipesApiService) ParseIngredients(ctx context.Context, localVarOptionals *ParseIngredientsOpts) ([]InlineResponse20020, *http.Response, error)
func (*RecipesApiService) PriceBreakdownByIDImage ¶
func (a *RecipesApiService) PriceBreakdownByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
RecipesApiService Price Breakdown by ID Image Visualize a recipe's price breakdown.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The recipe id.
@return map[string]interface{}
func (*RecipesApiService) QuickAnswer ¶
func (a *RecipesApiService) QuickAnswer(ctx context.Context, q string) (InlineResponse20050, *http.Response, error)
RecipesApiService Quick Answer Answer a nutrition related natural language question.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param q The nutrition related question.
@return InlineResponse20050
func (*RecipesApiService) RecipeNutritionByIDImage ¶
func (a *RecipesApiService) RecipeNutritionByIDImage(ctx context.Context, id float32) (map[string]interface{}, *http.Response, error)
RecipesApiService Recipe Nutrition by ID Image Visualize a recipe's nutritional information as an image.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The recipe id.
@return map[string]interface{}
func (*RecipesApiService) RecipeNutritionLabelImage ¶
func (a *RecipesApiService) RecipeNutritionLabelImage(ctx context.Context, id float32, localVarOptionals *RecipeNutritionLabelImageOpts) (map[string]interface{}, *http.Response, error)
func (*RecipesApiService) RecipeNutritionLabelWidget ¶
func (a *RecipesApiService) RecipeNutritionLabelWidget(ctx context.Context, id float32, localVarOptionals *RecipeNutritionLabelWidgetOpts) (string, *http.Response, error)
func (*RecipesApiService) RecipeTasteByIDImage ¶
func (a *RecipesApiService) RecipeTasteByIDImage(ctx context.Context, id float32, localVarOptionals *RecipeTasteByIDImageOpts) (map[string]interface{}, *http.Response, error)
func (*RecipesApiService) SearchRecipes ¶
func (a *RecipesApiService) SearchRecipes(ctx context.Context, localVarOptionals *SearchRecipesOpts) (InlineResponse200, *http.Response, error)
func (*RecipesApiService) SearchRecipesByIngredients ¶
func (a *RecipesApiService) SearchRecipesByIngredients(ctx context.Context, localVarOptionals *SearchRecipesByIngredientsOpts) ([]InlineResponse2001, *http.Response, error)
func (*RecipesApiService) SearchRecipesByNutrients ¶
func (a *RecipesApiService) SearchRecipesByNutrients(ctx context.Context, localVarOptionals *SearchRecipesByNutrientsOpts) ([]InlineResponse2002, *http.Response, error)
func (*RecipesApiService) SummarizeRecipe ¶
func (a *RecipesApiService) SummarizeRecipe(ctx context.Context, id int32) (InlineResponse20014, *http.Response, error)
RecipesApiService Summarize Recipe Automatically generate a short description that summarizes key information about the recipe.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param id The item's id.
@return InlineResponse20014
func (*RecipesApiService) VisualizeEquipment ¶
func (a *RecipesApiService) VisualizeEquipment(ctx context.Context, localVarOptionals *VisualizeEquipmentOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizePriceBreakdown ¶
func (a *RecipesApiService) VisualizePriceBreakdown(ctx context.Context, localVarOptionals *VisualizePriceBreakdownOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizeRecipeEquipmentByID ¶
func (a *RecipesApiService) VisualizeRecipeEquipmentByID(ctx context.Context, id int32, localVarOptionals *VisualizeRecipeEquipmentByIDOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizeRecipeIngredientsByID ¶
func (a *RecipesApiService) VisualizeRecipeIngredientsByID(ctx context.Context, id int32, localVarOptionals *VisualizeRecipeIngredientsByIDOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizeRecipeNutrition ¶
func (a *RecipesApiService) VisualizeRecipeNutrition(ctx context.Context, localVarOptionals *VisualizeRecipeNutritionOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizeRecipeNutritionByID ¶
func (a *RecipesApiService) VisualizeRecipeNutritionByID(ctx context.Context, id int32, localVarOptionals *VisualizeRecipeNutritionByIDOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizeRecipePriceBreakdownByID ¶
func (a *RecipesApiService) VisualizeRecipePriceBreakdownByID(ctx context.Context, id int32, localVarOptionals *VisualizeRecipePriceBreakdownByIDOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizeRecipeTaste ¶
func (a *RecipesApiService) VisualizeRecipeTaste(ctx context.Context, localVarOptionals *VisualizeRecipeTasteOpts) (string, *http.Response, error)
func (*RecipesApiService) VisualizeRecipeTasteByID ¶
func (a *RecipesApiService) VisualizeRecipeTasteByID(ctx context.Context, id int32, localVarOptionals *VisualizeRecipeTasteByIDOpts) (string, *http.Response, error)
type RecipesFindByIngredientsMissedIngredients ¶
type RecipesFindByIngredientsMissedIngredients struct { Aisle string `json:"aisle"` Amount float32 `json:"amount"` Id int32 `json:"id"` Image string `json:"image"` Meta []string `json:"meta,omitempty"` Name string `json:"name"` Original string `json:"original"` OriginalName string `json:"originalName"` Unit string `json:"unit"` UnitLong string `json:"unitLong"` UnitShort string `json:"unitShort"` }
type RecipesParseIngredientsNutrition ¶
type RecipesParseIngredientsNutrition struct { Nutrients []RecipesParseIngredientsNutritionNutrients `json:"nutrients"` Properties []RecipesParseIngredientsNutritionProperties `json:"properties"` Flavonoids []RecipesParseIngredientsNutritionProperties `json:"flavonoids"` CaloricBreakdown RecipesParseIngredientsNutritionCaloricBreakdown `json:"caloricBreakdown"` WeightPerServing RecipesParseIngredientsNutritionWeightPerServing `json:"weightPerServing"` }
type SearchAllFoodOpts ¶
type SearchCustomFoodsOpts ¶
type SearchFoodVideosOpts ¶
type SearchGroceryProductsOpts ¶
type SearchGroceryProductsOpts struct { Query optional.String MinCalories optional.Float32 MaxCalories optional.Float32 MinCarbs optional.Float32 MaxCarbs optional.Float32 MinProtein optional.Float32 MaxProtein optional.Float32 MinFat optional.Float32 MaxFat optional.Float32 AddProductInformation optional.Bool Offset optional.Int32 Number optional.Int32 }
type SearchMenuItemsOpts ¶
type SearchMenuItemsOpts struct { Query optional.String MinCalories optional.Float32 MaxCalories optional.Float32 MinCarbs optional.Float32 MaxCarbs optional.Float32 MinProtein optional.Float32 MaxProtein optional.Float32 MinFat optional.Float32 MaxFat optional.Float32 AddMenuItemInformation optional.Bool Offset optional.Int32 Number optional.Int32 }
type SearchRecipesByNutrientsOpts ¶
type SearchRecipesByNutrientsOpts struct { MinCarbs optional.Float32 MaxCarbs optional.Float32 MinProtein optional.Float32 MaxProtein optional.Float32 MinCalories optional.Float32 MaxCalories optional.Float32 MinFat optional.Float32 MaxFat optional.Float32 MinAlcohol optional.Float32 MaxAlcohol optional.Float32 MinCaffeine optional.Float32 MaxCaffeine optional.Float32 MinCopper optional.Float32 MaxCopper optional.Float32 MinCalcium optional.Float32 MaxCalcium optional.Float32 MinCholine optional.Float32 MaxCholine optional.Float32 MinCholesterol optional.Float32 MaxCholesterol optional.Float32 MinFluoride optional.Float32 MaxFluoride optional.Float32 MinSaturatedFat optional.Float32 MaxSaturatedFat optional.Float32 MinVitaminA optional.Float32 MaxVitaminA optional.Float32 MinVitaminC optional.Float32 MaxVitaminC optional.Float32 MinVitaminD optional.Float32 MaxVitaminD optional.Float32 MinVitaminE optional.Float32 MaxVitaminE optional.Float32 MinVitaminK optional.Float32 MaxVitaminK optional.Float32 MinVitaminB1 optional.Float32 MaxVitaminB1 optional.Float32 MinVitaminB2 optional.Float32 MaxVitaminB2 optional.Float32 MinVitaminB5 optional.Float32 MaxVitaminB5 optional.Float32 MinVitaminB3 optional.Float32 MaxVitaminB3 optional.Float32 MinVitaminB6 optional.Float32 MaxVitaminB6 optional.Float32 MinVitaminB12 optional.Float32 MaxVitaminB12 optional.Float32 MinFiber optional.Float32 MaxFiber optional.Float32 MinFolate optional.Float32 MaxFolate optional.Float32 MinFolicAcid optional.Float32 MaxFolicAcid optional.Float32 MinIodine optional.Float32 MaxIodine optional.Float32 MinIron optional.Float32 MaxIron optional.Float32 MinMagnesium optional.Float32 MaxMagnesium optional.Float32 MinManganese optional.Float32 MaxManganese optional.Float32 MinPhosphorus optional.Float32 MaxPhosphorus optional.Float32 MinPotassium optional.Float32 MaxPotassium optional.Float32 MinSelenium optional.Float32 MaxSelenium optional.Float32 MinSodium optional.Float32 MaxSodium optional.Float32 MinSugar optional.Float32 MaxSugar optional.Float32 MinZinc optional.Float32 MaxZinc optional.Float32 Offset optional.Int32 Number optional.Int32 Random optional.Bool LimitLicense optional.Bool }
type SearchRecipesOpts ¶
type SearchRecipesOpts struct { Query optional.String Cuisine optional.String ExcludeCuisine optional.String Diet optional.String Intolerances optional.String Equipment optional.String IncludeIngredients optional.String ExcludeIngredients optional.String Type_ optional.String InstructionsRequired optional.Bool FillIngredients optional.Bool AddRecipeInformation optional.Bool AddRecipeNutrition optional.Bool Author optional.String Tags optional.String RecipeBoxId optional.Float32 TitleMatch optional.String MaxReadyTime optional.Float32 IgnorePantry optional.Bool Sort optional.String SortDirection optional.String MinCarbs optional.Float32 MaxCarbs optional.Float32 MinProtein optional.Float32 MaxProtein optional.Float32 MinCalories optional.Float32 MaxCalories optional.Float32 MinFat optional.Float32 MaxFat optional.Float32 MinAlcohol optional.Float32 MaxAlcohol optional.Float32 MinCaffeine optional.Float32 MaxCaffeine optional.Float32 MinCopper optional.Float32 MaxCopper optional.Float32 MinCalcium optional.Float32 MaxCalcium optional.Float32 MinCholine optional.Float32 MaxCholine optional.Float32 MinCholesterol optional.Float32 MaxCholesterol optional.Float32 MinFluoride optional.Float32 MaxFluoride optional.Float32 MinSaturatedFat optional.Float32 MaxSaturatedFat optional.Float32 MinVitaminA optional.Float32 MaxVitaminA optional.Float32 MinVitaminC optional.Float32 MaxVitaminC optional.Float32 MinVitaminD optional.Float32 MaxVitaminD optional.Float32 MinVitaminE optional.Float32 MaxVitaminE optional.Float32 MinVitaminK optional.Float32 MaxVitaminK optional.Float32 MinVitaminB1 optional.Float32 MaxVitaminB1 optional.Float32 MinVitaminB2 optional.Float32 MaxVitaminB2 optional.Float32 MinVitaminB5 optional.Float32 MaxVitaminB5 optional.Float32 MinVitaminB3 optional.Float32 MaxVitaminB3 optional.Float32 MinVitaminB6 optional.Float32 MaxVitaminB6 optional.Float32 MinVitaminB12 optional.Float32 MaxVitaminB12 optional.Float32 MinFiber optional.Float32 MaxFiber optional.Float32 MinFolate optional.Float32 MaxFolate optional.Float32 MinFolicAcid optional.Float32 MaxFolicAcid optional.Float32 MinIodine optional.Float32 MaxIodine optional.Float32 MinIron optional.Float32 MaxIron optional.Float32 MinMagnesium optional.Float32 MaxMagnesium optional.Float32 MinManganese optional.Float32 MaxManganese optional.Float32 MinPhosphorus optional.Float32 MaxPhosphorus optional.Float32 MinPotassium optional.Float32 MaxPotassium optional.Float32 MinSelenium optional.Float32 MaxSelenium optional.Float32 MinSodium optional.Float32 MaxSodium optional.Float32 MinSugar optional.Float32 MaxSugar optional.Float32 MinZinc optional.Float32 MaxZinc optional.Float32 Offset optional.Int32 Number optional.Int32 LimitLicense optional.Bool }
type TalkToChatbotOpts ¶
type VisualizeEquipmentOpts ¶
type WineApiService ¶
type WineApiService service
func (*WineApiService) GetDishPairingForWine ¶
func (a *WineApiService) GetDishPairingForWine(ctx context.Context, wine string) (InlineResponse20044, *http.Response, error)
WineApiService Dish Pairing for Wine Find a dish that goes well with a given wine.
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wine The type of wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\".
@return InlineResponse20044
func (*WineApiService) GetWineDescription ¶
func (a *WineApiService) GetWineDescription(ctx context.Context, wine string) (InlineResponse20046, *http.Response, error)
WineApiService Wine Description Get a simple description of a certain wine, e.g. \"malbec\", \"riesling\", or \"merlot\".
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param wine The name of the wine that should be paired, e.g. \"merlot\", \"riesling\", or \"malbec\".
@return InlineResponse20046
func (*WineApiService) GetWinePairing ¶
func (a *WineApiService) GetWinePairing(ctx context.Context, food string, localVarOptionals *GetWinePairingOpts) (InlineResponse20045, *http.Response, error)
func (*WineApiService) GetWineRecommendation ¶
func (a *WineApiService) GetWineRecommendation(ctx context.Context, wine string, localVarOptionals *GetWineRecommendationOpts) (InlineResponse20047, *http.Response, error)
Source Files ¶
- api_ingredients.go
- api_meal_planning.go
- api_menu_items.go
- api_misc.go
- api_products.go
- api_recipes.go
- api_wine.go
- client.go
- configuration.go
- model__food_ingredients_map_products.go
- model__recipes_find_by_ingredients_missed_ingredients.go
- model__recipes_parse_ingredients_estimated_cost.go
- model__recipes_parse_ingredients_nutrition.go
- model__recipes_parse_ingredients_nutrition_caloric_breakdown.go
- model__recipes_parse_ingredients_nutrition_nutrients.go
- model__recipes_parse_ingredients_nutrition_properties.go
- model__recipes_parse_ingredients_nutrition_weight_per_serving.go
- model_inline_object.go
- model_inline_object_1.go
- model_inline_object_10.go
- model_inline_object_2.go
- model_inline_object_3.go
- model_inline_object_4.go
- model_inline_object_5.go
- model_inline_object_6.go
- model_inline_object_7.go
- model_inline_object_8.go
- model_inline_object_9.go
- model_inline_response_200.go
- model_inline_response_200_1.go
- model_inline_response_200_10.go
- model_inline_response_200_10_amount.go
- model_inline_response_200_10_amount_metric.go
- model_inline_response_200_10_ingredients.go
- model_inline_response_200_11.go
- model_inline_response_200_11_ingredients.go
- model_inline_response_200_12.go
- model_inline_response_200_13.go
- model_inline_response_200_13_ingredients.go
- model_inline_response_200_13_ingredients_1.go
- model_inline_response_200_13_parsed_instructions.go
- model_inline_response_200_13_steps.go
- model_inline_response_200_14.go
- model_inline_response_200_15.go
- model_inline_response_200_16.go
- model_inline_response_200_17.go
- model_inline_response_200_18.go
- model_inline_response_200_18_dishes.go
- model_inline_response_200_18_ingredients.go
- model_inline_response_200_19.go
- model_inline_response_200_2.go
- model_inline_response_200_20.go
- model_inline_response_200_21.go
- model_inline_response_200_21_calories.go
- model_inline_response_200_21_calories_confidence_range95_percent.go
- model_inline_response_200_22.go
- model_inline_response_200_22_nutrition.go
- model_inline_response_200_23.go
- model_inline_response_200_23_ingredients.go
- model_inline_response_200_24.go
- model_inline_response_200_25.go
- model_inline_response_200_25_results.go
- model_inline_response_200_26.go
- model_inline_response_200_27.go
- model_inline_response_200_28.go
- model_inline_response_200_28_ingredients.go
- model_inline_response_200_28_nutrition.go
- model_inline_response_200_28_servings.go
- model_inline_response_200_29.go
- model_inline_response_200_29_custom_foods.go
- model_inline_response_200_3.go
- model_inline_response_200_30.go
- model_inline_response_200_30_ingredients.go
- model_inline_response_200_31.go
- model_inline_response_200_31_comparable_products.go
- model_inline_response_200_31_comparable_products_protein.go
- model_inline_response_200_32.go
- model_inline_response_200_32_results.go
- model_inline_response_200_33.go
- model_inline_response_200_34.go
- model_inline_response_200_35.go
- model_inline_response_200_35_menu_items.go
- model_inline_response_200_36.go
- model_inline_response_200_37.go
- model_inline_response_200_37_nutrients.go
- model_inline_response_200_38.go
- model_inline_response_200_38_days.go
- model_inline_response_200_38_items.go
- model_inline_response_200_38_nutrition_summary.go
- model_inline_response_200_38_nutrition_summary_nutrients.go
- model_inline_response_200_38_value.go
- model_inline_response_200_39.go
- model_inline_response_200_3_extended_ingredients.go
- model_inline_response_200_3_measures.go
- model_inline_response_200_3_measures_metric.go
- model_inline_response_200_3_wine_pairing.go
- model_inline_response_200_3_wine_pairing_product_matches.go
- model_inline_response_200_4.go
- model_inline_response_200_40.go
- model_inline_response_200_40_items.go
- model_inline_response_200_40_value.go
- model_inline_response_200_41.go
- model_inline_response_200_41_days.go
- model_inline_response_200_41_items.go
- model_inline_response_200_41_value.go
- model_inline_response_200_42.go
- model_inline_response_200_42_aisles.go
- model_inline_response_200_42_items.go
- model_inline_response_200_42_measures.go
- model_inline_response_200_43.go
- model_inline_response_200_44.go
- model_inline_response_200_45.go
- model_inline_response_200_45_product_matches.go
- model_inline_response_200_46.go
- model_inline_response_200_47.go
- model_inline_response_200_47_recommended_wines.go
- model_inline_response_200_48.go
- model_inline_response_200_49.go
- model_inline_response_200_49_category.go
- model_inline_response_200_49_nutrition.go
- model_inline_response_200_49_nutrition_calories.go
- model_inline_response_200_49_nutrition_calories_confidence_range95_percent.go
- model_inline_response_200_49_recipes.go
- model_inline_response_200_5.go
- model_inline_response_200_50.go
- model_inline_response_200_51.go
- model_inline_response_200_52.go
- model_inline_response_200_53.go
- model_inline_response_200_53_results.go
- model_inline_response_200_53_search_results.go
- model_inline_response_200_54.go
- model_inline_response_200_54_videos.go
- model_inline_response_200_55.go
- model_inline_response_200_56.go
- model_inline_response_200_57.go
- model_inline_response_200_57_suggests.go
- model_inline_response_200_6.go
- model_inline_response_200_6_recipes.go
- model_inline_response_200_7.go
- model_inline_response_200_8.go
- model_inline_response_200_9.go
- model_inline_response_200_results.go
- response.go