Skip to contents

Give a star rating (1-5) to a recipe. Requires authentication. Each user can have one rating per recipe (upserts on subsequent calls).

Usage

api_star_recipe(id, value)

Arguments

id

Recipe ID

value

Integer rating from 1 to 5

Value

Invisibly, the API response.

Examples

if (FALSE) { # \dontrun{
api_star_recipe("r_1739654400_742", 5)
} # }