API для GREEN DRAGON[PVE][RU/EU][LOOT/SKILLSx3]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"build": 118271,
"extraFlags": 0,
"nameHeaderRaw": "f0df1c010003",
"statusFlags": 32,
"type": 0,
"unknownStatusFlags": 32,
"steam_id": null,
"domain": null,
"id": 11730993,
"ip": "141.105.67.145",
"port": 7162,
"query": 7162,
"color": 0,
"city": "Moscow",
"description": null,
"game": 513710,
"owner": null,
"boosts": 1,
"last_offline": 1780491836,
"last_online": 1780561843,
"icon": null,
"name": "GREEN DRAGON[PVE][RU/EU][LOOT/SKILLSx3]",
"connect": "141.105.67.145:7162",
"request": "141.105.67.145:7162",
"map": null,
"gamemode": "community-direct",
"version": "1.3.0.1.118271",
"numplayers": 7,
"maxplayers": 64,
"bots": 0,
"secured": null,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1780410501,
"last_update": 1780561843,
"banned": false,
"wipe": null,
"official": false,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 493,
"language": "ru",
"parked": false,
"app": {
"id": 11540,
"steam_id": 513710,
"name": "SCUM",
"url": "scum"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11730993");
$data = json_decode($json, true);
var_dump($data);