GET members/{id}/stats
Get the current player card (stats) which will reflect a similar set of statistics to those shown on the IML website.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | memberid |
Define this parameter in the request URI. |
Response Information
Response body formats
application/json, text/json
Sample:
{ "wins": 1, "losses": 2, "ties": 3, "wpct": "sample string 4", "performance_meter": "sample string 5", "games_played": 6, "teams_played_on": 7, "net_effect_on_games_played_in": "sample string 8", "most_active_season": "sample string 9", "played_most": "sample string 10", "games": [ { "id": "sample string 1", "name": "sample string 2", "games_played": 3, "game_performance": "sample string 4", "best_regular_season_finish": "sample string 5", "worst_regular_season_finish": "sample string 6", "trophies": 7, "teams_played_on": 8, "captains": 9, "net_effect_on_games_played_in": "sample string 10" }, { "id": "sample string 1", "name": "sample string 2", "games_played": 3, "game_performance": "sample string 4", "best_regular_season_finish": "sample string 5", "worst_regular_season_finish": "sample string 6", "trophies": 7, "teams_played_on": 8, "captains": 9, "net_effect_on_games_played_in": "sample string 10" }, { "id": "sample string 1", "name": "sample string 2", "games_played": 3, "game_performance": "sample string 4", "best_regular_season_finish": "sample string 5", "worst_regular_season_finish": "sample string 6", "trophies": 7, "teams_played_on": 8, "captains": 9, "net_effect_on_games_played_in": "sample string 10" } ], "trophies": [ { "place": "sample string 1", "year": 2, "score": "sample string 3", "network": { "id": "sample string 1", "name": "sample string 2" }, "season": 4, "sport": { "id": "sample string 1", "name": "sample string 2" }, "league": { "id": "sample string 1", "name": "sample string 2" }, "division": { "id": "sample string 1", "name": "sample string 2" }, "team": { "id": "sample string 1", "name": "sample string 2" } }, { "place": "sample string 1", "year": 2, "score": "sample string 3", "network": { "id": "sample string 1", "name": "sample string 2" }, "season": 4, "sport": { "id": "sample string 1", "name": "sample string 2" }, "league": { "id": "sample string 1", "name": "sample string 2" }, "division": { "id": "sample string 1", "name": "sample string 2" }, "team": { "id": "sample string 1", "name": "sample string 2" } }, { "place": "sample string 1", "year": 2, "score": "sample string 3", "network": { "id": "sample string 1", "name": "sample string 2" }, "season": 4, "sport": { "id": "sample string 1", "name": "sample string 2" }, "league": { "id": "sample string 1", "name": "sample string 2" }, "division": { "id": "sample string 1", "name": "sample string 2" }, "team": { "id": "sample string 1", "name": "sample string 2" } } ] }
application/xml, text/xml
Sample:
<MemberStatsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/imLeagues.API.DTO"> <games> <MemberGameStatsDto /> <MemberGameStatsDto /> <MemberGameStatsDto /> </games> <games_played>6</games_played> <losses>2</losses> <most_active_season>sample string 9</most_active_season> <net_effect_on_games_played_in>sample string 8</net_effect_on_games_played_in> <performance_meter>sample string 5</performance_meter> <played_most>sample string 10</played_most> <teams_played_on>7</teams_played_on> <ties>3</ties> <trophies> <MemberTrophyStatsDto> <division> <id>sample string 1</id> <name>sample string 2</name> </division> <league> <id>sample string 1</id> <name>sample string 2</name> </league> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <place>sample string 1</place> <score>sample string 3</score> <season>4</season> <sport> <id>sample string 1</id> <name>sample string 2</name> </sport> <team> <id>sample string 1</id> <name>sample string 2</name> </team> <year>2</year> </MemberTrophyStatsDto> <MemberTrophyStatsDto> <division> <id>sample string 1</id> <name>sample string 2</name> </division> <league> <id>sample string 1</id> <name>sample string 2</name> </league> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <place>sample string 1</place> <score>sample string 3</score> <season>4</season> <sport> <id>sample string 1</id> <name>sample string 2</name> </sport> <team> <id>sample string 1</id> <name>sample string 2</name> </team> <year>2</year> </MemberTrophyStatsDto> <MemberTrophyStatsDto> <division> <id>sample string 1</id> <name>sample string 2</name> </division> <league> <id>sample string 1</id> <name>sample string 2</name> </league> <network> <id>sample string 1</id> <name>sample string 2</name> </network> <place>sample string 1</place> <score>sample string 3</score> <season>4</season> <sport> <id>sample string 1</id> <name>sample string 2</name> </sport> <team> <id>sample string 1</id> <name>sample string 2</name> </team> <year>2</year> </MemberTrophyStatsDto> </trophies> <wins>1</wins> <wpct>sample string 4</wpct> </MemberStatsDto>