Zum Inhalt springen
GET /v1/warp

Warp ends & yarn

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/weaving-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "Ends = warp width × EPI. Warp length per end = cloth length × (1 + take-up) × (1 + shrinkage) + loom waste. Total warp = ends × that length.",
        "inputs": {
            "epi": 12,
            "loom_waste": 24,
            "warp_width": 20,
            "cloth_length": 60,
            "takeup_percent": 10
        },
        "total_ends": 240,
        "total_warp_yarn_yards": 600,
        "total_warp_yarn_inches": 21600,
        "warp_length_per_end_inches": 90
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:08.838Z",
        "request_id": "a3571fdb-87a1-476d-a1af-79a820e70389"
    },
    "status": "ok",
    "message": "Warp yarn",
    "success": true
}