worldcup
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese⚽ World Cup 2026 Skill
⚽ 2026世界杯Skill
FIFA World Cup 2026 data + the points-based prediction game. Script skill —
call the functions in from bash and read the JSON.
Auth is automatic (container JWT); no API key needed.
core.skill_tools.worldcupFIFA世界杯2026数据 + 基于积分的预测游戏。脚本Skill——
从bash中调用中的函数并读取JSON数据。
身份验证为自动完成(容器JWT);无需API密钥。
core.skill_tools.worldcupHow to call
调用方式
bash
python3 -c "from core.skill_tools import worldcup; import json; print(json.dumps(worldcup.get_today_matches()))"Every function returns a dict like (or
on failure).
{"success": true, "data": ...}{"success": false, "error": ...}bash
python3 -c "from core.skill_tools import worldcup; import json; print(json.dumps(worldcup.get_today_matches()))"每个函数都会返回类似的字典(失败时返回)。
{"success": true, "data": ...}{"success": false, "error": ...}When to use
使用场景
- Matches — today / upcoming / live / finished, or one specific match.
- Predictions — place, cancel, or review prediction history.
- Stats — point balance, betting limits, win rate, total staked.
- Leaderboard — top predictors by points or accuracy.
- 赛事查询——今日/即将到来的/正在进行的/已结束的赛事,或某场特定赛事。
- 预测操作——投注、取消预测,或查看预测历史。
- 统计信息——积分余额、投注限额、胜率、总投注积分。
- 排行榜——按积分或准确率排名的顶级预测者。
Functions (from core.skill_tools import worldcup
)
from core.skill_tools import worldcup函数(from core.skill_tools import worldcup
)
from core.skill_tools import worldcup| Function | Returns |
|---|---|
| today's matches + your prediction status |
| next scheduled matches |
| matches in progress now |
| recent results |
| one match in full |
| places a prediction |
| cancels an unsettled prediction, refunds stake |
| point balance, pending stakes, min/max stake |
| your prediction history |
| one prediction in full |
| your win rate, total staked, etc. |
| top predictors ( |
| 函数 | 返回内容 |
|---|---|
| 今日赛事 + 你的预测状态 |
| 接下来的预定赛事 |
| 当前正在进行的赛事 |
| 近期比赛结果 |
| 单场赛事的详细信息 |
| 提交预测投注 |
| 取消未结算的预测,退还投注积分 |
| 积分余额、待结算投注、最小/最大投注额 |
| 你的预测历史 |
| 单条预测的详细信息 |
| 你的胜率、总投注积分等信息 |
| 顶级预测者( |
Placing a bet — predict_type
and prediction
predict_typeprediction投注操作——predict_type
与prediction
predict_typepredictionpredictionpredict_type| predict_type | prediction | meaning |
|---|---|---|
| | match result |
| | exact final score |
| | total goals bucket |
| | which team scores first (e.g. |
stakepredictionpredict_type| predict_type | prediction | 含义 |
|---|---|---|
| | 比赛结果 |
| | 最终精确比分 |
| | 总进球数区间 |
| | 首支进球的球队(例如: |
stakeRecommended place_bet flow
推荐投注流程
- — confirm enough available points.
get_betting_status() - or
get_match_detail(match_id)— confirm the match is open and get team codes (needed forget_today_matches()).first_goal - .
place_bet(match_id, predict_type, prediction, stake) - Read back the returned prediction ID to the user.
Example:
bash
python3 -c "from core.skill_tools import worldcup; import json; print(json.dumps(worldcup.place_bet(42, 'win_draw_loss', {'choice':'home'}, 100)))"- ——确认有足够的可用积分。
get_betting_status() - 或
get_match_detail(match_id)——确认赛事处于可投注状态,并获取球队代码(get_today_matches()类型投注需要)。first_goal - 。
place_bet(match_id, predict_type, prediction, stake) - 将返回的预测ID告知用户。
示例:
bash
python3 -c "from core.skill_tools import worldcup; import json; print(json.dumps(worldcup.place_bet(42, 'win_draw_loss', {'choice':'home'}, 100)))"Notes
注意事项
- Points are the prediction-game currency, not real money — present as a game, never as financial advice.
- only works while a prediction is unsettled; it refunds the stake.
cancel_prediction - Match times are UTC; convert to the user's timezone when relevant.
- 积分是预测游戏的虚拟货币,并非真实资金——需将其作为游戏呈现,绝不能作为财务建议。
- 仅对未结算的预测生效;生效后会退还投注积分。
cancel_prediction - 赛事时间为UTC时区;相关时需转换为用户所在时区。