´╗┐Ingredient

Resource Properties

Name Description Returns
id the identifier of the ingredient string
name the name of the ingredient string
languageBranch the language of the texts in the ingredient string
description a text describing the ingredient string
isCarbonated whether the ingredient is carbonated or not bool
isAlcoholic whether the ingredient contains alcohol bool
isBaseSpirit whether the ingredient is a base spirit bool
isJuice whether the ingredient is a juice bool
type the id of the type this ingredient falls under string

HTTP(s) GET Operations

Listing Ingredients

/ingredients/

Showing specific Ingredient(s)

/ingredients/ingredient_id/

/ingredients/ingredient_id1,ingredient_id2/

Auto Suggest (on name)

/quickSearch/ingredients/search query/

Connections

Drinks By Ingredient

/drinks/with/ingredient_id/

Images

http://assets.absolutdrinks.com/ingredients/ingredient_id.format

JavaScript Client Library

Listing Actions

addb.ingredients().loadSet(function(query) { });
addb.ingredients('es').skip(10).take(25).loadSet(function(query) { });

Loading Specific Action

addb.ingredients().load('shake', function(shake) { });

Auto Suggest Search (on name)

addb.ingredients().quickSearch('some query', function(query) { });

.NET Client Library

Listing Actions

var ingredients = ADDbClient.Ingredients().Skip(5).Take(20);

Loading Specific Action

var ingredient = ADDbClient.Ingredients().Load("lemon");
var ingredients = ADDbClient.Ingredients("es").Load(new [] { "absolut-vodka", "absolut-watkins" });

Auto Suggest (on name)

var ingredients = ADDbClient.Ingredients().QuickSearch("some query");