API для ^8 Players^
JSON для программ, сайтов и прочего
text
json
{
"response": {
"os": "w",
"region": 255,
"product": "left4dead2",
"gametype": "coop,empty,insecure",
"dedicated": true,
"steam_id": "90290473805728774",
"domain": null,
"id": 13588190,
"ip": "86.29.64.251",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Ilford",
"description": null,
"game": 550,
"owner": null,
"boosts": 1,
"last_offline": 1786527804,
"last_online": 1786246200,
"icon": null,
"name": "^8 Players^",
"connect": "86.29.64.251:27015",
"request": "86.29.64.251:27015",
"map": "c5m3_cemetery",
"gamemode": null,
"version": "2.2.4.3",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": false,
"private": null,
"country": "GB",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1786246428,
"last_update": 1786527804,
"ban_reason": null,
"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": 19619,
"language": "en",
"parked": false,
"app": {
"id": 11,
"steam_id": 550,
"name": "Left 4 Dead 2",
"url": "left-4-dead-2"
},
"server_owner": null,
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/13588190");
$data = json_decode($json, true);
var_dump($data);