/v1/coefficient
Cooling constant ↔ properties
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/cooling-api/v1/coefficient" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cooling-api/v1/coefficient", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cooling-api/v1/coefficient");
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/cooling-api/v1/coefficient",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"mode": "k_from_properties",
"area_m2": 0.5,
"formula": "k = h·A/(m·c); τ = 1/k = m·c/(h·A).",
"mass_kg": 2,
"time_constant_s": 360,
"cooling_constant": 0.0027777778,
"specific_heat_j_kgk": 900,
"heat_transfer_coefficient_w_m2k": 10
},
"meta": {
"timestamp": "2026-06-04T10:18:45.352Z",
"request_id": "437b054d-fe91-4151-a6bd-ab3efd39aafe"
},
"status": "ok",
"message": "Cooling constant ↔ properties",
"success": true
}