/v1/warmup
Warm-up ramp
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/barbell-api/v1/warmup" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/barbell-api/v1/warmup", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/barbell-api/v1/warmup");
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/barbell-api/v1/warmup",
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": "A 4-step ramp at ~40/55/70/85% of the working weight, rounded to a loadable increment, then your working sets. Fewer reps as the bar gets heavier.",
"inputs": {
"bar_weight": 20,
"working_weight": 100
},
"warmup_sets": [
{
"reps": 8,
"weight": 40,
"percent": 40
},
{
"reps": 5,
"weight": 55,
"percent": 55
},
{
"reps": 3,
"weight": 70,
"percent": 70
},
{
"reps": 2,
"weight": 85,
"percent": 85
},
{
"reps": "working sets",
"weight": 100,
"percent": 100
}
]
},
"meta": {
"timestamp": "2026-06-06T07:14:06.693Z",
"request_id": "f8a54532-c39a-4931-b9d3-55bdc9cbbe62"
},
"status": "ok",
"message": "Warmup ramp",
"success": true
}