GET me/games/players?id={id}&type={type}
get members in the home and away teams of a specific game
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | game id |
Define this parameter in the request URI. |
type | game type |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "game_id": 1, "game_type": 0, "home": { "team_id": "sample string 1", "members": [ { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" } ] }, "away": { "team_id": "sample string 1", "members": [ { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" }, { "played": true, "is_mvp": true, "rsvp": 0, "id": "sample string 3", "first_name": "sample string 4", "last_name": "sample string 5", "avatar_url": "sample string 6" } ] } }
application/xml, text/xml
Sample:
<GamePlayersOutDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <away> <members> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> </members> <team_id>sample string 1</team_id> </away> <game_id>1</game_id> <game_type>RegularGame</game_type> <home> <members> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> <avatar_url>sample string 6</avatar_url> <first_name>sample string 4</first_name> <id>sample string 3</id> <last_name>sample string 5</last_name> <is_mvp>true</is_mvp> <played>true</played> <rsvp>NA</rsvp> </GamePlayersOutDto.GameTeamDto.GameTeamMemberDto> </members> <team_id>sample string 1</team_id> </home> </GamePlayersOutDto>