Aller au contenu
GET /v1/seasoning

Seasoning a new humidor

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/humidor-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

curl "https://api.oanor.com/humidor-api/v1/seasoning" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/humidor-api/v1/seasoning", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/humidor-api/v1/seasoning");
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/seasoning",
    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": "A new humidor's Spanish cedar must absorb moisture before it can hold RH, or it will rob your cigars. Use 84 %-RH seasoning packs (about one per 25-cigar capacity) for ~2 weeks with the lid closed, or the wipe-down method with distilled water — never tap water. Don't add cigars until a hygrometer holds steady around 70 %.",
        "inputs": {
            "days": 14,
            "capacity_cigars": 60
        },
        "rh_target_pct": 84,
        "seasoning_days": 14,
        "seasoning_packs": 3
    },
    "meta": {
        "timestamp": "2026-06-06T15:30:45.087Z",
        "request_id": "290b6340-9cf1-4aec-97a9-19ee06adb193"
    },
    "status": "ok",
    "message": "Seasoning",
    "success": true
}