NOAUTH
GET
- GET /game - Get games
return: (200) Games array | (4xx-5xx) Error json
Data result:
{
"lol": {
"id": "lol",
"small_name": "LoL",
"name": "League Of Legends",
"icon": "/public/images/game/lol/icon.png",
"image": "/public/images/game/lol/image.png",
"color": "#f9d380",
"ratelimit": {
"request": 300,
"every": 10,
"total": 600
}
},
"speedrun": {
"id": "speedrun",
"small_name": "Speedrun",
"name": "Speedrun.com",
"icon": "/public/images/game/speedrun/icon.png",
"image": "/public/images/game/speedrun/image.png",
"color": "#d68548",
"ratelimit": {
"request": 30,
"every": 60,
"total": 1800
}
}
}
- GET /game/:gameID - Get a game
url:
- gameID: gameID - type:
STRING
return: (200) Game object | (4xx-5xx) Error json
Data result:
{
"id": "lol",
"small_name": "LoL",
"name": "League Of Legends",
"icon": "/public/images/game/lol/icon.png",
"image": "/public/images/game/lol/image.png",
"color": "#f9d380",
"ratelimit": {
"request": 300,
"every": 10,
"total": 600
}
}
USER
- GET /game/tags/all - Get all game tags
return: (200) Game objects with tags | (4xx-5xx) Error json
Data result:
{
"lol": {
"LOL__RANKED_SOLO_SR__TIER": {
"id": "LOL__RANKED_SOLO_SR__TIER",
"gameID": "lol",
"category": "Ranked Solo Summoner's Rift",
"categorySmall": "Ranked Solo SR",
"name": "Tier",
"nameSmall": "Tier",
"size": 10,
"account": true,
"fieldSettings": {
"size": {
"type": "select",
"tooltip": {
"en": "Text size in the profile",
"fr": "Taille du texte dans le profil"
},
"label": {
"en": "Size",
"fr": "Taille"
},
"input": {
"default": {
"value": 0,
"en": "Default size",
"fr": "Taille par défaut"
},
"short": {
"value": -4,
"en": "Short",
"fr": "Court"
}
}
},
"format": {
"type": "select",
"tooltip": false,
"label": {
"en": "Formatting",
"fr": "Mise en forme"
},
"input": {
"uppercase": {
"value": 0,
"en": "EXAMPLE",
"fr": "EXEMPLE"
},
"lowercase": {
"value": 0,
"en": "example",
"fr": "exemple"
},
"capitalize": {
"value": 0,
"en": "Example",
"fr": "Exemple"
}
}
}
},
"settingsOrder": [
"size",
"format"
],
"generator": "tier",
"data": {
"size": {
"default": {
"unranked": "unranked",
"bronze": "bronze",
"silver": "silver",
"gold": "gold",
"platinum": "platinum",
"diamond": "diamond",
"master": "master",
"challenger": "challenger"
},
"short": {
"unranked": "unrank",
"bronze": "bronze",
"silver": "silver",
"gold": "gold",
"platinum": "plat",
"diamond": "diam",
"master": "master",
"challenger": "chall"
}
},
"format": {}
},
"example": {
"size": {
"default": {
"format": {
"uppercase": "DIAMOND",
"lowercase": "diamond",
"capitalize": "Diamond"
}
},
"short": {
"format": {
"uppercase": "DIAM",
"lowercase": "diam",
"capitalize": "Diam"
}
}
}
}
}
},
"speedrun": {}
}
- GET /game/tags/game/:gameID - Get game tags by gameID
url:
- gameID: gameID - type:
STRING
return: (200) Tags array | (4xx-5xx) Error json
Data result:
{
"LOL__RANKED_SOLO_SR__TIER": {
"id": "LOL__RANKED_SOLO_SR__TIER",
"gameID": "lol",
"category": "Ranked Solo Summoner's Rift",
"categorySmall": "Ranked Solo SR",
"name": "Tier",
"nameSmall": "Tier",
"size": 10,
"account": true,
"fieldSettings": {
"size": {
"type": "select",
"tooltip": {
"en": "Text size in the profile",
"fr": "Taille du texte dans le profil"
},
"label": {
"en": "Size",
"fr": "Taille"
},
"input": {
"default": {
"value": 0,
"en": "Default size",
"fr": "Taille par défaut"
},
"short": {
"value": -4,
"en": "Short",
"fr": "Court"
}
}
},
"format": {
"type": "select",
"tooltip": false,
"label": {
"en": "Formatting",
"fr": "Mise en forme"
},
"input": {
"uppercase": {
"value": 0,
"en": "EXAMPLE",
"fr": "EXEMPLE"
},
"lowercase": {
"value": 0,
"en": "example",
"fr": "exemple"
},
"capitalize": {
"value": 0,
"en": "Example",
"fr": "Exemple"
}
}
}
},
"settingsOrder": [
"size",
"format"
],
"generator": "tier",
"example": {
"size": {
"default": {
"format": {
"uppercase": "DIAMOND",
"lowercase": "diamond",
"capitalize": "Diamond"
}
},
"short": {
"format": {
"uppercase": "DIAM",
"lowercase": "diam",
"capitalize": "Diam"
}
}
}
}
}
}
- GET /game/settings/all - Get all game settings
return: (200) Game objects with settings | (4xx-5xx) Error json
Data result:
{
"lol": {
"username": {
"type": "string",
"tooltip": false,
"input": false,
"label": {
"en": "Username",
"fr": "Nom d'utilisateur"
}
},
"region": {
"type": "select",
"tooltip": false,
"label": {
"en": "Region",
"fr": "Region"
},
"input": {
"euw": {
"en": "Europe West",
"fr": "Europe Ouest"
},
"na": {
"en": "North America",
"fr": "Amérique du Nord"
},
"eune": {
"en": "Europe Nordic & East",
"fr": "Europe Nord & Est"
},
"kr": {
"en": "Korea",
"fr": "Corée"
},
"lan": {
"en": "Latin America North",
"fr": "Amérique latine Nord"
},
"las": {
"en": "Latin America South",
"fr": "Amérique latine Sud"
},
"br": {
"en": "Brazil",
"fr": "Brésil"
},
"oce": {
"en": "Oceania",
"fr": "Océanie"
},
"ru": {
"en": "Russia",
"fr": "Russie"
},
"tr": {
"en": "Turkey",
"fr": "Turquie"
},
"jp": {
"en": "Japan",
"fr": "Japon"
}
}
},
"verified": {
"type": "verified",
"input": false,
"tooltip": {
"en": "Prove that the account belongs to you",
"fr": "Prouver que le compte vous appartient"
},
"label": {
"en": "Verify my account",
"fr": "Vérifier mon compte"
}
}
},
"speedrun": {
"username": {
"type": "string",
"tooltip": false,
"input": false,
"label": {
"en": "Username",
"fr": "Nom d'utilisateur"
}
}
}
}
- GET /game/settings/game/:gameID - Get game settings by gameID
url:
- gameID: gameID - type:
STRING
return: (200) Tags array | (4xx-5xx) Error json
Data result:
{
"username": {
"type": "string",
"tooltip": false,
"input": false,
"label": {
"en": "Username",
"fr": "Nom d'utilisateur"
}
},
"region": {
"type": "select",
"tooltip": false,
"label": {
"en": "Region",
"fr": "Region"
},
"input": {
"euw": {
"en": "Europe West",
"fr": "Europe Ouest"
},
"na": {
"en": "North America",
"fr": "Amérique du Nord"
},
"eune": {
"en": "Europe Nordic & East",
"fr": "Europe Nord & Est"
},
"kr": {
"en": "Korea",
"fr": "Corée"
},
"lan": {
"en": "Latin America North",
"fr": "Amérique latine Nord"
},
"las": {
"en": "Latin America South",
"fr": "Amérique latine Sud"
},
"br": {
"en": "Brazil",
"fr": "Brésil"
},
"oce": {
"en": "Oceania",
"fr": "Océanie"
},
"ru": {
"en": "Russia",
"fr": "Russie"
},
"tr": {
"en": "Turkey",
"fr": "Turquie"
},
"jp": {
"en": "Japan",
"fr": "Japon"
}
}
},
"verified": {
"type": "verified",
"input": false,
"tooltip": {
"en": "Prove that the account belongs to you",
"fr": "Prouver que le compte vous appartient"
},
"label": {
"en": "Verify my account",
"fr": "Vérifier mon compte"
}
}
}