Welcome to the official Game API documentation! This API allows you to access game data, player information, and build tools around our game.
1. Game players who want to create custom utilities.
2. Community developers looking to build integrations or tools for the game.
3. Anyone interested in exploring the game's data.
Please, remember that using the api you are agreeing with our terms of service and all the usage will be tracked and can result on account suspension on extreme cases.
If you have any issues, please contact our support team at support@kickoffboss.com
About a player: https://api.kickoffboss.com/v1/player/xxx?key=api_key
About a team: https://api.kickoffboss.com/v1/team/xxx?key=api_key
About a match: https://api.kickoffboss.com/v1/match/xxx?&key=api_key
About a league: https://api.kickoffboss.com/v1/league/xxx?&key=api_key
const apiKey = "your_api_key";
const playerId = 123;
const url = `https://api.kickoffboss.com/v1/player/${playerId}?key=${apiKey}`;
fetch(url)
.then(response => {
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
return response.json();
})
.then(data => console.log(data))
.catch(error => console.error("There was a problem with the fetch operation:", error));
$apiKey = "your_api_key";
$playerId = 123;
$url = "https://api.kickoffboss.com/v1/player/" . $playerId . "?key=" . $apiKey;
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => $url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPGET => true,
]);
$response = curl_exec($curl);
$data = json_decode($response, true);
print_r($data);
curl_close($curl);