# Rust API client for lol-esports-api League of Legends Esports API ## Overview This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the [openapi-spec](https://openapis.org) from a remote server, you can easily generate an API client. - API version: 0.1.0 - Package version: 0.1.0 - Build package: `org.openapitools.codegen.languages.RustClientCodegen` ## 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* | [**get_league_by_code**](docs/DefaultApi.md#get_league_by_code) | **GET** /leagues/{leagueId} | *DefaultApi* | [**get_leagues**](docs/DefaultApi.md#get_leagues) | **GET** /leagues | *DefaultApi* | [**get_matches_for_tournament**](docs/DefaultApi.md#get_matches_for_tournament) | **GET** /matches/{tournamentId} | *DefaultApi* | [**get_most_recent_tournament**](docs/DefaultApi.md#get_most_recent_tournament) | **GET** /most-recent-tournament/{leagueId} | *DefaultApi* | [**get_ongoing_tournanments**](docs/DefaultApi.md#get_ongoing_tournanments) | **GET** /ongoing-tournaments | *DefaultApi* | [**get_players_on_team**](docs/DefaultApi.md#get_players_on_team) | **GET** /players/{teamId} | *DefaultApi* | [**get_team_by_code**](docs/DefaultApi.md#get_team_by_code) | **GET** /teams/{teamId} | *DefaultApi* | [**get_teams**](docs/DefaultApi.md#get_teams) | **GET** /teams | *DefaultApi* | [**get_tournament**](docs/DefaultApi.md#get_tournament) | **GET** /tournament/{tournamentId} | *DefaultApi* | [**get_tournaments_for_league**](docs/DefaultApi.md#get_tournaments_for_league) | **GET** /tournaments/{leagueId} | ## Documentation For Models - [EsportsServerError](docs/EsportsServerError.md) - [Game](docs/Game.md) - [League](docs/League.md) - [Match](docs/Match.md) - [Player](docs/Player.md) - [Team](docs/Team.md) - [Tournament](docs/Tournament.md) To get access to the crate's generated documentation, use: ``` cargo doc --open ``` ## Author