Project

Ryze

0.0
The project is in a healthy, maintained state
Ruby wrapper for the Riot Games API. Riot Games API can be found here: https://developer.riotgames.com/apis
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.9.0
 Project Readme

Ryze

Ryze is a Ruby gem that provides a simple interface to the League of Legends Riot API.

Please note that this gem is still in development and is not yet ready for production use.

Installation

Install the gem and add to the application's Gemfile by executing:

$ bundle add Ryze

If bundler is not being used to manage dependencies, install the gem by executing:

$ gem install Ryze

Documentation

The documentation for this gem can be found here

Usage

To use the gem, you must first obtain an API key from Riot. You can do so by visiting the Riot Developer Portal.

Than, you can create a new client by passing your API key as an argument:

require 'ryze'

client = Ryze::Client.new(api_key: 'YOUR_API_KEY')

You can then use the client to make requests to the Riot API:

client.account.retrieve_account_by_riot_id(game_name: 'SAKEN')

Roadmap

  • Finish implementing RBS files
  • Add methods to Object classes to make it easier to access data
  • Add tests
  • Add possibility to change region
  • Finish implementing all endpoints

Endpoints

  • Account-v1
  • Summoner-v4
  • Match-v5
  • Champion-Mastery-v4
  • Spectator-V4
  • League-V4

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/clement0910/Ryze. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

The gem is available as open source under the terms of the MIT License.