/v1/meta
Spec
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/voltagedivider-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/voltagedivider-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/voltagedivider-api/v1/meta");
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/voltagedivider-api/v1/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"notes": "Volts, ohms, amps, watts. Ideal resistive divider; for a single Ohm's-law V/I/R relationship use an Ohm's-law API and for RC/RL filters an RC-filter API.",
"service": "voltagedivider-api",
"endpoints": {
"GET /v1/meta": "This document.",
"GET /v1/divide": "Vout, current and per-resistor power for an unloaded divider.",
"GET /v1/loaded": "Loaded divider — output with a load RL across R2, plus droop.",
"GET /v1/resistor": "Solve R1 or R2 for a target Vout."
},
"description": "Resistive voltage divider: output voltage, current and power; loaded divider with output droop; and resistor sizing for a target output."
},
"meta": {
"timestamp": "2026-06-05T19:50:29.710Z",
"request_id": "9d972638-8331-45b7-b5d5-bbbc7907b827"
},
"status": "ok",
"message": "Meta",
"success": true
}