cURL
curl --request POST \ --url https://padelapi.org/api/matches/simulate \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "team_1": [ 123 ], "team_2": [ 123 ] } '
{ "name": "<string>", "probability": { "team_1": 123, "team_2": 123 }, "players": { "team_1": [ { "id": 123, "self": "<string>", "name": "<string>", "url": "<string>", "photo_url": "<string>", "category": "<string>", "ranking": "<string>", "points": 123, "height": 123, "nationality": "<string>", "birthplace": "<string>", "birthdate": "<string>", "age": "<string>", "hand": "<unknown>", "side": "<string>", "links": "<string>", "connections": { "matches": "<string>" } } ], "team_2": [ { "id": 123, "self": "<string>", "name": "<string>", "url": "<string>", "photo_url": "<string>", "category": "<string>", "ranking": "<string>", "points": 123, "height": 123, "nationality": "<string>", "birthplace": "<string>", "birthdate": "<string>", "age": "<string>", "hand": "<unknown>", "side": "<string>", "links": "<string>", "connections": { "matches": "<string>" } } ] } }
Endpoint to simulate a match between two teams (or players) based on their ratings.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
1 - 2
Show child attributes