Counter-Strike
API для ZM.LALEAGANE.RO - [Zombie Plague 6.3]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7846089json
{
"response": {
"steam_id": null,
"domain": null,
"id": 7846089,
"ip": "176.96.137.74",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775899318,
"score": 0,
"last_online": 1776210618,
"icon": null,
"name": "ZM.LALEAGANE.RO - [Zombie Plague 6.3]",
"connect": "176.96.137.74:27016",
"request": "176.96.137.74:27016",
"map": "zm_gbox7",
"gamemode": "Zombie Plague 6.3",
"version": "1.1.2.7/Stdio",
"numplayers": 12,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 54,
"add_date": 1740146080,
"last_update": 1776210618,
"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": 2188,
"language": "de",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/7846089");
$data = json_decode($json, true);
var_dump($data);