/v1/media
Humidification packs to maintain RH
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}