/v1/properties
Properties
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/complexnumber-api/v1/properties" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/complexnumber-api/v1/properties", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/complexnumber-api/v1/properties");
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/complexnumber-api/v1/properties",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "|z| = √(a²+b²), arg = atan2(b,a). Conjugate flips the imaginary sign; reciprocal = conjugate/|z|².",
"real": 3,
"inputs": {
"z": "3 + 4i"
},
"modulus": 5,
"negation": "-3 - 4i",
"conjugate": "3 - 4i",
"imaginary": 4,
"polar_form": "5 ∠ 53.130102°",
"reciprocal": "0.12 - 0.16i",
"rectangular": "3 + 4i",
"argument_deg": 53.130102354,
"argument_rad": 0.927295218
},
"meta": {
"timestamp": "2026-06-04T18:38:04.519Z",
"request_id": "10f2d9b8-2c67-4929-9ea1-e4752c597244"
},
"status": "ok",
"message": "Properties",
"success": true
}