
League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. DisclaimerĬassiopeia isn't endorsed by Riot Games and doesn't reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. If you've loved using Cassiopeia, consider supporting us through PayPal or Patreon. If you used Cassiopeia for your research, please cite the project. If you would like to help maintain Cassiopeia, let us know and we will invite you to our discord server. If you find bugs please let us know via an issue or pull request. More information can be found in our documentation.
#Cassiopeia gg free
Questions/Contributionsįeel free to send pull requests or to contact us via github or discord. Unfortunately, we currently don't have an integration to Flask and any contribution is welcome.


set_riot_api_key( "YOUR_KEY") # This overrides the value set in your configuration/settings. Import random import cassiopeia as cass cass. Here's an example of a basic use of the API. Cass already supports Data Dragon and the champion.gg API in addition to the Riot API.ĭynamic settings so you can configure Cass for your specific use case.Ĭassiopeia's documentation and examples may be a little out of date, but should be quite helpful when getting started. Because Cass is a framework and not just an API wrapper, you can integrate your own data sources into your project.
#Cassiopeia gg Offline
Guaranteed optimal usage of your API key.īuilt in caching and (coming) the ability to easily hook into a database for offline storage of data.Įxtendability to non-Riot data.


Why use Cass?Īn excellent user interface that makes working with data from the Riot API easy and fun.
#Cassiopeia gg how to
Please submit PRs (preferably) or issues if you find bugs, and feel free to message the developers by creating an issue if you would like to contribute but don't know how to go about fixing a bug. The codebase was migrated to use the new endpoints, but it's likely that some bugs exist due to all the complex functionality between data types in Cass. On Monday, September 13th, 2021 Riot deprecated the match-v4 endpoints in favor of match-v5.
#Cassiopeia gg install
Pip install cassiopeia or see here for more information. It's been designed with usability in mind - making sure all the bookkeeping is done right so you can focus on getting the data you need and building your application. A Python adaptation of the Riot Games League of Legends API ( ).Ĭassiopeia is the sister library to Orianna (Java).
