»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 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. Defaults to localhost:19090

»OutPut

  • map (map[string]string) - A map of ingredient name to ingredient id.

»Example Usage