/v1/aspect
Aspect ratio + weaves
Δοκιμάστε το ζωντανά
10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.
Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.
Λάβετε ένα κλειδί APIΑποσπάσματα κώδικα
curl "https://api.oanor.com/chainmaille-api/v1/aspect" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chainmaille-api/v1/aspect", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chainmaille-api/v1/aspect");
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/chainmaille-api/v1/aspect",
headers={"x-oanor-key": "oanor_test_..."}
)
Παράδειγμα απόκρισης
Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.
{
"data": {
"note": "Aspect Ratio = inner diameter ÷ wire diameter. It, not absolute size, decides which weaves work: too low and rings won't close through each other, too high and the weave is floppy. European 4-in-1 likes ~3.8–5.5; Byzantine ~3–4; dragonscale ~3–3.6.",
"inputs": {
"aspect_ratio": 4,
"wire_diameter": 1.6,
"inner_diameter": 6.4
},
"aspect_ratio": 4,
"wire_diameter": 1.6,
"inner_diameter": 6.4,
"suitable_weaves": [
"european-4-in-1",
"byzantine",
"box-chain",
"half-persian-3-1",
"full-persian-6-1",
"japanese-6-in-1",
"helm-chain"
]
},
"meta": {
"timestamp": "2026-06-06T07:13:57.916Z",
"request_id": "29ac2e80-b645-4740-b825-2cfb1958fe94"
},
"status": "ok",
"message": "Aspect ratio",
"success": true
}