Vai al contenuto
GET /v1/gas

Shielding-gas consumption

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/welding-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/welding-api/v1/gas" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/welding-api/v1/gas", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/welding-api/v1/gas");
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/welding-api/v1/gas",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "Gas used = flow (CFH) × arc time in hours. A typical 35 CFH at the gun empties an 80 ft³ cylinder in about 2.3 hours of ARC time (not clock time). Crank flow down in a draught-free shop to save gas.",
        "inputs": {
            "flow_cfh": 35
        },
        "arc_minutes": 30,
        "cylinder_cf": 80,
        "gas_used_cf": 17.5,
        "cylinder_arc_hours": 2.29,
        "cylinder_arc_minutes": 137
    },
    "meta": {
        "timestamp": "2026-06-06T07:14:00.891Z",
        "request_id": "116862d7-ecd3-48ed-9ed9-108698af63a0"
    },
    "status": "ok",
    "message": "Shielding gas",
    "success": true
}