#api #http


Easy to use async/sync League of legends API Wrapper

4 releases

✓ Uses Rust 2018 edition

0.2.2 May 11, 2020
0.2.1 Sep 11, 2019
0.1.1 Aug 7, 2019
0.1.0 Aug 7, 2019

#137 in HTTP client

MIT and maybe MPL-2.0

1.5K SLoC


Build Status Code Coverage License Latest Version Documentation

Narwhalol is a Fast and Type-safe wrapper of DDragon and League of Legends API.

It strives to provide the most comfortable and fast experience of getting useful data directly from Riot servers.

Zero cost abstractions and compile-time optimizations used in Rust is what makes this library so fast.


  • Support of many std Traits allowing hands-free convertations between types
  • Clean and concise Error messages
  • Caching of identical requests
  • Is in development stage, issues and bugs will be fixed ASAP
  • Supports all mainstream runtimes with feature flags (smol, async-std, tokio)


use narwhalol::LeagueClient;
use smol;

fn main() {
    let lapi = LeagueClient::new(Region::RU).unwrap();
    let sum = smol::run(async {

    println!("got summoner: {:?}", &sum);


~212K SLoC