HOK API: ข้อมูล Honor of Kings สำหรับโปรแกรมของคุณ
อ่านฮีโร่ ไอเท็ม อาร์คานา สเปลล์ เทียร์ลิสต์ และดราฟต์ทัวร์นาเมนต์ของ Honor of Kings Global รวมถึงสกริมของคุณเอง จากโปรแกรมหรือผู้ช่วย AI อ่านอย่างเดียว ฟรี ใช้คีย์
รับคีย์
การยืนยันตัวตน
ทุกที่อยู่ต้องใช้คีย์ API ที่ส่งเป็นโทเค็น bearer คีย์อ่านได้อย่างเดียวและเห็นเท่าที่เจ้าของเห็น: ข้อมูลเกมสำหรับทุกคน และสกริม เทียร์ลิสต์ และทีมของคุณสำหรับคุณ
การเรียกครั้งแรกของคุณcurl -H "Authorization: Bearer hok_YOUR_KEY" http://127.0.0.1:3000/api/v1/heroes
เฮดเดอร์ X-API-Key ก็ใช้ได้ คีย์ที่ใส่ไว้ในที่อยู่จะถูกเพิกเฉย เพราะที่อยู่มักถูกบันทึกลงล็อก
ขีดจำกัดและข้อผิดพลาด
แต่ละคีย์ส่งคำขอได้ 120 ครั้งต่อนาที ข้อผิดพลาดเป็น JSON พร้อมรหัสคงที่:
| สถานะ | code | ความหมาย |
|---|
| 400 | invalid_body | สถานการณ์ที่ส่งไปยัง POST เดียวไม่ถูกต้อง: ข้อผิดพลาดจะบอกว่าผิดตรงไหน |
| 401 | unauthorized | ไม่มีคีย์ หรือคีย์ไม่ถูกต้อง หมดอายุ หรือถูกเพิกถอน |
| 403 | insufficient_scope | คีย์ไม่มีขอบเขตที่ที่อยู่นี้ต้องการ |
| 404 | not_found | ที่อยู่ไม่รู้จัก หรือสิ่งที่เจ้าของคีย์มองไม่เห็น |
| 405 | method_not_allowed | API ใช้อ่านอย่างเดียว: ใช้ GET |
| 429 | rate_limited | คำขอมากเกินไป: รอตามจำนวนวินาทีใน Retry-After |
ใช้กับ AI
API ยังเป็นเซิร์ฟเวอร์ MCP ที่ http://127.0.0.1:3000/api/v1/mcp: ผู้ช่วยจะได้เครื่องมือหนึ่งตัวต่อหนึ่งที่อยู่ที่คีย์อ่านได้
สร้างคีย์แยกสำหรับผู้ช่วยแต่ละตัว ให้เฉพาะสิ่งที่จำเป็น (ข้อมูลสาธารณะของเกมก็พอสำหรับถามเรื่องฮีโร่ ไอเท็ม และดราฟต์) หากคีย์ใดรั่ว ให้เพิกถอนโดยไม่กระทบคีย์อื่น
Claude Code
รันคำสั่งนี้ในเทอร์มินัล:
Terminalclaude mcp add --transport http hok-api http://127.0.0.1:3000/api/v1/mcp --header "Authorization: Bearer hok_YOUR_KEY"
Claude Desktop
เพิ่มส่วนนี้ลงใน claude_desktop_config.json (Settings, Developer, Edit config) แล้วรีสตาร์ต Claude ต้องมี Node.js
claude_desktop_config.json{
"mcpServers": {
"hok-api": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://127.0.0.1:3000/api/v1/mcp",
"--header",
"Authorization:${HOK_API_KEY}"
],
"env": {
"HOK_API_KEY": "Bearer hok_YOUR_KEY"
}
}
}
}
Cursor
เพิ่มส่วนนี้ลงใน .cursor/mcp.json ในโปรเจกต์หรือในโฟลเดอร์ส่วนตัวของคุณ:
.cursor/mcp.json{
"mcpServers": {
"hok-api": {
"url": "http://127.0.0.1:3000/api/v1/mcp",
"headers": {
"Authorization": "Bearer hok_YOUR_KEY"
}
}
}
}
ChatGPT
ใน GPT แบบกำหนดเอง: Configure, Create new action, Import from URL ด้วยที่อยู่นี้ จากนั้น Authentication: API key ชนิด Bearer แล้ววางคีย์ของคุณ
OpenAPIhttp://127.0.0.1:3000/api/v1/openapi.json
แทนที่ hok_YOUR_KEY ด้วยคีย์ของคุณ ผู้ช่วยจะเห็นเครื่องมือหนึ่งตัวต่อหนึ่งที่อยู่ที่คีย์อ่านได้ และอ่านอย่างเดียว
ที่อยู่
คำอธิบายฉบับเต็ม สำหรับนำเข้าในเครื่องมือ: /api/v1/openapi.json (OpenAPI 3.1)
ข้อมูลเกม game
GET/api/v1/heroesข้อมูลเกม
The heroes of the Global roster (name, classes, lanes, picture).
เครื่องมือสำหรับ AI: list_heroes
ตัวอย่างคำตอบ
{
"heroes": [
{
"id": "h105",
"name": "Arli",
"displayName": "Arli",
"image": "https://camp.honorofkings.com/h105.png",
"roles": [
"Marksman"
],
"lanes": [
"Farm Lane"
],
"laneSources": {
"Farm Lane": "camp"
},
"sourceIds": [
"105"
],
"availableGlobal": true,
"isFlowborn": false,
"sourceUpdated": "20260925"
}
],
"lastUpdated": "2026-10-31T08:00:00.000Z",
"sourceUpdated": "20260925",
"usingCache": true,
"language": "en",
"namesLanguage": "en"
}
GET/api/v1/heroes/{id}ข้อมูลเกม
One hero: its sheet (skills, art), its recommended builds, its combos, its official ratings and the competitive figures.
เครื่องมือสำหรับ AI: get_hero
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
since | คิวรี | Count the tournament games from this day on, YYYY-MM-DD. |
ตัวอย่างคำตอบ
{
"hero": {
"id": "h105",
"name": "Arli",
"roles": [
"Marksman"
],
"lanes": [
"Farm Lane"
]
},
"competitive": [],
"tournament": {
"since": null,
"totalGames": 48,
"picks": 21,
"bans": 9,
"wins": 12,
"losses": 9,
"winRate": 0.571,
"pickRate": 0.438,
"banRate": 0.188,
"byRule": {},
"range": {
"first": "2026-08-01",
"last": "2026-10-30"
}
},
"builds": [],
"profile": null,
"ratings": {
"Farm Lane": "A"
},
"ratingSources": {
"Farm Lane": "tournaments"
},
"combos": [],
"details": null,
"detailsFetchedAt": null,
"detailsLanguage": "en",
"language": "en"
}
GET/api/v1/tier-listข้อมูลเกม
The public tier list of each lane: tournament results first, the editors' ratings for the heroes played too little.
เครื่องมือสำหรับ AI: get_tier_list
ตัวอย่างคำตอบ
{
"period": {
"from": "2026-08-01",
"to": "2026-10-31"
},
"minGames": 10,
"totalGames": 120,
"lanes": [
{
"lane": "Farm Lane",
"slug": "farm",
"tiers": [
{
"label": "SS",
"heroes": [
{
"heroId": "h105",
"source": "tournaments",
"games": 48,
"winRate": 0.571,
"pickRate": 0.438,
"score": 0.62
}
]
}
],
"unranked": [
"h199"
]
}
],
"updatedAt": "2026-10-31T08:00:00.000Z"
}
GET/api/v1/catalogข้อมูลเกม
The items, the arcana, the battle spells, the stats and the tags of the game, in one answer.
เครื่องมือสำหรับ AI: get_catalog
ตัวอย่างคำตอบ
{
"stats": [
{
"id": 1,
"name": "Physical Attack"
}
],
"tags": [
{
"id": 3,
"name": "Burst"
}
],
"tagGroups": {
"red": "Damage"
},
"items": [],
"arcana": [],
"spells": [
{
"id": 1,
"name": "Flash",
"imageId": null,
"description": "Blink a short distance.",
"cooldownSeconds": 120,
"unlockLevel": null
}
],
"heroTags": {}
}
GET/api/v1/catalog/{family}ข้อมูลเกม
One family of the catalogue: items, arcana, spells, stats or tags.
เครื่องมือสำหรับ AI: list_catalog_family
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
family จำเป็น | ที่อยู่ | items, arcana, spells, stats or tags. |
ตัวอย่างคำตอบ
{
"spells": [
{
"id": 1,
"name": "Flash",
"imageId": null,
"description": "Blink a short distance.",
"cooldownSeconds": 120,
"unlockLevel": null
}
]
}
GET/api/v1/catalog/{family}/{id}ข้อมูลเกม
One item, arcana, spell, stat or tag, by its number: everything its page shows (stats and tags by their number).
เครื่องมือสำหรับ AI: get_catalog_entry
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
family จำเป็น | ที่อยู่ | items, arcana, spells, stats or tags. |
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"id": 1,
"name": "Flash",
"imageId": null,
"description": "Blink a short distance.",
"cooldownSeconds": 120,
"unlockLevel": null
}
วงการแข่งขัน competitive
GET/api/v1/tournamentsวงการแข่งขัน
The tournament series entered by the staff.
เครื่องมือสำหรับ AI: list_tournaments
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
q | คิวรี | Words to look for. |
page | คิวรี | The page of the list, from 1. |
ตัวอย่างคำตอบ
{
"items": [
{
"id": "8d1f6a52-3c1e-4b7e-9a51-1f2c3d4e5f60",
"name": "KPL West Finals",
"teamA": "Alpha",
"teamB": "Bravo",
"bestOf": 5,
"status": "complete"
}
],
"total": 1,
"page": 1,
"pageSize": 25
}
GET/api/v1/tournaments/{id}วงการแข่งขัน
One tournament series with all its games: bans, picks, lanes, winner, duration.
เครื่องมือสำหรับ AI: get_tournament
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"id": "8d1f6a52-3c1e-4b7e-9a51-1f2c3d4e5f60",
"teamA": {
"name": "Alpha"
},
"teamB": {
"name": "Bravo"
},
"bestOf": 5,
"gameMode": "global-ban-pick",
"status": "complete",
"games": [
{
"number": 1,
"bans": {
"blue": [
"h105"
],
"red": [
"h199"
]
},
"picks": {
"blue": [
"h101"
],
"red": [
"h120"
]
},
"winner": "blue",
"durationSeconds": 1104
}
]
}
GET/api/v1/popular/draftsวงการแข่งขัน
The drafts that win and are played most in the tournament games.
เครื่องมือสำหรับ AI: popular_drafts
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
from | คิวรี | The first day of the period, YYYY-MM-DD (the period spans 3 months at least). |
to | คิวรี | The last day of the period, YYYY-MM-DD. |
rule | คิวรี | Only the games of one draft rule (empty: every rule). |
minGames | คิวรี | The fewest games a draft or a hero needs to be ranked, 1 to 50. |
ตัวอย่างคำตอบ
{
"period": {
"from": "2026-08-01",
"to": "2026-10-31",
"first": "2026-08-03",
"last": "2026-10-30",
"minMonths": 3
},
"rule": "",
"rules": [
"classic"
],
"minGames": 1,
"totalGames": 120,
"sides": {
"blue": {
"different": 80,
"groups": 12,
"eligible": 9,
"byWinRate": [],
"byPlays": []
},
"red": {
"different": 77,
"groups": 11,
"eligible": 8,
"byWinRate": [],
"byPlays": []
}
},
"duos": {
"all": [],
"mostPlayed": [],
"byLanes": {}
}
}
GET/api/v1/popular/heroesวงการแข่งขัน
The heroes that win and are played most in the tournament games, by lane.
เครื่องมือสำหรับ AI: popular_heroes
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
from | คิวรี | The first day of the period, YYYY-MM-DD (the period spans 3 months at least). |
to | คิวรี | The last day of the period, YYYY-MM-DD. |
rule | คิวรี | Only the games of one draft rule (empty: every rule). |
minGames | คิวรี | The fewest games a draft or a hero needs to be ranked, 1 to 50. |
ตัวอย่างคำตอบ
{
"period": {
"from": "2026-08-01",
"to": "2026-10-31",
"first": "2026-08-03",
"last": "2026-10-30",
"minMonths": 3
},
"rule": "",
"rules": [
"classic"
],
"minGames": 1,
"totalGames": 120,
"lanes": [
{
"lane": "Farm Lane",
"picks": 120,
"all": {
"different": 14,
"eligible": 9,
"byWinRate": [],
"byPlays": [],
"byPresence": []
}
}
],
"placed": 1180,
"unplaced": 20,
"games": 120
}
สคริมของคุณ scrims
GET/api/v1/seriesสคริมของคุณ
Your series, and the ones a team of yours shared.
เครื่องมือสำหรับ AI: list_series
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
page | คิวรี | The page of the list, from 1. |
pageSize | คิวรี | How many entries a page holds. |
view | คิวรี | summary (lighter) or full. |
sort | คิวรี | updated, oldest or created. |
status | คิวรี | active, complete or draw. |
mode | คิวรี | The game mode: global-ban-pick, free-for-all or classic. |
draftMode | คิวรี | The draft mode of the series. |
q | คิวรี | Words to look for. |
from | คิวรี | The first day, YYYY-MM-DD. |
to | คิวรี | The last day, YYYY-MM-DD. |
ตัวอย่างคำตอบ
{
"items": [
{
"id": "16f3cb87-fb93-4a70-91e0-01f01f863f11",
"teamA": "Alpha",
"teamB": "Bravo",
"bestOf": 3,
"winsRequired": 2,
"gameMode": "free-for-all",
"draftMode": "solo",
"status": "active",
"score": {
"teamA": 1,
"teamB": 0
},
"gamesCount": 1,
"role": "owner",
"createdAt": "2026-10-31T20:15:23.262Z",
"updatedAt": "2026-10-31T20:45:00.000Z"
}
],
"total": 1,
"page": 1,
"pageSize": 20
}
GET/api/v1/series/{id}สคริมของคุณ
One series with every game of it.
เครื่องมือสำหรับ AI: get_series
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"id": "16f3cb87-fb93-4a70-91e0-01f01f863f11",
"createdAt": "2026-10-31T20:15:23.262Z",
"updatedAt": "2026-10-31T20:45:00.000Z",
"teamA": {
"name": "Alpha"
},
"teamB": {
"name": "Bravo"
},
"bestOf": 3,
"winsRequired": 2,
"gameMode": "free-for-all",
"draftMode": "solo",
"status": "active",
"games": [],
"currentGame": null,
"version": 4,
"serverTime": 1793477723366,
"viewer": {
"role": "owner",
"side": null,
"canDrive": true
}
}
GET/api/v1/stats/overviewสคริมของคุณ
The statistics of your scrims (figures under the minimum sample are withheld).
เครื่องมือสำหรับ AI: scrim_stats_overview
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
status | คิวรี | active, complete or draw. |
mode | คิวรี | The game mode: global-ban-pick, free-for-all or classic. |
draftMode | คิวรี | The draft mode of the series. |
q | คิวรี | Words to look for. |
from | คิวรี | The first day, YYYY-MM-DD. |
to | คิวรี | The last day, YYYY-MM-DD. |
minGames | คิวรี | The fewest games a figure needs to be shown. |
ตัวอย่างคำตอบ
{
"label": "Your scrims",
"minGames": 30,
"seriesCount": 14,
"gamesCount": 37,
"totalDurationSeconds": 42180,
"averageDurationSeconds": 1140,
"shortestSeconds": 702,
"longestSeconds": 1598,
"blueWins": 20,
"redWins": 17,
"blueWinRate": 0.541,
"byMode": {
"global-ban-pick": 30,
"free-for-all": 7,
"classic": 0
}
}
GET/api/v1/stats/heroesสคริมของคุณ
The per-hero statistics of your scrims.
เครื่องมือสำหรับ AI: scrim_stats_heroes
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
status | คิวรี | active, complete or draw. |
mode | คิวรี | The game mode: global-ban-pick, free-for-all or classic. |
draftMode | คิวรี | The draft mode of the series. |
q | คิวรี | Words to look for. |
from | คิวรี | The first day, YYYY-MM-DD. |
to | คิวรี | The last day, YYYY-MM-DD. |
minGames | คิวรี | The fewest games a figure needs to be shown. |
page | คิวรี | The page of the list, from 1. |
pageSize | คิวรี | How many entries a page holds. |
order | คิวรี | How the heroes are sorted (presence by default). |
hero | คิวรี | Only the heroes whose name holds these letters. |
ตัวอย่างคำตอบ
{
"label": "Your scrims",
"minGames": 30,
"totalGames": 37,
"sort": "presence",
"rows": [
{
"heroId": "h105",
"picks": 12,
"bans": 9,
"wins": 7,
"presence": 0.568
}
],
"total": 1,
"page": 1,
"pageSize": 10
}
GET/api/v1/heroes/{id}/scrimsสคริมของคุณ
What your scrims say of one hero: picks, bans, synergies, matchups.
เครื่องมือสำหรับ AI: hero_scrim_stats
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"label": "Your scrims",
"minGames": 30,
"seriesCount": 9,
"totalGames": 37,
"picked": 12,
"wins": 7,
"losses": 5,
"banned": 9,
"winRate": null,
"pickRate": null,
"banRate": null,
"insufficient": true,
"lanes": [],
"synergies": [],
"matchups": []
}
เทียร์ลิสต์ของคุณ tier-lists
GET/api/v1/tier-listsเทียร์ลิสต์ของคุณ
Your tier lists, and the ones shared with you.
เครื่องมือสำหรับ AI: list_my_tier_lists
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
page | คิวรี | The page of the list, from 1. |
pageSize | คิวรี | How many entries a page holds. |
lane | คิวรี | Only the lists of one lane. |
q | คิวรี | Words to look for. |
ตัวอย่างคำตอบ
{
"items": [
{
"id": "44d20ad7-4f74-4207-80f2-6e0b352ba662",
"name": "Farm lane, season 4",
"lane": "Farm Lane",
"updatedAt": "2026-10-31T20:15:23.224Z"
}
],
"total": 1,
"page": 1,
"pageSize": 50
}
GET/api/v1/tier-lists/{id}เทียร์ลิสต์ของคุณ
One tier list with its placements.
เครื่องมือสำหรับ AI: get_my_tier_list
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"id": "44d20ad7-4f74-4207-80f2-6e0b352ba662",
"createdAt": "2026-10-31T20:15:23.224Z",
"updatedAt": "2026-10-31T20:15:23.224Z",
"name": "Farm lane, season 4",
"lane": "Farm Lane",
"tiers": [
{
"id": "t1",
"label": "S",
"heroes": [
"h105"
]
}
],
"unranked": [
"h199"
],
"version": 0,
"viewer": {
"role": "owner",
"canEdit": true,
"canDelete": true,
"canShare": true
}
}
ทีมของคุณ teams
GET/api/v1/me/teamsทีมของคุณ
The teams you belong to, with your role in each.
เครื่องมือสำหรับ AI: my_teams
ตัวอย่างคำตอบ
{
"items": [
{
"id": "07db7f13-4df0-4d4e-b6c9-453d26c41fe5",
"name": "Learn Squad",
"tag": "LERN",
"region": "EU",
"level": "amateur",
"memberCount": 5,
"myRole": "owner"
}
]
}
GET/api/v1/teamsทีมของคุณ
The teams of the community.
เครื่องมือสำหรับ AI: list_teams
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
q | คิวรี | Words to look for. |
page | คิวรี | The page of the list, from 1. |
pageSize | คิวรี | How many entries a page holds. |
level | คิวรี | Only the teams of one level. |
region | คิวรี | Only the teams of one region. |
ตัวอย่างคำตอบ
{
"items": [
{
"id": "07db7f13-4df0-4d4e-b6c9-453d26c41fe5",
"name": "Learn Squad",
"tag": "LERN",
"region": "EU",
"level": "amateur",
"memberCount": 5
}
],
"total": 1,
"page": 1,
"pageSize": 18
}
GET/api/v1/teams/{id}ทีมของคุณ
One team: its members and its settings that you may see.
เครื่องมือสำหรับ AI: get_team
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"id": "07db7f13-4df0-4d4e-b6c9-453d26c41fe5",
"name": "Learn Squad",
"tag": "LERN",
"description": "",
"region": "EU",
"timezone": "UTC+1",
"languages": [
"en"
],
"level": "amateur",
"maxMembers": 10,
"createdAt": 1793477723239,
"members": [
{
"name": "Kai",
"tag": "YHX7EA",
"role": "owner",
"lane": "Jungle"
}
],
"myRole": "owner"
}
GET/api/v1/teams/{id}/eventsทีมของคุณ
The agenda of one of your teams.
เครื่องมือสำหรับ AI: team_events
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"items": [
{
"id": "2b9c0e3a-6f0d-4a8e-b1c2-3d4e5f6a7b8c",
"title": "Scrim vs Bravo",
"startsAt": 1793563200000
}
],
"canSchedule": true
}
GET/api/v1/teams/{id}/seriesทีมของคุณ
The series that this team shared with its members.
เครื่องมือสำหรับ AI: team_series
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"items": [],
"total": 0,
"page": 1,
"pageSize": 20
}
GET/api/v1/me/agendaทีมของคุณ
Your agenda: the events of all your teams.
เครื่องมือสำหรับ AI: my_agenda
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
from | คิวรี | The start of the window, in milliseconds since 1970. |
to | คิวรี | The end of the window, in milliseconds since 1970. |
ตัวอย่างคำตอบ
{
"items": [
{
"id": "2b9c0e3a-6f0d-4a8e-b1c2-3d4e5f6a7b8c",
"title": "Scrim vs Bravo",
"startsAt": 1793563200000
}
]
}
การฝึกซ้อมของคุณ training
GET/api/v1/training/focusการฝึกซ้อมของคุณ
The heroes you work on.
เครื่องมือสำหรับ AI: training_focus
ตัวอย่างคำตอบ
{
"heroIds": [
"h105",
"h120"
]
}
GET/api/v1/training/notesการฝึกซ้อมของคุณ
Your training notebook.
เครื่องมือสำหรับ AI: training_notes
ตัวอย่างคำตอบ
{
"notes": []
}
GET/api/v1/training/combosการฝึกซ้อมของคุณ
The combos you have acquired.
เครื่องมือสำหรับ AI: training_combos
ตัวอย่างคำตอบ
{
"progress": {}
}
GET/api/v1/training/combos/reviewการฝึกซ้อมของคุณ
The combos that are due for a check.
เครื่องมือสำหรับ AI: training_combos_due
ตัวอย่างคำตอบ
{
"now": 1793477503716,
"due": [],
"dueTotal": 0,
"toLearn": [],
"toLearnTotal": 0,
"skills": {}
}
GET/api/v1/training/mapsการฝึกซ้อมของคุณ
The maps of the situations.
เครื่องมือสำหรับ AI: training_maps
ตัวอย่างคำตอบ
{
"maps": []
}
GET/api/v1/training/scenariosการฝึกซ้อมของคุณ
The situations prepared by the staff.
เครื่องมือสำหรับ AI: list_training_scenarios
ตัวอย่างคำตอบ
{
"scenarios": []
}
GET/api/v1/training/scenarios/{id}การฝึกซ้อมของคุณ
One situation.
เครื่องมือสำหรับ AI: get_training_scenario
| พารามิเตอร์ | ตำแหน่ง | คำอธิบาย |
|---|
id จำเป็น | ที่อยู่ | The id of the thing. |
ตัวอย่างคำตอบ
{
"id": "5e6f7a8b-9c0d-4e1f-a2b3-c4d5e6f7a8b9",
"title": "Defend the second tower",
"mapId": "main"
}
GET/api/v1/training/reflexการฝึกซ้อมของคุณ
Your reflex training results.
เครื่องมือสำหรับ AI: training_reflex
ตัวอย่างคำตอบ
{
"exercises": {
"reaction": {
"runs": 12,
"best": 231,
"last": []
}
},
"doneToday": [],
"today": {
"runs": 3,
"minutes": 4
},
"week": {
"runs": 12,
"minutes": 18
},
"streak": 2,
"teams": []
}
GET/api/v1/spaceการฝึกซ้อมของคุณ
Your personal space (the builds and notes you keep).
เครื่องมือสำหรับ AI: my_space
ตัวอย่างคำตอบ
{
"tierLists": [],
"builds": [],
"training": {
"focus": [],
"notes": [],
"combos": [],
"reflex": {
"streak": 0,
"best": {}
}
},
"links": [],
"limits": {
"builds": 300,
"buildsPerHero": 30,
"links": 20,
"days": [
7
]
}
}
บัญชีของคุณ account
Who the key belongs to (tag and name, never the email), its scopes and its expiry.
เครื่องมือสำหรับ AI: whoami
ตัวอย่างคำตอบ
{
"account": {
"tag": "YHX7EA",
"name": "Kai"
},
"key": {
"id": "25bf6418-4cbf-448a-baed-30349809947e",
"name": "Stats bot",
"scopes": [
"game",
"competitive"
],
"expiresAt": 1801253503341
}
}