/v1/combination
Series/parallel
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/capacitor-api/v1/combination" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/capacitor-api/v1/combination", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/capacitor-api/v1/combination");
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/capacitor-api/v1/combination",
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": "Parallel: C = ΣCᵢ. Series: 1/C = Σ(1/Cᵢ). Output is in the same unit as the inputs.",
"inputs": {
"mode": "parallel",
"count": 3
},
"total_capacitance": 600
},
"meta": {
"timestamp": "2026-06-05T03:09:00.002Z",
"request_id": "c3851bc9-2530-41d6-93f2-cb942bebc1c9"
},
"status": "ok",
"message": "Series/parallel",
"success": true
}