#beverage
2 APIs met deze tag
Draft Beer API
Draft-beer dispense maths as an API, computed locally and deterministically — the CO₂ pressure and beer-line numbers a homebrewer, kegerator owner or bar sets a tap by. (This is the serving side; for ABV, gravity and IBU that is a homebrewing calculation.) The carbonation endpoint gives the regulator head pressure that holds a target carbonation at the serving temperature, from the standard volumes-temperature-pressure regression: 2.5 volumes of CO₂ at 38 °F needs about 11 psi, and colder beer holds the same carbonation at a lower pressure — British ales sit around 1.5–2.0 volumes, US ales 2.2–2.7, lagers and wheats higher. The balance endpoint sizes the beer line so the system pours a clean head instead of foaming or pouring slow: line length = (applied pressure − 0.5 × rise − residual) ÷ the line’s resistance per foot, where gravity adds about 0.5 psi per foot of lift and roughly 1 psi is left at the faucet — so 12 psi with no rise on 3/16-inch vinyl (≈3 psi/ft) wants about 3.7 feet, while narrower or wider tubing changes everything. Everything is computed locally and deterministically, so it is instant and private. Ideal for homebrew, kegerator, bar, brewery-taproom and beverage app developers, draft-system and troubleshooting tools, and hospitality software. Pure local computation — no key, no third-party service, instant. Dispense side only. Live, nothing stored. 2 compute endpoints.
api.oanor.com/draftbeer-api
Alcohol & ABV API
Alcohol- en cocktailberekeningen als een API, lokaal en deterministisch berekend — de ABV, verdunning en standaarddrankgetallen die een barman, brouwer of drankapp achter de bar uitrekent. Het abv-eindpunt mixt een drank: geef de ingrediënten als een volume:abv-lijst en het retourneert het uiteindelijke alcoholpercentage = (som van volume × ABV) ÷ totaal volume, dus een Negroni-stijl 2 delen op 40%, 1 op 20% en 1 mixer op 0% komt uit op 25% ABV (50 US proof), waarbij mixers het resultaat verdunnen. Het dilution-eindpunt modelleert ijs smelten en roeren, wat water toevoegt en de sterkte verlaagt: eindvolume = volume × (1 + verdunning) en ABV daalt met dezelfde factor terwijl de alcohol zelf ongewijzigd blijft, dus een 4 oz geroerde drank op 25% met 25% verdunning wordt 5 oz op 20% — geroerde dranken krijgen ongeveer 20–25%, geschud iets meer. Het standard-eindpunt telt de dosis: pure alcohol = volume × ABV, dan is een US standaarddrank 14 gram (0,6 fl oz) en een UK unit is 10 ml pure alcohol, dus een 12 fl oz bier op 5% is één standaarddrank (14 g, 1,77 UK units) en een 5 fl oz glas wijn van 12% ook. Alles wordt lokaal en deterministisch berekend, dus het is direct en privé. Ideaal voor bartending-, brouw-, drank-, horeca- en verantwoord drinken-app-ontwikkelaars, cocktailbouwer- en drinktracker-tools en barkeuzecalculators. Pure lokale berekening — geen key, geen externe service, direct. Live, niets opgeslagen. 3 compute-eindpunten. Gebruik voor drankrecepten een cocktails-database-API.
api.oanor.com/abv-api