Match Log

Request: GET

Returns a list of matches (plus statistics) a person has participated in.

HTTP Request

GET /v1/{sport}/matchlog/{personId}

Parameters

Parameter Name Value Description
Required Parameters
sport string The sport for which you are making the request
personId integer Unique identifier for the person.
Optional Parameters
leagueId integer Unique identifier for the league.
competitionId integer Unique identifier for the competition.
teamId integer Unique identifier for the team.
isPlayer integer Only display if the person was a player in this match. 1=Yes, 0=No.
isTeamOfficial integer Only display if the person was a team official in this match. 1=Yes, 0=No.
useExternalForLeague integer If this value is set to the leagueId of the matches, then the URL parameters personId, competitionId and teamId will instead refer to the externalId fields of their respective entities in that league.

Request Body

Do not supply a request body with this method.

Response

If successful this method returns an array of Match Log resources. This array is sorted in descending order of match date (UTC).