Vai al contenuto
GET /v1/combined

Combined gas law

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "v2": {
            "m3": 0.0005,
            "ml": 500,
            "ft3": 0.017657333,
            "litres": 0.5
        },
        "note": "Combined gas law: P₁V₁/T₁ = P₂V₂/T₂. Provide state 1 and two of state 2.",
        "input": {
            "t1_k": 273,
            "p1_pa": 101325,
            "v1_m3": 0.001
        },
        "variable": "v2",
        "solved_for": "v2"
    },
    "meta": {
        "timestamp": "2026-06-04T01:59:13.164Z",
        "request_id": "b0368af6-3d71-493b-8460-1d03a8257076"
    },
    "status": "ok",
    "message": "Combined gas law",
    "success": true
}