/v1/binding
Quilt binding
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/sewing-api/v1/binding" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/sewing-api/v1/binding", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/sewing-api/v1/binding");
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/sewing-api/v1/binding",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Binding length = perimeter + overlap for corners and joins. Strips = ceil(binding length ÷ fabric width), each cut at the strip width (2.5\" makes a common double-fold binding).",
"inputs": {
"quilt_width": 60,
"strip_width": 2.5,
"fabric_width": 44,
"quilt_height": 80
},
"strips_needed": 7,
"perimeter_inches": 280,
"fabric_length_yards": 0.4861,
"fabric_length_inches": 17.5,
"fabric_length_meters": 0.4445,
"binding_length_inches": 290
},
"meta": {
"timestamp": "2026-06-06T07:14:09.691Z",
"request_id": "4811186a-5c31-4043-8f3b-8c4d9ed95fdb"
},
"status": "ok",
"message": "Quilt binding",
"success": true
}