{"code":200,"error":false,"data":[{"sku":"103274","name":"Berkshire Brewing Company Green Gown DIPA","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"Imperial \/ Double IPA","description":"A high gravity New England style IPA featuring Citra, Simcoe, Centennial and Experimental 431 hop varieties. This quarterly release is the shade of a hazy sunset, and is the perfect pairing for any season in New England. The alcohol is substantial enough to warm you in the winter, the aromatics welcome spring with bright floral and fruit, in summer the hop flavors of citrus and melon are reminiscent of fruit salad, and in fall the malt backbone and bready accents complement the cool autumn breezes. Coming in at 8.5% ABV, this beer drinks deviously smooth while provoking the olfactory with a tropical bouquet of blood orange flesh, grapefruit rind and melon. 2 row pale malt and German pilsner malt create a canvas for the hops to shine while providing enough body for a great drinking experience.","region":"Massachusetts","country":"United States","abv":"8.50%","ibu":"80","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Spicy Thai curry, Grilled steak, Dark chocolate.","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""},{"sku":"103278","name":"Berkshire Brewing Company Easy Like Mosaic NEIPA","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"New England \/ Hazy IPA","description":"What is New England \/ Hazy IPA?\n\nNew England \/ Hazy IPA is a style of beer that has become increasingly popular in recent years. The New England \/ Hazy IPA (India Pale Ale, for the long version) is characterized by a hazy, slightly opaque appearance and a smooth, creamy mouthfeel. There's a number of beers in this category that are lovingly called juice bombs, because they flavor feels like the perfect combination of orange juice and beer. Thank us later. The flavor is a complex balance of hop bitterness and hop aromas of tropical and citrus fruits, with a hint of malt sweetness. The malt in this beer variety provides a light body and smooth finish that is complemented by light bitterness that doesn't overly linger. You'll find that many, if not most NEIPAs have a higher ABV than other IPA varietals, usually between 5.5% - 7.5% ABV.","region":"South Deerfield, Massachusetts","country":"United States","abv":"6.80%","ibu":"35","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Spicy Thai curry, Grilled chicken, Citrus salad","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""},{"sku":"114454","name":"Berkshire Brewing Company Dandy Lion Haze NEIPA","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"New England \/ Hazy IPA","description":"","region":"South Deerfield, Massachusetts","country":"United States","abv":"6.80%","ibu":"45","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Spicy Thai food, Grilled chicken, Citrus salad","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""},{"sku":"117275","name":"Berkshire Brewing Company Gold Spike Kolsch Style Ale","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"Kolsch","sub_category_3":"","description":"","region":"Massachusetts","country":"United States","abv":"4.80%","ibu":"20","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Seafood, Salad, Chicken","suggested_glassware":"","serving_temp_f":"","serving_temp_c":"","beer_type":"","features":""},{"sku":"132274","name":"Berkshire Brewing Company Life On Marzen Oktoberfest","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Lager","sub_category_2":"Dark Lager","sub_category_3":"Oktoberfest","description":"","region":"South Deerfield, Massachusetts","country":"United States","abv":"5.50%","ibu":"22","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Pork, Pretzels, Apple Pie","suggested_glassware":"","serving_temp_f":"","serving_temp_c":"","beer_type":"","features":""}]}
curl --location --request GET 'https://zylalabs.com/api/11147/beer+data+retrieval+api/21044/beers+by+brewery?name=Berkshire brewing company' --header 'Authorization: Bearer YOUR_API_KEY'
{"code":200,"error":false,"data":{"sku":"100001","name":"Berkshire Easy Lite","brewery":"Berkshire Brewing Company","rating":"","category":"Beer","sub_category_1":"Ale","sub_category_2":"IPA","sub_category_3":"New England \/ Hazy IPA","description":"Everybody likes easy, so we made this NEIPA easy to like with Citra, Amarillo and Simcoe hops, a medium body and fermented it with a German style ale yeast. This double dry-hopped brew has a hazy straw color and a clean finish to make Easy Like a session-able NEIPA, easy for you to enjoy any time. #EasyLikeNEIPA","region":"Massachusetts","country":"United States","abv":"4.50%","ibu":"20","calories_per_serving_12oz":"","carbs_per_serving_12oz":"","tasting_notes":"","food_pairing":"Grilled chicken, Salad, Light pasta dishes","suggested_glassware":"Snifter\/Goblet\/Chalice","serving_temp_f":"45-50\u00b0 F","serving_temp_c":"7.2-10.0\u00b0 C","beer_type":"","features":""}}
curl --location --request GET 'https://zylalabs.com/api/11147/beer+data+retrieval+api/21046/beers+information?name=Berkshire Easy Lite' --header 'Authorization: Bearer YOUR_API_KEY'
注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 啤酒数据检索 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
| 标头 | 描述 |
|---|---|
授权
|
必需
应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。
|
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
(年度计费可节省 2 个月 🎉)
每个端点返回有关啤酒的详细信息,包括名称、酿酒厂、风格、酒精含量(ABV)、苦味水平(IBU)、食物搭配和描述等属性。该数据帮助用户理解每种啤酒的特点和背景
响应数据中的关键字段包括“sku”“name”“brewery”“description”“abv”“ibu”“food_pairing”和“serving_temp”这些字段提供了识别和理解每种啤酒的基本细节
响应数据采用JSON格式结构,通常包含一个表示状态的“code”、一个“error”标志和一个“data”对象。“data”对象包括具体的啤酒详情,使其易于解析和集成到应用中
每个端点提供关于啤酒的综合信息,包括名称、酿酒厂、风格、酒精含量、苦味、品尝笔记、食物搭配和理想饮用温度,以满足各种用户需求
用户可以通过指定啤酒名称、酿酒厂或风格等参数来自定义他们的请求 这允许进行有针对性的查询以根据用户的偏好或要求检索特定的啤酒信息
典型的使用案例包括开发啤酒推荐的移动应用程序 创建酿酒厂的在线目录 构建消费趋势的分析仪表盘以及以啤酒文化为重点的教育项目
数据准确性通过定期更新和质量检查得以维持,确保提供的信息可靠并反映全球酿酒厂最新的产品
在处理部分或空结果时,用户应检查响应中的“error”字段. 如果为真,则表示请求存在问题. 用户可以实现后备机制或提示,以改进查询以获得更好的结果