Skip to contents

Retrieve one or more recipes from the API by their IDs.

Usage

api_get_recipe(id)

Arguments

id

Character vector of recipe ID(s). If length > 1, returns a list.

Value

A single Recipe object (or NULL) when length(id) == 1. A list of Recipe objects when length(id) > 1 (NULLs are dropped).

Examples

if (FALSE) { # \dontrun{
api_get_recipe("r_1739654400_742")
} # }