API для [GER-ENG] Nature's Wrath (PvE)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"steam_id": 90286668678592540,
"domain": null,
"id": 11715572,
"ip": "194.15.36.225",
"port": 30000,
"query": 30001,
"project_id": null,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 1857950,
"owner": null,
"boosts": 1,
"last_offline": 1780404854,
"last_online": 1780809640,
"icon": null,
"name": "[GER-ENG] Nature's Wrath (PvE)",
"connect": "194.15.36.225:30000",
"request": "194.15.36.225:30001",
"map": "Champlain Valley",
"gamemode": "VEIN",
"version": "0.024h1",
"numplayers": 4,
"maxplayers": 20,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 42,
"add_date": 1780301686,
"last_update": 1780809640,
"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": 83,
"language": "de",
"parked": false,
"app": {
"id": 1530675,
"steam_id": 1857950,
"name": "VEIN",
"url": "vein"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11715572");
$data = json_decode($json, true);
var_dump($data);