Retrieve team win loss

GET {{baseUrl}}/{{version}}/stats/gameresults/winloss/teams/{{team_id}}?from_date={{YY-MM-DD}}&to_date={{YY-MM-DD}}

It returns the Wins and Losses for a team.

A%20team%20win%20and%20loss

This endpoint utilises the data that is provided by the Gameresults

Request Params

KeyDatatypeRequiredDescription
from_datestringrequired
to_datestringrequired

HEADERS

KeyDatatypeRequiredDescription
AuthorizationstringA valid JWT token

RESPONSES

status: OK

{"error":false,"code":200,"message":"Win and Loss results","result":[{"result":"won","won_by":2,"lost_by":0,"team_id":129,"event_id":1831},{"result":"won","won_by":1,"lost_by":0,"team_id":129,"event_id":1897},{"result":"won","won_by":19,"lost_by":0,"team_id":129,"event_id":2028},{"result":"won","won_by":8,"lost_by":0,"team_id":129,"event_id":2027},{"result":"won","won_by":7,"lost_by":0,"team_id":129,"event_id":2057},{"result":"won","won_by":9,"lost_by":0,"team_id":129,"event_id":2059},{"result":"won","won_by":10,"lost_by":0,"team_id":129,"event_id":2058},{"result":"lost","won_by":0,"lost_by":9,"team_id":129,"event_id":2115},{"result":"lost","won_by":0,"lost_by":7,"team_id":129,"event_id":2060},{"result":"lost","won_by":0,"lost_by":22,"team_id":129,"event_id":2233},{"result":"won","won_by":26,"lost_by":0,"team_id":129,"event_id":2062},{"result":"won","won_by":77,"lost_by":0,"team_id":129,"event_id":2234}]}