League of Legends Tribunal

FREE
By alikonda
Updated 4 months ago
Entertainment
1.2/10
Popularity Score
1638ms
Latency
100%
Success Rate

League of Legends Tribunal API Documentation

This API allows developer access to login, view cases, and submit Pardon/Punish votes in the League of Legends Tribunal.

View API Details
GETLogin Captcha
GETTribunal Case
POSTUser Login
POSTVote
GETLogin Captcha

Retrieve a captcha image (and associated id) for user verification.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Code Snippet
unirest.get("https://alikonda-league-of-legends-tribunal.p.rapidapi.com/captcha")
.header("X-RapidAPI-Host", "alikonda-league-of-legends-tribunal.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://alikonda-league-of-legends-tribunal.p.rapidapi.com/captcha
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://alikonda-league-of-legends-tribunal.p.rapidapi.com/captcha")
.header("X-RapidAPI-Host", "alikonda-league-of-legends-tribunal.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication