/v1/burntime
Appliance run time
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/propane-api/v1/burntime" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/propane-api/v1/burntime", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/propane-api/v1/burntime");
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/propane-api/v1/burntime",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Run time = total BTU ÷ the appliance's BTU/hr input rating. A 20 lb cylinder (~431,000 BTU) runs a 30,000 BTU/hr patio heater about 14 hours.",
"inputs": {
"unit": "lb",
"tank_size": 20,
"appliance_btu": 30000
},
"run_days": 3.6,
"run_hours": 14.39,
"total_btu": 431653,
"usable_propane_gal": 4.72,
"propane_gal_per_hour": 0.328
},
"meta": {
"timestamp": "2026-06-06T07:14:06.090Z",
"request_id": "de265944-b688-4a93-a2b2-e1fa0632e786"
},
"status": "ok",
"message": "Burn time",
"success": true
}