API для #1 PVP SERVER | RU + EN | VIP SKINS
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1784471486,
"app": {
"id": 6,
"name": "No More Room in Hell",
"steam_id": 224260,
"url": "no-more-room-in-hell"
},
"color": 0,
"connect": "46.8.21.26:27022",
"country": "RU",
"domain": null,
"game": 224260,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 12384900,
"ip": "46.8.21.26",
"language": "ru",
"last_update": 1794770185,
"map": "pvp_friday13thv2",
"maxplayers": 9,
"name": "#1 PVP SERVER | RU + EN | VIP SKINS",
"numplayers": 8,
"official": null,
"points": 119,
"port": 27022,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27022,
"request": "46.8.21.26:27022",
"secured": true,
"status": true,
"steam_id": "90297499106255897",
"version": "1.1.5.0",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Москва",
"description": null,
"disabled_modules": [],
"gamemode": "NMRIH: PVP",
"hidden": false,
"last_offline": 1794200575,
"last_online": 1794770185,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 11,
"wipe_period": null,
"listentype": "d",
"environment": "l",
"a2s_protocol": 17,
"players_complete": true
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/12384900");
$data = json_decode($json, true);
var_dump($data);