Vai al contenuto
GET /v1/printexposure

Enlarger exposure by magnification

Provalo dal vivo

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

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

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

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

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

{
    "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
}