Skip to main content

Legends of Runeterra

Please read the overwolf.games.events documentation page to learn how to use Overwolf game events.

Sample Apps

An official Riot API is available at the following link - https://developer.riotgames.com/docs/lor. If you have further requests for events that you require please contact us at developers@overwolf.com

Available Features

game_client_data

Info Updates

keyCategoryValuesNotesSince GEP Ver.
active_deckgame_client_dataThe current active deck (deck that is being played)See notes146.0.7
card_positionsgame_client_dataThe card positions on the screen.See notes146.0.7
expeditionsgame_client_dataWhether an expedition game is in progress or not.See notes146.0.7
game_resultgame_client_dataVictory / DefeatSee notes146.0.7

active_deck note

Describe the player's current deck in an active game.

Data Example:

// player is not in an active game
{"active_deck":"{\"DeckCode\":null,\"CardsInDeck\":null}"}},"feature":"game_client_data"}

// player is in an active game
{"active_deck":"{\"DeckCode\":\"CEBAGAIDFYYTOBABAIBAQDZZAICACAYEEQVDMBIBAIFQYJBFHAAQCAICEE\",\"CardsInDeck\":{\"01NX046\":3,\"01NX049\":3,\"01NX055\":3,\"01IO002\":3,\"01IO008\":3,\"01IO015\":3,\"01IO057\":3,\"01NX004\":2,\"01NX036\":2,\"01NX042\":2,\"01NX054\":2,\"01IO011\":2,\"01IO012\":2,\"01IO036\":2,\"01IO037\":2,\"01IO056\":2,\"01IO033\":1}}"}},"feature":"game_client_data"}

card_positions note

Determine the position of the cards in the collection, deck builder, Expedition drafts, and active games. returns the position of the cards at the time of the request.

Data Example:

{"PlayerName":null,"OpponentName":null,"GameState":"Menus","Screen":{"ScreenWidth":1920,"ScreenHeight":1080},"Rectangles":[]}"}

//OR

{"PlayerName":"Sh4rgaas","OpponentName":"decks_mediumelise_name","GameState":"InProgress","Screen":{"ScreenWidth":1920,"ScreenHeight":1080},"Rectangles":[{"CardID":1510579131,"CardCode":"face","TopLeftX":179,"TopLeftY":481,"Width":117,"Height":117,"LocalPlayer":true},{"CardID":1487329530,"CardCode":"face","TopLeftX":179,"TopLeftY":716,"Width":117,"Height":117,"LocalPlayer":false}]}"}

expeditions note

Determine the cards player drafts during an Expedition. Returns a number of fields including the current state of the Expedition and a list of card codes that have been drafted.

Data Example:

{"game_client_data":{"expeditions":"{"IsActive":true,"State":"Picking","Record":[],"DraftPicks":[],"Deck":[],"Games":0,"Wins":0,"Losses":0}"}}

game_result note

Determine the result of the player's most recently completed game. The request returns an int for GameID and a boolean for LocalPlayerWon.

Data Example:

{"GameID":2,"LocalPlayerWon":false}"}