/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/weaving-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/weaving-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/weaving-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"notes": "Imperial inches in; yards out. Take-up (~10%), draw-in (~10%) and loom waste (~24\") have sensible defaults — measure your loom. EPI = ends per inch (the sett); WPI = wraps per inch of the yarn.",
"service": "weaving-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/sett": "Ends per inch from wraps per inch for plain, twill or satin weave.",
"GET /v1/warp": "Total ends and warp yarn from width, EPI, cloth length and take-up/waste.",
"GET /v1/weft": "Total weft yarn from picks per inch, width and length."
},
"description": "Weaving maths: warp yarn (ends & length), weft yarn, and sett (EPI from WPI) by weave structure."
},
"meta": {
"timestamp": "2026-06-06T07:14:09.030Z",
"request_id": "931bb998-1322-4822-b1ce-43720f1c75ea"
},
"status": "ok",
"message": "Meta",
"success": true
}