/v1/heat-time
Hours to heat by a temperature rise
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/poolheat-api/v1/heat-time" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/poolheat-api/v1/heat-time", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/poolheat-api/v1/heat-time");
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/poolheat-api/v1/heat-time",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Energy to heat water = gallons × 8.34 lb/gal × the temperature rise in °F (that many BTU). Divide by the heater's BTU/hr output for the run-time. This is the ideal — real pools also lose heat from the surface as they warm, so allow extra, especially in wind or uncovered.",
"hours": 4.17,
"inputs": {
"temp_rise_f": 10,
"volume_gallons": 20000,
"heater_btu_per_hr": 400000
},
"minutes": 250,
"total_btu": 1668000
},
"meta": {
"timestamp": "2026-06-06T15:30:43.863Z",
"request_id": "b490fb06-fb79-409a-a11b-dbc517a60f4a"
},
"status": "ok",
"message": "Heat time",
"success": true
}