Aller au contenu
GET /v1/sheets

Sheets & screws

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/drywall-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/drywall-api/v1/sheets" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/drywall-api/v1/sheets", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/drywall-api/v1/sheets");
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/drywall-api/v1/sheets",
    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": "Sheets = ceil(area·(1+waste) / sheet area). Default sheet 2.4 × 1.2 m, ~32 screws per sheet.",
        "inputs": {
            "area": 50,
            "sheet_width": 1.2,
            "sheet_length": 2.4,
            "waste_percent": 10
        },
        "screws_needed": 640,
        "sheet_area_m2": 2.88,
        "sheets_needed": 20
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:17.303Z",
        "request_id": "b45dfa19-8893-4878-b2b4-01662a352a17"
    },
    "status": "ok",
    "message": "Sheets needed",
    "success": true
}