Rust API client for lol-esports-api

League of Legends Esports API

Overview

This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.

Installation

Put the package under your project folder in a directory named lol-esports-api and add the following to Cargo.toml under [dependencies]:

lol-esports-api = { path = "./lol-esports-api" }

Documentation for API Endpoints

All URIs are relative to https://api.lol-esports.mckernant1.com

Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- DefaultApi | getleaguebycode | GET /leagues/{leagueId} | *DefaultApi* | getleagues | GET /leagues | DefaultApi | getmatchesfortournament | GET /matches/{tournamentId} | *DefaultApi* | getmostrecenttournament | GET /most-recent-tournament/{leagueId} | DefaultApi | getongoingtournanments | GET /ongoing-tournaments | DefaultApi | getplayersonteam | GET /players/{teamId} | *DefaultApi* | getteambycode | GET /teams/{teamId} | DefaultApi | getteams | GET /teams | *DefaultApi* | gettournament | GET /tournament/{tournamentId} | DefaultApi | gettournamentsfor_league | GET /tournaments/{leagueId} |

Documentation For Models

To get access to the crate's generated documentation, use:

cargo doc --open

Author