Using Cloudflare Workers to make API Calls IntroductionIt's been a common topic around the Riot Games API Community that CORS has prevented client side calls to the API. There is a guide that Tux made for v3 APIs with AWS Lambda functions, but what if we wanted something more up to date and flexible that we don't
lcu-api How to set runes using LCU In this Example I'm going to be using my C# Lib PoniLCU. First of all let's set our LeagueClient properly. LeagueClient leagueClient = new LeagueClient(credentials.cmd); Before we dive into it, let's look at what runes are. The client doesn't deal with the runes as the same as you do.
cdragon Resolving spells and variables in spell texts The DataDragon provided by Riot Games contains info on all 158 champions. But when looking at the spell texts of these champions, you often come across variables that are seemingly unresolvable (e.g., dealing <physicalDamage>{{ wdamage }} physical damage</physicalDamage>.). Now, if we look at the rest
Getting Started Identifying Champion Positions What is the problem?You want to know where each champion played on Summoner’s Rift. The Riot API provides role and lane data, but the values are often inaccurate and make it difficult to identify which position a champion played in. There are many different ways of fixing this
Getting Started Info About Specific Data SummonersSee the PUUIDs and Other IDs section for information about summoner IDs, account IDs, and PUUIDs.Tournaments— MatchMatches are kept for 2 years, timelines for 1 year.The creation date timestamps in milliseconds (not seconds).The pick order of participants is 0-5-1-6-2-7-3-8-4-9.The totalGame fields is incorrect in most cases.
lol Collecting Data Match DataThe best way to collect a large set of matches is not straightforward. Typically you need code that does this: Collect a few summoners by hand. Just your own summoner is likely enough, or you could use all challenger players.Get the account IDs of those summoners.Get their
replay-api Replay API The Replay API is a new game client API that allows developers to adjust the in-game camera during replays. We have also released League Director, which uses these APIs and will give a good jumping off point for any development. Because the Replay API is fairly new, the best place
Getting Started Mobile Apps (& CORS Error) Client-side calls to the Riot API are blocked because there is no way to make them without exposing your API key to users. You will need to set up a backend server that can make API calls while keeping your API key secure. If you want to quickly set up
client LCU - The League Client The LCU, which stands for “League Client Update” is the League Client. You use parts of the LCU for your projects. This page contains up-to-date information for which endpoints you are allowed to use. It’s important that you create an application on the dev portal telling Riot how you
ids PUUIDs and Other IDs The Riot API uses three IDs for players: summoner IDs, account IDs, and PUUIDs. Different APIs use different IDs, and you should use whichever ID is required by the API you are using. Summoner and account IDs are only unique per region, and PUUIDs are unique globally. Because the PUUID
faq Your Application You can apply for a personal or production app by clicking “Register Project” on the main dev portal page. Do not apply for a project if you just want to test the API. If you are developing a project or just testing things out, use your development key that Riot
cdragon Community Dragon Community Dragon, or cdragon for short, is a massive collection of community-generated files to augment the data in ddragon. If you can’t find what you’re looking for in ddragon, look in cdragon. This is a useful link to start at. If you can’t find what you’re
datadragon Data Dragon Data Dragon, or ddragon for short, is a set of static data files that provides images and info about champions, runes, and items. This includes info to translate champion IDs to names. You can download the entire set of data and images by downloading this tarball (make sure to change
faq How to regenerate your API key There are may reasons as to why you may want to regenerate/reset your API key, One being accidentally leaking it or committing it to a public repository. This guide will help you regenerate your API key. Developer KeysStep one: Head to the developer portal and scroll down and complete
tft Match History - TFT Best PracticesTo best utilize TFT match history there are two things to keep in mind; match history is still evolving and fresh data is cheaper. Response Body StructureA basic version of TFT match history was released in the client in patch 9.19. If you look up matches played during
tft Static Data There is currently no static content that is automatically built for each patch of Teamfight Tactics. Many of the assets from Teamfight Tactics can be gathered from League of Legends' Data Dragon. Below you can find some basic static data for Teamfight Tactic sets. Current SetGizmos & Gadgets https://spark.
Getting Started Welcome to Hextechdocs League of LegendsThis document will provide you with a basic understanding of the League of Legends developer resources. It is designed to help you begin exploring and developing your own tools and products for League of Legends. Getting StartedBefore starting on a product for League of Legends, there are two
lcu LCU API FAQ What is the LCUThe LCU, which stands for “League Client Update” is the League Client. What is the LCU API?The LCU API are is collection of endpoints that the league clients renderer uses to display and modify information What can you do with the LCU API?Anything you can
lcu Getting started with the LCU websocket Alongside the LCU REST API, the League Client Architecture uses a websocket connection to communicate changes from the LCU itself to the UX process to be shown to you (for example a friend request or a chat message you receive). This guide will show you how to connect to this
esports Gathering LoLEsports data Following the shutdown of some important API from the lolesports website that allowed us to get hashes to gather data from official matches, the solution is to rely on Leaguepedia which has everything we need. Here is an example how to do it in Python. We will use the leaguepedia-parser
lcu-api Getting started with the LCU API Ever since the new client came out and people found out that the League Client Update has a REST API that you can talk to, people have been hard at work figuring out what kind of amazing features they can make to supplement the out of game experience. This guide
map-data Map data Match Timeline Data Position ValuesMatch timeline provides positions for various events. Here is a list of the maps and the bounds used for that. Example in Javascript on how to use maps and positions : http://jsfiddle.net/ow4tsbne NameImageNotesSummoner's Rifthttps://ddragon.leagueoflegends.com/cdn/10.18.1/img/map/map11.
item-sets Item Sets Disclaimer : this article consists in the old doc from the official dev portal : https://web.archive.org/web/20190629194439/https://developer.riotgames.com/item-sets.html An item set is a custom set of items that are displayed within the in-game item shop. They are included in a drop down along
third-party-code [Obsolete] Using third-party-code to verify account ownership As noted by Riot in this tweet, the Third Party Code API has been removed and users are encouraged to migrate over to RSO in lieu of using this endpoint. Anything noted in this document is no longer usable as of the 7th of March 2022.Before the new rune
rate-limiting Rate Limiting Disclaimer : this article consists in the old doc from the official dev portal : https://web.archive.org/web/20190629194440/https://developer.riotgames.com/rate-limiting.html What is Rate Limiting?In order to control the use of the Riot Games API, we set limits on how many times endpoints can be