/v1/stitches
Stitches/rows for dimensions
Probeer het live
10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.
Het werkt. Haal een API-key op en gebruik hem in je project.
Verkrijg een API-sleutelCodefragmenten
curl "https://api.oanor.com/knitting-api/v1/stitches" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/knitting-api/v1/stitches", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/knitting-api/v1/stitches");
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/knitting-api/v1/stitches",
headers={"x-oanor-key": "oanor_test_..."}
)
Voorbeeldrespons
Een echte respons van dit endpoint, vastgelegd bij de laatste health check.
{
"data": {
"note": "Stitches = (width/10)·gauge, rows = (length/10)·row-gauge, with gauge measured per 10 cm. Cast on the rounded stitch count.",
"rows": 180,
"inputs": {
"width_cm": 50,
"length_cm": 60,
"rows_per_10cm": 30,
"stitches_per_10cm": 22
},
"stitches": 110,
"rows_exact": 180,
"stitches_exact": 110
},
"meta": {
"timestamp": "2026-06-05T19:50:19.840Z",
"request_id": "0cfd9f42-4dfe-472e-84a1-85755aa766a0"
},
"status": "ok",
"message": "Stitches for dimensions",
"success": true
}