#api-client #league #legends #language #open-api #generate #esports

lol-esports-api

League of Legends Esports API

7 releases

0.1.0 Apr 29, 2023
0.0.22 Mar 5, 2023
0.0.19 Feb 21, 2023

#5 in #legends

29 downloads per month

Unlicense

36KB
634 lines

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.

  • 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 GET /leagues/{leagueId}
DefaultApi get_leagues GET /leagues
DefaultApi get_matches_for_tournament GET /matches/{tournamentId}
DefaultApi get_most_recent_tournament GET /most-recent-tournament/{leagueId}
DefaultApi get_ongoing_tournanments GET /ongoing-tournaments
DefaultApi get_players_on_team GET /players/{teamId}
DefaultApi get_team_by_code GET /teams/{teamId}
DefaultApi get_teams GET /teams
DefaultApi get_tournament GET /tournament/{tournamentId}
DefaultApi get_tournaments_for_league GET /tournaments/{leagueId}

Documentation For Models

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

cargo doc --open

Author

Dependencies

~5–17MB
~225K SLoC