Counter-Strike
API für [ZR] Born2Kill | Zombie Riot [discord.gg/b2k]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10154847json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10154847,
"ip": "54.38.152.30",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Limburg an der Lahn",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775236933,
"score": 0,
"last_online": 1776193822,
"icon": null,
"name": "[ZR] Born2Kill | Zombie Riot [discord.gg/b2k]",
"connect": "54.38.152.30:27015",
"request": "54.38.152.30:27015",
"map": "cs_estate",
"gamemode": "Zombie Riot",
"version": "1.1.2.7/Stdio",
"numplayers": 4,
"maxplayers": 32,
"bots": 16,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 39,
"add_date": 1756205869,
"last_update": 1776193822,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3255,
"language": "de",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Codebeispiele
php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/10154847");
$data = json_decode($json, true);
var_dump($data);