Author Topic: Use Data to external site  (Read 187 times)

test-hunani

  • Newbie
  • *
  • Posts: 1
    • View Profile
Use Data to external site
« on: July 24, 2017, 05:35:00 AM »
There is any API or  any other way by that we can get data from your side and we can display it to our website???

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Use Data to external site
« Reply #1 on: July 26, 2017, 12:24:10 PM »
There are several ways to export data.  You can export data about the current tournament to CSV or HTML (using an included template or your own) from the Game tab by pressing the Export button.  You can export specific tournament data, such as the level structure, the prizes, the tables, the players, etc, from each of the respective tabs in the Settings window.

If you're looking for statistical data over multiple tournaments, you can export from the Stats tab.

If you want real-time information about the currently running tournament, you can use the "Status Updates" feature found on the Preferences tab.  That can write data to a file or post it to a URL during your tournament.  In the upcoming version 3.4, that feature has been expanded to use a JSON format option and also optionally include player-specific data.

Mesnik44

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Use Data to external site
« Reply #2 on: November 13, 2017, 12:52:05 PM »
Hi Corey,

What are the new fields that we can use for player-specific data?

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5402
    • View Profile
Re: Use Data to external site
« Reply #3 on: November 13, 2017, 03:31:50 PM »
I didn't get to updating the user manual, so it's easiest just to try it out.  If you turn on the Status Updates feature and have it write to a file, you can see the whole enchilada.  Here's what a sample player looks like:


  "Nickname":"Jimmy D.",
  "Firstname":"Jimmy",
  "Lastname":"Dykstra",
  "StreetAddress":"",
  "City":"",
  "State":"",
  "Zipcode":"",
  "Country":"",
  "Phone1":"",
  "Phone2":"",
  "Email1":"",
  "Email2":"",
  "Notes":"",
  "OptID":"",
  "Name":"Jimmy D.",
  "InternalID":"fd326760-8d53-f1da-3528-1705f8779447261",
  "Paid":true,
  "PaidInFull":false,
  "BuyinCost":55,
  "BountyChip":5,
  "TotalBuyinRake":5,
  "BuyinChips":1500,
  "Rebuys":1,
  "RebuysCost":75,
  "TotalRebuysRake":5,
  "RebuysChips":1000,
  "Addons":1,
  "AddonsCost":50,
  "TotalAddonsRake":5,
  "AddonsChips":500,
  "TotalCost":185,
  "TotalRake":15,
  "ChipsBought":3000,
  "TimeOut":0,
  "RoundOut":0,
  "Hitman":[ 
  ],
  "HitmanID":[ 
  ],
  "Rank":1,
  "Hits":1,
  "BountiesWon":1,
  "PrizeWinnings":677.3,
  "BountyWinnings":5,
  "TotalWinnings":682.3,
  "Points":0,
  "Take":497.29999999999995,
  "ChipCount":1000,
  "BountiesKept":0,
  "BountyMoneyKept":0,
  "PlayingTime":1451050,
  "Seat":"",
  "BuyinTime":1138362538250,
  "Status":"GameOver",
  "BuyinsList":[ 
    { 
      "Time":1138362538250,
      "Round":1,
      "Amount":55,
      "Bounty":5,
      "Rake":[ 
        5
      ],
      "Chips":1500,
      "Points":0,
      "BustOut":{ 
        "Time":1139060056938,
        "Round":1,
        "Hitman":[ 
          "Carlos"
        ],
        "HitmanID":[ 
          "3b2ff9a0-8f53-11da-3528-4740f22f308036"
        ]
      }
    },
    { 
      "Time":1139757575625,
      "Round":1,
      "Amount":75,
      "Bounty":0,
      "Rake":[ 
        5
      ],
      "Chips":1000,
      "Points":0,
      "BustOut":null
    }
  ],
  "AddonsList":[ 
    { 
      "Time":1140455094313,
      "Round":1,
      "Amount":50,
      "Rake":[ 
        5
      ],
      "Chips":500,
      "Points":0
    }
  ]
}

Mesnik44

  • Jr. Member
  • **
  • Posts: 60
    • View Profile
Re: Use Data to external site
« Reply #4 on: November 14, 2017, 05:10:24 PM »
Thank you!