Lol Esports Api
League of Legends Esports API
Version: 0.0.22
BasePath:
All rights reserved
http://apache.org/licenses/LICENSE-2.0.html
Access
[ Jump to Models ]
Table of Contents
Up
get /leagues/{leagueId}
(getLeagueByCode)
Path parameters
leagueId (required)
Path Parameter — Get a league by code default: null
Return type
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 request header;
the media type will be conveyed by the response header.
Responses
200
Get a league by code
League
404
Not Found Error
EsportsServerError
500
Internal Server Error
EsportsServerError
(getLeagues)
Return type
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 request header;
the media type will be conveyed by the 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
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 request header;
the media type will be conveyed by the 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
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 request header;
the media type will be conveyed by the 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
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 request header;
the media type will be conveyed by the response header.
Responses
200
Get all of the tourneys that are ongoing
500
Internal Server Error
EsportsServerError
(getPlayersOnTeam)
Path parameters
teamId (required)
Path Parameter — Get players on a team default: null
Return type
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 request header;
the media type will be conveyed by the response header.
Responses
200
The players on the associated team
404
Not Found Error
EsportsServerError
500
Internal Server Error
EsportsServerError
(getTeamByCode)
Path parameters
teamId (required)
Path Parameter — Get a team by code default: null
Return type
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 request header;
the media type will be conveyed by the response header.
Responses
200
Get a team by code
Team
404
Not Found Error
EsportsServerError
500
Internal Server Error
EsportsServerError
(getTeams)
Return type
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 request header;
the media type will be conveyed by the 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
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 request header;
the media type will be conveyed by the 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
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 request header;
the media type will be conveyed by the response header.
Responses
200
The tournaments for the league
404
Not Found Error
EsportsServerError
500
Internal Server Error
EsportsServerError
[ Jump to Methods ]
Table of Contents
EsportsServerError
-
Game
-
League
-
Match
-
Player
-
Team
-
Tournament
-
code (optional)
message (optional)
error (optional)
tournamentId
matchId
bestOf (optional)
blueTeamId
redTeamId
patch (optional)
startTime
winner (optional)
leagueId
isOfficial
leagueName
level (optional)
region (optional)
tournamentId
matchId
bestOf (optional)
blueTeamId
redTeamId
patch (optional)
startTime
winner (optional)
id
age (optional)
country (optional)
isSubstitute (optional)
residency (optional)
role (optional)
teamId (optional)
teamId
isDisbanded (optional)
location (optional)
name
region (optional)
leagueId
tournamentId
startDate (optional)
endDate (optional)
isOfficial (optional)
isPlayoffs (optional)
isQualifier (optional)