Vai al contenuto
GET /v1/media

Humidification packs to maintain RH

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "data": {
        "note": "One 60 g humidification pack holds about 25 cigars' worth of air at a steady RH; size up for bigger humidors and when you open the lid often. Two-way packs (e.g. 69 % RH) both add and absorb moisture — replace them when they go stiff, roughly every two months. A fuller humidor holds RH more steadily than an empty one.",
        "inputs": {
            "capacity_cigars": 40,
            "cigars_per_pack": 25
        },
        "packs_needed": 2,
        "replace_every_weeks": 8
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:44.993Z",
        "request_id": "f802be88-3e44-45dd-b90c-bf6dd9a8526e"
    },
    "status": "ok",
    "message": "Humidification media",
    "success": true
}