/v1/meta
Spec
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/gradecalc-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/gradecalc-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/gradecalc-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/gradecalc-api/v1/meta",
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": "Percentages 0–100; weights accept percent (30) or fraction (0.3). For multi-course GPA from credit hours, use a GPA API.",
"service": "gradecalc",
"endpoints": {
"/v1/needed": "Score needed on the final/remaining work to reach a target overall grade.",
"/v1/average": "Weighted average of graded components (score:weight list).",
"/v1/projected": "Projected overall grade for a hypothetical final score."
},
"description": "Single-course grade maths: score needed on the final for a target, projected overall grade, and weighted component average."
},
"meta": {
"timestamp": "2026-06-04T01:59:15.758Z",
"request_id": "893dfe8e-541f-4ec1-828b-e3f73b6f2c7f"
},
"status": "ok",
"message": "Meta",
"success": true
}