/v1/series
Series LEDs
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/ledresistor-api/v1/series" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/ledresistor-api/v1/series", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/ledresistor-api/v1/series");
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/ledresistor-api/v1/series",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"note": "Series LEDs add forward voltages and share one resistor: R = (Vsupply − n·Vf)/I, the same current flows through all.",
"inputs": {
"count": 3,
"current_ma": 20,
"led_voltage": 2,
"supply_voltage": 12
},
"total_power_w": 0.24,
"resistance_ohm": 300,
"nearest_e12_ohm": 330,
"resistor_power_w": 0.12,
"total_led_voltage": 6
},
"meta": {
"timestamp": "2026-06-04T18:38:12.815Z",
"request_id": "0e1543ff-6818-4b29-8e8d-1c5ddc6f6d13"
},
"status": "ok",
"message": "Series LEDs",
"success": true
}