/v1/ppr
Points-per-round and in-hole stats
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/cornhole-api/v1/ppr" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cornhole-api/v1/ppr", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cornhole-api/v1/ppr");
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/cornhole-api/v1/ppr",
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": {
"ppr": 4.2,
"note": "Points per round (PPR) = total points scored ÷ rounds thrown — the headline ACL stat; competitive players run well above 4 PPR. The in-the-hole percentage = bags in the hole ÷ bags thrown shows your touch. Pass bags_in_hole and bags_thrown to include it.",
"inputs": {
"points": 84,
"rounds": 20
},
"in_hole_pct": 37.5
},
"meta": {
"timestamp": "2026-06-06T15:30:44.624Z",
"request_id": "81655bfb-1eac-4199-b34e-0bac3c40bae3"
},
"status": "ok",
"message": "PPR stats",
"success": true
}