Lol Esports Api

League of Legends Esports API
More information: https://openapi-generator.tech
Contact Info: team@openapitools.org
Version: 0.0.22
BasePath:
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html

Access

Methods

[ Jump to Models ]

Table of Contents

Default

Default

Up
get /leagues/{leagueId}
(getLeagueByCode)

Path parameters

leagueId (required)
Path Parameter — Get a league by code default: null

Return type

League

Example data

Content-Type: application/json
{
  "leagueName" : "leagueName",
  "level" : "level",
  "leagueId" : "leagueId",
  "region" : "region",
  "isOfficial" : true
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get a league by code League

404

Not Found Error EsportsServerError

500

Internal Server Error EsportsServerError

Up
get /leagues
(getLeagues)

Return type

array[League]

Example data

Content-Type: application/json
[ {
  "leagueName" : "leagueName",
  "level" : "level",
  "leagueId" : "leagueId",
  "region" : "region",
  "isOfficial" : true
}, {
  "leagueName" : "leagueName",
  "level" : "level",
  "leagueId" : "leagueId",
  "region" : "region",
  "isOfficial" : true
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get all the leagues

500

Internal Server Error EsportsServerError

Up
get /matches/{tournamentId}
(getMatchesForTournament)

Path parameters

tournamentId (required)
Path Parameter — The Tournament to get matches for default: null

Return type

array[Match]

Example data

Content-Type: application/json
[ {
  "patch" : "patch",
  "winner" : "winner",
  "tournamentId" : "tournamentId",
  "redTeamId" : "redTeamId",
  "startTime" : 0.8008281904610115,
  "bestOf" : "bestOf",
  "blueTeamId" : "blueTeamId",
  "matchId" : "matchId"
}, {
  "patch" : "patch",
  "winner" : "winner",
  "tournamentId" : "tournamentId",
  "redTeamId" : "redTeamId",
  "startTime" : 0.8008281904610115,
  "bestOf" : "bestOf",
  "blueTeamId" : "blueTeamId",
  "matchId" : "matchId"
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The matches for the Tournament

404

Not Found Error EsportsServerError

500

Internal Server Error EsportsServerError

Up
get /most-recent-tournament/{leagueId}
(getMostRecentTournament)

Path parameters

leagueId (required)
Path Parameter — The League to get tournament for default: null

Return type

Tournament

Example data

Content-Type: application/json
{
  "endDate" : "endDate",
  "leagueId" : "leagueId",
  "tournamentId" : "tournamentId",
  "isQualifier" : true,
  "isPlayoffs" : true,
  "startDate" : "startDate",
  "isOfficial" : true
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The tournaments for the league Tournament

404

Not Found Error EsportsServerError

500

Internal Server Error EsportsServerError

Up
get /ongoing-tournaments
(getOngoingTournanments)

Return type

array[Tournament]

Example data

Content-Type: application/json
[ {
  "endDate" : "endDate",
  "leagueId" : "leagueId",
  "tournamentId" : "tournamentId",
  "isQualifier" : true,
  "isPlayoffs" : true,
  "startDate" : "startDate",
  "isOfficial" : true
}, {
  "endDate" : "endDate",
  "leagueId" : "leagueId",
  "tournamentId" : "tournamentId",
  "isQualifier" : true,
  "isPlayoffs" : true,
  "startDate" : "startDate",
  "isOfficial" : true
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get all of the tourneys that are ongoing

500

Internal Server Error EsportsServerError

Up
get /players/{teamId}
(getPlayersOnTeam)

Path parameters

teamId (required)
Path Parameter — Get players on a team default: null

Return type

array[Player]

Example data

Content-Type: application/json
[ {
  "residency" : "residency",
  "country" : "country",
  "role" : "role",
  "teamId" : "teamId",
  "id" : "id",
  "isSubstitute" : true,
  "age" : 0.8008281904610115
}, {
  "residency" : "residency",
  "country" : "country",
  "role" : "role",
  "teamId" : "teamId",
  "id" : "id",
  "isSubstitute" : true,
  "age" : 0.8008281904610115
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The players on the associated team

404

Not Found Error EsportsServerError

500

Internal Server Error EsportsServerError

Up
get /teams/{teamId}
(getTeamByCode)

Path parameters

teamId (required)
Path Parameter — Get a team by code default: null

Return type

Team

Example data

Content-Type: application/json
{
  "teamId" : "teamId",
  "name" : "name",
  "location" : "location",
  "region" : "region",
  "isDisbanded" : true
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get a team by code Team

404

Not Found Error EsportsServerError

500

Internal Server Error EsportsServerError

Up
get /teams
(getTeams)

Return type

array[Team]

Example data

Content-Type: application/json
[ {
  "teamId" : "teamId",
  "name" : "name",
  "location" : "location",
  "region" : "region",
  "isDisbanded" : true
}, {
  "teamId" : "teamId",
  "name" : "name",
  "location" : "location",
  "region" : "region",
  "isDisbanded" : true
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

Get all the teams

500

Internal Server Error EsportsServerError

Up
get /tournament/{tournamentId}
(getTournament)

Path parameters

tournamentId (required)
Path Parameter — The tournamentId to get default: null

Return type

Tournament

Example data

Content-Type: application/json
{
  "endDate" : "endDate",
  "leagueId" : "leagueId",
  "tournamentId" : "tournamentId",
  "isQualifier" : true,
  "isPlayoffs" : true,
  "startDate" : "startDate",
  "isOfficial" : true
}

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The tournaments for the league Tournament

404

Not Found Error EsportsServerError

500

Internal Server Error EsportsServerError

Up
get /tournaments/{leagueId}
(getTournamentsForLeague)

Path parameters

leagueId (required)
Path Parameter — The League to get tournaments for default: null

Return type

array[Tournament]

Example data

Content-Type: application/json
[ {
  "endDate" : "endDate",
  "leagueId" : "leagueId",
  "tournamentId" : "tournamentId",
  "isQualifier" : true,
  "isPlayoffs" : true,
  "startDate" : "startDate",
  "isOfficial" : true
}, {
  "endDate" : "endDate",
  "leagueId" : "leagueId",
  "tournamentId" : "tournamentId",
  "isQualifier" : true,
  "isPlayoffs" : true,
  "startDate" : "startDate",
  "isOfficial" : true
} ]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

Responses

200

The tournaments for the league

404

Not Found Error EsportsServerError

500

Internal Server Error EsportsServerError

Models

[ Jump to Methods ]

Table of Contents

  1. EsportsServerError -
  2. Game -
  3. League -
  4. Match -
  5. Player -
  6. Team -
  7. Tournament -

EsportsServerError - Up

code (optional)
message (optional)
error (optional)

Game - Up

tournamentId
matchId
bestOf (optional)
blueTeamId
redTeamId
patch (optional)
startTime
winner (optional)

League - Up

leagueId
isOfficial
leagueName
level (optional)
region (optional)

Match - Up

tournamentId
matchId
bestOf (optional)
blueTeamId
redTeamId
patch (optional)
startTime
winner (optional)

Player - Up

id
age (optional)
country (optional)
isSubstitute (optional)
residency (optional)
role (optional)
teamId (optional)

Team - Up

teamId
isDisbanded (optional)
location (optional)
name
region (optional)

Tournament - Up

leagueId
tournamentId
startDate (optional)
endDate (optional)
isOfficial (optional)
isPlayoffs (optional)
isQualifier (optional)