/v1/printexposure
Enlarger exposure by magnification
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/darkroom-api/v1/printexposure" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/darkroom-api/v1/printexposure", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/darkroom-api/v1/printexposure");
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/darkroom-api/v1/printexposure",
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": "When you raise the enlarger head for a bigger print the light spreads out, so exposure ∝ (magnification + 1)² (magnification = print size ÷ negative size). Adjust by the stops shown using your timer's f-stop mode, then fine-tune with a test strip — paper and focus drift matter too.",
"inputs": {
"old_time_seconds": 10,
"new_magnification": 4,
"old_magnification": 2
},
"stops_change": 1.47,
"exposure_ratio": 2.778,
"new_time_seconds": 27.78
},
"meta": {
"timestamp": "2026-06-06T15:30:47.099Z",
"request_id": "981d4382-06a1-4593-8884-73e54153ee3f"
},
"status": "ok",
"message": "Enlarger exposure",
"success": true
}