Recipe Class

Defines a cooking recipe.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.cognitiveservices.search.imagesearch.models._models_py3.CreativeWork
Recipe

Constructor

Recipe(**kwargs)

Parameters

_type
str
Required

Required. Constant filled by server.

Variables

id
str

A String identifier.

read_link
str

The URL that returns this resource.

web_search_url
str

The URL To Bing's search result for this item.

name
str

The name of the thing represented by this object.

url
str

The URL to get more information about the thing represented by this object.

image
ImageObject

An image of the item.

description
str

A short description of the item.

alternate_name
str

An alias for the item

bing_id
str

An ID that uniquely identifies this item.

thumbnail_url
str

The URL to a thumbnail of the item.

provider
list[Thing]

The source of the creative work.

date_published
str

The date on which the CreativeWork was published.

text
str

Text content of this creative work

cook_time
str

The amount of time the food takes to cook. For example, PT25M. For information about the time format, see http://en.wikipedia.org/wiki/ISO_8601#Durations.

prep_time
str

The amount of time required to prepare the ingredients. For example, PT15M. For information about the time format, see http://en.wikipedia.org/wiki/ISO_8601#Durations.

total_time
str

The total amount of time it takes to prepare and cook the recipe. For example, PT45M. For information about the time format, see http://en.wikipedia.org/wiki/ISO_8601#Durations.