/v1/stress-cycle
Stress cycle
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/fatigue-api/v1/stress-cycle" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fatigue-api/v1/stress-cycle", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fatigue-api/v1/stress-cycle");
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/fatigue-api/v1/stress-cycle",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Alternating stress σa = (σmax − σmin)/2 and mean stress σm = (σmax + σmin)/2. R = σmin/σmax: −1 is fully reversed, 0 is repeated.",
"inputs": {
"stress_max": 200,
"stress_min": -50
},
"mean_stress": 75,
"loading_type": "fluctuating",
"stress_range": 250,
"stress_ratio_R": -0.25,
"stress_amplitude": 125,
"amplitude_ratio_A": 1.666667
},
"meta": {
"timestamp": "2026-06-05T11:30:33.871Z",
"request_id": "cff9df14-34b9-4632-8fe2-b7eccf1b4636"
},
"status": "ok",
"message": "Stress cycle",
"success": true
}