/v1/meta
Spec
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/pid-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/pid-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/pid-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/pid-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"notes": "Ku is the ultimate gain, Tu its oscillation period; K/L/T are the process gain, dead time and time constant from a step response. type: P, PI, PD or PID.",
"service": "pid-api",
"formulae": {
"forms": "Ki=Kp/Ti, Kd=Kp·Td",
"zn_open_pid": "Kp=1.2·T/(K·L), Ti=2L, Td=0.5L",
"zn_closed_pid": "Kp=0.6Ku, Ti=0.5Tu, Td=0.125Tu"
},
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/convert": "Convert between parallel (Kp,Ki,Kd) and standard (Kp,Ti,Td) forms.",
"GET /v1/reaction-curve": "Open-loop ZN gains from process gain, dead time and time constant.",
"GET /v1/ziegler-nichols": "Closed-loop ZN gains from ultimate gain Ku and period Tu."
},
"description": "PID controller-tuning calculator: Ziegler-Nichols closed-loop (ultimate gain) and open-loop (reaction curve) tuning, and conversion between the parallel and standard PID forms."
},
"meta": {
"timestamp": "2026-06-05T11:30:28.791Z",
"request_id": "a716788e-8524-4fd9-bf35-765f60b48b39"
},
"status": "ok",
"message": "Meta",
"success": true
}