/v1/area
Hide area + project yield
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/leather-api/v1/area" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/leather-api/v1/area", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/leather-api/v1/area");
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/leather-api/v1/area",
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": {
"note": "Hide area converted between US square feet, EU square decimetres (1 ft² = 9.29 dm²) and m². Pass project_sqft (and waste_percent) to size how many such hides a project needs.",
"inputs": {
"from": "sqft",
"value": 50
},
"square_feet": 50,
"square_meters": 4.645,
"square_decimeters": 464.52
},
"meta": {
"timestamp": "2026-06-06T07:14:01.526Z",
"request_id": "8038f48d-d275-4946-a029-80219a939aaa"
},
"status": "ok",
"message": "Hide area",
"success": true
}