- Game events API
Please read the overwolf.games.events documentation page to learn how to use Overwolf game events.
Note that TFT, TFT PBE and LOL share the same Game ID.
If you would like to know when the user is going to play TFT (hit the "Play" button), you can listen to the LoL Launcher lobby_info info-update, and check the queueID
. If it's 1090 or 1100 - it's TFT, or 1130, for "Hyperoll".
Riot has updated their Terms of Service regarding augment data.
Learn more about it here
Sample Apps
Available Features
Game events status
It's highly recommended to communicate errors to your users.
Check game event status here or easily verify event status directly from your app using our API.
Because LOL and TFT share the same GameID, when checking TFT game event status please use 21570 as the unique GameID for TFT and 215701 for TFT PBE.
gep_internal
Info Updates
key | Category | Values | Notes | Since GEP Ver. |
---|---|---|---|---|
gep_internal | gep_internal | Local + Public version number | See notes | 143.0 |
gep_internal note
Data Example:
{"info":{"gep_internal":{"version_info":"{"local_version":"157.0.1","public_version":"157.0.1","is_updated":true}"}},"feature":"gep_internal"}
game_info
Info Updates
key | Category | Values | Notes | Since GEP Ver. |
---|---|---|---|---|
is_pbe | game_info | Boolean value if the player is playing in TFT or in TFT PBE mode | See notes | 205.0 |
is_pbe note
Data Example:
{"feature":"game_info","category":"game_info","key":"is_pbe","value":"true"}
live_client_data
Info Updates
key | Category | Values | Notes | Since GEP Ver. |
---|---|---|---|---|
active_player | live_client_data | In-game data received by the client. | See notes | 143.1 |
all_players | live_client_data | In-game data received by the client. | See notes | 143.1 |
events | live_client_data | In-game data received by the client. | See notes | 143.1 |
game_data | live_client_data | In-game data received by the client. | See notes | 143.1 |
active_player note
Data Example:
{
"info":{
"live_client_data":{
"active_player":"{"abilities":{"E":{"abilityLevel":5,"displayName":"Unspeakable Horror","id"
:"NocturneUnspeakableHorror"
,"rawDescription":"GeneratedTip_Spell_NocturneUnspeakableHorror_Description"
...
,"rawDisplayName":"GeneratedTip_Spell_NocturneUnspeakableHorror_DisplayName"}
{"id":5008,"rawDescriptio":"perk_tooltip_StatModAdaptive"},{"id":5002,"rawDescription":"perk_tooltip_StatModArmor"}]},"level":17,"summonerName":"Sh4rgaas"}"
}
},
"feature":"live_client_data"
}
all_players note
Data Example:
{
"info":{
"live_client_data":{
"all_players":"[{"championName":"Sett","isBot":false,"isDead":true,"items":
[{"canUse":false,"consumable":false,"count":1,"displayName":"Dead Man's Plate"
,"itemID":3742,"price":1100,"rawDescription":"game_item_description_3742","rawDisplayName":"game_item_displayname_3742","slot":0}
,{"canUse":false,"consumable":false,"count":1,"displayName":"Bramble Vest"
...
{"displayName":"Flash","rawDescription":"GeneratedTip_SummonerSpell_SummonerFlash_Description","rawDisplayName"
:"GeneratedTip_SummonerSpell_SummonerFlash_DisplayName"},"summonerSpellTwo":
{"displayName":"Ignite","rawDescription":"GeneratedTip_SummonerSpell_SummonerDot_Description"
,"rawDisplayName":"GeneratedTip_SummonerSpell_SummonerDot_DisplayName"}},"team":"CHAOS"}]"
}
},
"feature":"live_client_data"
}
events note
Data Example:
{
"info":{
"live_client_data":{
"events":"{"Events":[{"EventID":0,"EventName":"GameStart"
,"EventTime":0.041107501834630966},{"EventID":1,"EventName":"MinionsSpawning",
"EventTime":65.05073547363281},{"Assisters":
["CHOWCHOWTHEPAIN","CHAXILICIOUSLOL"],
...
"EventID":2,"EventName":"ChampionKill","EventTime":321.79498291015625,"KillerName":"Adoucissant",
"VictimName":"finite area"},{"Assisters":["finite area","Dilipa"],"EventID":101,"EventName":
"ChampionKill","EventTime":2256.623291015625,"KillerName":"St4ubwedel","VictimName":"CHOWCHOWTHEPAIN"}]}"
}
},
"feature":"live_client_data"
}
game_data note
Data Example:
{
"info":{
"live_client_data":{
"game_data":"{"gameMode":"CLASSIC","gameTime":2258.9697265625,"mapName":"Map11","mapNumber":11,"mapTerrain":"Mountain"}"
}
},
"feature":"live_client_data"
}