/v1/logistic
Logistic growth
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/populationgrowth-api/v1/logistic" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/populationgrowth-api/v1/logistic", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/populationgrowth-api/v1/logistic");
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/populationgrowth-api/v1/logistic",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Logistic growth N(t) = K/(1 + ((K−N0)/N0)·e^(−r·t)); growth slows as N approaches the carrying capacity K, fastest at N = K/2 (the inflection point).",
"inputs": {
"rate": 0.5,
"time": 10,
"initial": 10,
"carrying_capacity": 1000
},
"population": 599.859602,
"inflection_time": 9.19024,
"fraction_of_capacity": 0.5998596
},
"meta": {
"timestamp": "2026-06-05T19:50:17.605Z",
"request_id": "42f0f3f6-84e3-4f19-b004-2eab54c29296"
},
"status": "ok",
"message": "Logistic growth",
"success": true
}