Official
»Ingredients
Type: hashicups-ingredients
The ingredients data source is used to fetch the ingredients ids for an existent coffee in the HashiCups menu.
Required
username
(string) - The username signed up to the Product API.password
(string) - The password for the username signed up to the Product API.
coffee
(string) - The coffee id you would like to get the ingredient from. The ID should exist in the HashiCups menu.
Optional
host
(string) - The Product API host URL. Defaults tolocalhost:19090
OutPut
map
(map[string]string) - A map of ingredient name to ingredient id.
Example Usage