Aller au contenu
GET /v1/meta

Spec

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/windload-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/windload-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/windload-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/windload-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/windload-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": "Wind speed in m/s, area in m², density in kg/m³ (default 1.225), force in N. Simplified rigid-body model — gust effect factors, exposure and topography from a building code are not applied.",
        "service": "windload-api",
        "formulae": {
            "force": "F = q·Cf·A",
            "beaufort": "v = 0.836·B^1.5 (m/s)",
            "velocity_pressure": "q = ½·ρ·v²"
        },
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/force": "Wind force F = q·Cf·A on a surface, with overturning moment for a given height.",
            "GET /v1/beaufort": "Convert between wind speed and the Beaufort scale, with description and pressure.",
            "GET /v1/pressure": "Velocity pressure q = ½ρv²; solves wind speed from a pressure."
        },
        "description": "Structural wind-load calculator: velocity (dynamic) pressure, wind force on a surface with overturning moment, and Beaufort-scale conversion."
    },
    "meta": {
        "timestamp": "2026-06-04T18:38:26.525Z",
        "request_id": "1d59d033-8129-48e8-9152-f265527e44a4"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}