30-Sec Game History
Live 30-second game rounds: 0 records loaded, 1 pages (20 per page). Switch to 1-Min Wingo History →
history.log
LIVELoading history database...
0 records
Page 1 of 1
Fetch All Records: JS Example
// Fetch all records with Auth Token
// Get your token from: wingobot.com/profile
asyncasync functionfunction fetchData() {
constconst YOUR_TOKEN = "ws_xxxxxxxxxxxxxxxx"; // Replace with your token
constconst res = awaitawait fetch("/api/v1/wingo/30s/history/auth", {
headers: {
"Authorization": "Bearer " + YOUR_TOKEN
}
});
constconst data = awaitawait res.json();
ifif (data.success) {
console.log("User:", data.user);
data.history.forEach(functionfunction (row) {
console.log(row.issueNumber, row.number, row.colour);
});
} elseelse {
console.log("Error:", data.error);
}
}
fetchData();