/v1/carbonation
CO₂ pressure for carbonation
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/draftbeer-api/v1/carbonation" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/draftbeer-api/v1/carbonation", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/draftbeer-api/v1/carbonation");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/draftbeer-api/v1/carbonation",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Regulator head pressure to hold the target CO₂ volumes at the serving temperature (the gas equilibrium). Colder beer holds CO₂ at lower pressure. British ales ~1.5–2.0 vols, US ales ~2.2–2.7, lagers ~2.4–2.8, many lagers/wheats higher.",
"inputs": {
"volumes": 2.5,
"temp_unit": "f",
"temperature_f": 38
},
"pressure_bar": 0.78,
"pressure_kpa": 77.5,
"pressure_psi": 11.2
},
"meta": {
"timestamp": "2026-06-06T07:14:00.221Z",
"request_id": "414c3b58-cdfe-45ea-8157-0607914d8060"
},
"status": "ok",
"message": "Carbonation pressure",
"success": true
}