Retrieve team win loss ratio
GET {{baseUrl}}/{{version}}/stats/gameresults/winloss/ratio/teams/{{team_id}}?from_date=2022-09-01&to_date=2023-02-17
It returns the Wins and Loss ratio for a given team on a period of time. This endpoint utilises the data that is provided by the Gameresults
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
from_date | string | required | |
to_date | string | required |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Win and Loss ratio results","result":{"win_percentage":75,"loss_percentage":25,"win_loss_ratio":300}}