---
agentTools:
  projectIndex: https://cardsrealm.readme.io/llms.txt
---

# /tournament/getPlayerResults

Get result from a specific player in a tournament

# Parameters

* player\_name: name of the player.\
  Default is Null  Default: ""
* week: number of weeks from now to the request.\
  Default 52 (1 year)
* player\_platform: platform where the player name is used.

[block:parameters]
{
  "data": {
    "h-0": "Options",
    "h-1": "Description",
    "0-0": "cardsrealm_nickname",
    "0-1": "username in Cards Realm  \n  \nthis is **default** value",
    "1-0": "mtgo",
    "1-1": "Username in Magic Online",
    "2-0": "arena",
    "2-1": "Username in Magic Arena",
    "3-0": "lor",
    "3-1": "Username in Legends of Runeterra",
    "4-0": "display",
    "4-1": ""
  },
  "cols": 2,
  "rows": 5,
  "align": [
    "left",
    "left"
  ]
}
[/block]

# Example

* player\_name: **wdf**
* week: **52**
* player\_platform: **mtgo**

```curl curl
curl -d "player_name=wdf&week=52&player_platform=mtgo" \
https://mtg.cardsrealm.com/en-us/api/getPlayerResults
```

# Return

Information about player result overall and by deck

<div class="rdmd-pinned">

```json Output
{
  "by_meta": [
    {
      "deck_url": "https://cardsrealm.com/metagame/Pauper/burn", 
      "decks_meta_name": "Burn", 
      "draws": 0, 
      "losses": 8, 
      "matches": 25, 
      "points": 51, 
      "tournaments": 5, 
      "victories": 17
    }, 
    {
      "deck_url": "https://cardsrealm.com/metagame/Pauper/monoblack-control", 
      "decks_meta_name": "Monoblack Control", 
      "draws": 0, 
      "losses": 1, 
      "matches": 6, 
      "points": 15, 
      "tournaments": 1, 
      "victories": 5
    }, 
    {
      "deck_url": "https://cardsrealm.com/metagame/Pauper/mono-black-devotion", 
      "decks_meta_name": "Mono Black Devotion", 
      "draws": 0, 
      "losses": 20, 
      "matches": 41, 
      "points": 63, 
      "tournaments": 9, 
      "victories": 21
    }
  ], 
  "draws": 0, 
  "league_player_arena": null, 
  "league_player_display": "William Floriano", 
  "league_player_image": "https://cardsrealm.com/images/King_Slime_4.png", 
  "league_player_mtgo": "wdf", 
  "league_player_riot": null, 
  "losses": 29, 
  "matches": 72, 
  "player_url": "https://cardsrealm.com/leagues/player/nl-william-floriano", 
  "points": 129, 
  "tournaments": 15, 
  "victories": 43
}
```

</div>