curl --request GET \
--url https://hedgeem-server.qeetoto.com/api/players/{playerId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://hedgeem-server.qeetoto.com/api/players/{playerId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://hedgeem-server.qeetoto.com/api/players/{playerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://hedgeem-server.qeetoto.com/api/players/{playerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hedgeem-server.qeetoto.com/api/players/{playerId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hedgeem-server.qeetoto.com/api/players/{playerId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hedgeem-server.qeetoto.com/api/players/{playerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"playerId": "abc123",
"username": "simon.hewins@gmail.com",
"displayName": "Simon",
"accountBalance": 1000,
"avatarImageUrl": "/avatars/user_square.jpg",
"role": "BASIC_USER",
"isActive": true,
"personalTableId": 1
}{
"error": "betAmount must be a positive number."
}{
"error": "Missing or invalid Authorization header."
}Get player
Returns a player’s profile, account balance, and personal table assignment.
On first call for a new OAuth user, automatically creates a players row
and a wallets row with a £1,000 welcome balance. Subsequent calls return
the live wallets.balance — reflecting any deposits, withdrawals, buy-ins,
and leave payouts since registration.
accountBalance is the lobby wallet (not the seat balance). To get the
seat balance at a specific table, call GET /api/tables/{tableId}/state.
Equivalent to ws_get_player_account_balance in the legacy C# server.
curl --request GET \
--url https://hedgeem-server.qeetoto.com/api/players/{playerId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://hedgeem-server.qeetoto.com/api/players/{playerId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://hedgeem-server.qeetoto.com/api/players/{playerId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://hedgeem-server.qeetoto.com/api/players/{playerId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://hedgeem-server.qeetoto.com/api/players/{playerId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://hedgeem-server.qeetoto.com/api/players/{playerId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://hedgeem-server.qeetoto.com/api/players/{playerId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"playerId": "abc123",
"username": "simon.hewins@gmail.com",
"displayName": "Simon",
"accountBalance": 1000,
"avatarImageUrl": "/avatars/user_square.jpg",
"role": "BASIC_USER",
"isActive": true,
"personalTableId": 1
}{
"error": "betAmount must be a positive number."
}{
"error": "Missing or invalid Authorization header."
}Authorizations
Supabase Auth JWT. Obtain via Supabase Auth sign-in.
Path Parameters
Player UUID (from Supabase auth.users.id)
"abc123-def456"
Response
Player profile
Supabase auth UUID
"abc123"
"simon.hewins@gmail.com"
"Simon"
Total chips in the player's account (not at any table)
1000
"/avatars/user_square.jpg"
UNSPECIFIED_DUE_TO_ERROR, BASIC_USER, PAYING_USER, ANON_USER, ADMIN "BASIC_USER"
true
The player's personal table ID, if they have one
1