Counter-Strike
API für [VE] #4 DeathRun + GunGame [TEAMPLAY] [VIP] [Public]
JSON für Programme, Websites und mehr
text
https://api.gamemonitoring.de/servers/10333689json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10333689,
"ip": "85.121.5.112",
"port": 27342,
"query": 27342,
"color": 0,
"city": "Chisinau",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1774365116,
"score": 0,
"last_online": 1776204026,
"icon": null,
"name": "[VE] #4 DeathRun + GunGame [TEAMPLAY] [VIP] [Public]",
"connect": "85.121.5.112:27342",
"request": "85.121.5.112:27342",
"map": "de_dust2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 31,
"maxplayers": 32,
"bots": 1,
"secured": true,
"private": false,
"country": "MD",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1758360682,
"last_update": 1776204026,
"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": 3629,
"language": "ro",
"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/10333689");
$data = json_decode($json, true);
var_dump($data);