League of Legends Esports API
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.
org.openapitools.codegen.languages.RustClientCodegen
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" }
All URIs are relative to https://v2-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} |
To get access to the crate's generated documentation, use:
cargo doc --open