/v1/salinity
Salinity from salt + water
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/fermentation-api/v1/salinity" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fermentation-api/v1/salinity", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fermentation-api/v1/salinity");
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/fermentation-api/v1/salinity",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Two ways to express the same brine: percent of the water (the recipe convention) and percent of the total solution (what a refractometer or hydrometer reads). For a 5 %-of-water brine, the total reads about 4.76 %.",
"inputs": {
"salt_g": 50,
"water_g": 1000
},
"percent_of_total": 4.76,
"percent_of_water": 5
},
"meta": {
"timestamp": "2026-06-06T15:30:52.445Z",
"request_id": "ff0ba80c-0902-4375-9555-0252e67b89a1"
},
"status": "ok",
"message": "Salinity",
"success": true
}