Μετάβαση στο περιεχόμενο
GET /v1/sag

Sag from a known tension

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/slackline-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

curl "https://api.oanor.com/slackline-api/v1/sag" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/slackline-api/v1/sag", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/slackline-api/v1/sag");
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/slackline-api/v1/sag",
    headers={"x-oanor-key": "oanor_test_..."}
)

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

{
    "data": {
        "note": "The sag a mid-span load settles to for a given line tension: sin(angle) = body weight ÷ twice the tension, and the sag = half the span × tan(angle). Tighten the line (raise the tension) and the sag — and the angle — shrink, but the anchor load climbs; slacken it and the line dips deeper but pulls the anchors far less. If the tension is below half the body weight the line cannot hold the load at the centre at all.",
        "sag_m": 1.5,
        "inputs": {
            "load_kg": 80,
            "tension_n": 3292,
            "line_length_m": 25
        },
        "load_force_n": 784.53,
        "sag_angle_deg": 6.843
    },
    "meta": {
        "timestamp": "2026-06-07T08:17:55.871Z",
        "request_id": "1a63b174-97f9-4897-b16e-d7dcedd41f56"
    },
    "status": "ok",
    "message": "Sag",
    "success": true
}