Riot API for gathering TFT data (no code, just talking about it)

Steven Kyle
2 min readNov 28, 2021
Photo by ELLA DON on Unsplash

*DISCLAIMER THIS BLOG POST ONLY TALKS ABOUT THE API AND DOES NOT INCLUE CODE*

This will be a series of blog posts for a future project and it is just to introduce the League of Legends Teamfight Tactics API. I am a long time player of league of legends and I have recently started playing Teamfight Tactics. I have found it enjoyable so far and while I was playing I started to wonder what kind of data is available for the game. So without further ado I’ll quickly talk about the API that will let you access game data that you can start playing around with.

The documentation link for the API can be found here.

Main Data from the API

Before you keep reading I just wanted to say that the Main data that is provided by this API is match history. The static data for characters and items can be downloaded from DataDragon which can be found here.

Getting Started

To get started with this API you have to read the general policies and also register the product you will be using. The registration can be done here. There is a a very useful discord server that is active if you have any specific questions to ask. And luckily for us, there is a python library we can use to access the information. The library is called Cassiopeia and it can be found here.

Match History

The amount of match history data that can be retrieved is mind boggling. To gather the match history data you have to use specific summoner id’s (players id) and then you can specify the time period of matches you want.

Conclusion

Riot’s API does not seem to have that much information at first but once you realize the sheer amount of match history data that is recorded you can see that it is actually a vast amount. I am looking forward to the machine learning projects I will tackle using this API.

Here is an example application that leverages the use of game data. (I did not create this)

--

--

Steven Kyle

25 year old Texan in the midst of a career change into DataScience.