Poker大脑 API
将世界顶级的扑克 AI 嵌入您的应用程序。支持 RESTful 与 WebSocket。
极速接入
获取 API Key 后,只需几行代码即可开始发送牌局状态并获取 AI 的决策建议。我们的边缘计算节点确保全球范围内的延迟均低于 200ms。
支持的接口能力
- 实时牌局决策 (Action Recommendation)
- 手牌胜率分析 (Equity Calculation)
- 对手档案构建 (Opponent Profiling)
- 复盘与 EV 评估 (Session Review)
request.js
const axios = require('axios');
// 构建牌局状态
const gameState = {
gameType: 'NLH',
holeCards: ['As', 'Kd'],
boardCards: ['Ts', 'Jc', '2h'],
potSize: 150,
activePlayers: 2,
position: 'BTN'
};
// 请求 Poker大脑 API
const response = await axios.post(
'https://api.pokerrobot.ai/v1/decision',
gameState,
{ headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
);
console.log(response.data.action);
// Output: { type: 'Raise', amount: 100, ev: 45.2 }