Nuclear Option
API для GrayWar - www.graywar.no | [PvE EU] [Mix Rotation] [Votekick]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11108860json
{
"response": {
"steam_id": "90285136555346962",
"domain": null,
"id": 11108860,
"ip": "168.119.228.128",
"port": 7777,
"query": 7778,
"color": 0,
"city": "Nuremberg",
"description": null,
"game": 2168680,
"owner": null,
"boosts": 1,
"last_offline": 1777491205,
"score": 0,
"last_online": 1777492349,
"icon": null,
"name": "GrayWar - www.graywar.no | [PvE EU] [Mix Rotation] [Votekick]",
"connect": "168.119.228.128:7777",
"request": "168.119.228.128:7778",
"map": "Heartland | AbsoluteEscalation",
"gamemode": "Nuclear Option Server",
"version": "0.33.0",
"numplayers": 0,
"maxplayers": 36,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1770038225,
"last_update": 1777492349,
"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": 47,
"language": "de",
"parked": false,
"app": {
"id": 1615382,
"steam_id": 2168680,
"name": "Nuclear Option",
"url": "nuclear-option"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11108860");
$data = json_decode($json, true);
var_dump($data);