#riot-games #developer #interact #game #api #tournament #lol

riot-api

A rust crate to interact with Riot Games Developer API

2 releases

0.1.2 Jan 21, 2024
0.1.0 Jan 18, 2024

#5 in #riot-games

MIT license

105KB
3K SLoC

Rust

riot-rs

Installation

This crate is separated into multiple features. Use any combination of them to fit your needs:

  • lol
  • tournament
  • clash
  • tft
  • val

By default, lol is enabled. Add the following to your Cargo.toml

[dependencies.riot-api]
version = "0.1.2"
# If you don't want `lol` feature
default-features = "false"
# If you want additional features
features = ["clash", "tournament", "tft"]

This crate can interact with Riot's RSO with default features off, or any combination of features

Endpoints Implemented

See EndpointTasks

TODO

  • More complete readme
  • Endpoints (see below)
  • Rate limit handling
  • Set up feature flags
  • Tests & CI
    • More tests

riot-rs 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 Riot Games properties. Riot Games, and all associated properties are trademarks or registered trademarks of Riot Games, Inc.

Dependencies

~6–18MB
~272K SLoC