/v1/drag
Drag setting from line strength
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/fishing-api/v1/drag" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/fishing-api/v1/drag", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/fishing-api/v1/drag");
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/fishing-api/v1/drag",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Set the drag to about 25–33 % of the line's breaking strength — measured at the reel with a scale, with line off the rod tip, not at the spool. That lets a fish run before anything snaps while still tiring it. Braid can take the higher end; a stretchy mono or a fragile knot, the lower. Back off the drag when a big fish is close to the boat.",
"inputs": {
"line_test": 20
},
"percent": 30,
"drag_max": 6.6,
"drag_min": 5,
"drag_at_percent": 6
},
"meta": {
"timestamp": "2026-06-06T15:30:42.228Z",
"request_id": "9d9a655a-10f1-4d07-9816-d06fd4dafd56"
},
"status": "ok",
"message": "Drag setting",
"success": true
}