/v1/mirror
Mirror equation
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/lens-api/v1/mirror" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/lens-api/v1/mirror", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/lens-api/v1/mirror");
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/lens-api/v1/mirror",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Real images form in front of the mirror (di > 0); virtual images behind it.",
"formula": "1/f = 1/do + 1/di; f = R/2; m = −di/do.",
"image_size": "reduced",
"image_type": "real",
"mirror_type": "concave (converging)",
"focal_length": 10,
"magnification": -0.5,
"image_distance": 15,
"object_distance": 30,
"image_orientation": "inverted",
"radius_of_curvature": 20
},
"meta": {
"timestamp": "2026-06-04T10:18:47.068Z",
"request_id": "01e3a1b2-1a11-48f4-b4bb-b967a4e27369"
},
"status": "ok",
"message": "Mirror equation",
"success": true
}