API для [BE-EU] DevHops [PVP] [Dedicated]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1792273725,
"app": {
"id": 1531516,
"name": "HumanitZ",
"steam_id": 1766060,
"url": "humanitz"
},
"color": 0,
"connect": "217.136.143.241:7777",
"country": "BE",
"domain": null,
"game": 1766060,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 18542521,
"ip": "217.136.143.241",
"language": "nl",
"last_update": 1794445303,
"map": "Main Map",
"maxplayers": 16,
"name": "[BE-EU] DevHops [PVP] [Dedicated]",
"numplayers": 0,
"official": null,
"points": 30,
"port": 7777,
"private": null,
"project_id": null,
"pve": null,
"pvp": null,
"query": 7777,
"request": "217.136.143.241:7777",
"secured": null,
"status": true,
"steam_id": null,
"version": null,
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Брюссель",
"description": null,
"disabled_modules": [],
"gamemode": null,
"hidden": false,
"last_offline": 1794444447,
"last_online": 1794445303,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 256,
"wipe_period": null,
"eosSessionId": "47a9a12306a64e1ba1e5763880d934e8"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/18542521");
$data = json_decode($json, true);
var_dump($data);