https://us-central1-breww-220002.cloudfunctions.net/recommendPersonal?uuid={uuid}
uuid
: Unique user id tied to an accountlimit
: Query limit, max number of records to fetchoffset
: Query offset, starting cursor (useful for pagination)
http://localhost:5000/breww-220002/us-central1/recommendPersonal?uuid=36301CA1-2B4B-40EF-820C-A17E09CC1FCA&limit=1
{
"params":"filters=Category%3A%22Irish%20Ale%20%22OR%20Category%3A%22German%20Lager%20%22&length=1&offset=0",
"content":[
{
"Name":"Aventinus Weizen-Eisbock",
"id":"399",
"brewery_id":"1023",
"cat_id":"7",
"style_id":"90",
"Alcohol By Volume":"12.0",
"International Bitterness Units":"0",
"Standard Reference Method":"0",
"Universal Product Code":"0",
"filepath":"",
"Description":"",
"add_user":"0",
"last_mod":"2010-07-23T01:30:00+05:30",
"Style":"Traditional German-Style Bock",
"Category":"German Lager",
"Brewer":"Private Weissbierbrauerei G. Schneider & Sohn GmbH",
"Address":"Emil-Ott-Strasse 1-5",
"City":"Kelheim",
"State":"",
"Country":"Germany",
"Coordinates":"48.9175, 11.8735",
"Website":"http://www.schneider-weisse.de",
"objectID":"54713121",
"_highlightResult":{
"Name":{
"value":"Aventinus Weizen-Eisbock",
"matchLevel":"none",
"matchedWords":[
]
},
"Style":{
"value":"Traditional German-Style Bock",
"matchLevel":"none",
"matchedWords":[
]
},
"Category":{
"value":"German Lager",
"matchLevel":"none",
"matchedWords":[
]
}
},
"score":0.38754563863781427
}
]
}
https://us-central1-breww-220002.cloudfunctions.net/getAutoComplete?name={name}
name
: Substring to search for in indexed DBlimit
: Query limit, max number of records to fetchoffset
: Query offset, starting cursor (useful for pagination)
{
"hits":[
{
"name":"Bud Ice",
"id":"4383",
"brewery_id":"44",
"cat_id":"8",
"style_id":"95",
"abv":"5.5",
"ibu":"0",
"srm":"0",
"upc":"0",
"filepath":"",
"description":"Actually an Ice Lager. Introduced in 1984.",
"add_user":"0",
"last_mod":"2010-07-23T01:30:00+05:30",
"style":"American-Style Lager",
"category":"North American Lager",
"brewer":"Anheuser-Busch",
"address":"One Busch Place",
"city":"Saint Louis",
"state":"Missouri",
"country":"United States",
"coordinates":"38.5983, -90.209",
"website":"http://www.anheuser-busch.com/",
"objectID":"54787001",
"_highlightResult":{
"name":{
"value":"<em>Bud</em> Ice",
"matchLevel":"full",
"fullyHighlighted":false,
"matchedWords":[
"bud"
]
},
"style":{
"value":"American-Style Lager",
"matchLevel":"none",
"matchedWords":[
]
},
"category":{
"value":"North American Lager",
"matchLevel":"none",
"matchedWords":[
]
}
}
}
],
"nbHits":11,
"offset":0,
"length":1,
"processingTimeMS":1,
"exhaustiveNbHits":true,
"query":"Bud",
"params":"query=Bud&length=1&offset=0&restrictSearchableAttributes=%5B%22name%22%5D"
}
https://us-central1-breww-220002.cloudfunctions.net/getBeerImage?brand={brand}
brand
: Brand to get logo url
https://tse2.mm.bing.net/th?id=OIP.YoqWV0GWqRUZ1QgfrgIw2wHaDs&pid=Api