/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/solarthermal-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solarthermal-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solarthermal-api/v1/meta");
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/solarthermal-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "US units. Output = area × daily irradiance × efficiency; area = (gal × 8.34 × ΔT) ÷ (irradiance × efficiency); tank ≈ 1.5 gal/ft². Estimates — for the local solar resource use a solar-irradiance API; for pool heating use a pool API.",
"service": "solarthermal-api",
"endpoints": {
"GET /v1/area": "Collector area to meet a daily hot-water demand.",
"GET /v1/meta": "This document.",
"GET /v1/tank": "Solar storage-tank size from collector area.",
"GET /v1/output": "Useful daily heat from a collector (area × irradiance × efficiency)."
},
"description": "Solar-thermal (solar hot water) maths: collector daily output, the collector area for a hot-water demand, and the storage-tank size."
},
"meta": {
"timestamp": "2026-06-06T23:53:57.511Z",
"request_id": "016613c3-3a72-433e-b764-fd4a2d2ccb6f"
},
"status": "ok",
"message": "Meta",
"success": true
}