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.

Options

Description

cardsrealm_nickname

username in Cards Realm

this is default value

mtgo

Username in Magic Online

arena

Username in Magic Arena

lor

Username in Legends of Runeterra

display

Example

  • player_name: wdf
  • week: 52
  • player_platform: mtgo
curl -d "player_name=wdf&week=52&player_platform=mtgo" \
https://api.cardsrealm.com/tournament/getPlayerResults

Return

Information about player result overall and by deck

{
  "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
}