Zum Inhalt springen
GET /v1/media

Humidification packs to maintain RH

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/humidor-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}