API для EchoRust.co 3x Monthly |Solo/Duo/Trio/Quad | Full Wiped
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 40,
"fps_avg": 40,
"entities_count": 43086,
"world_seed": 1116466332,
"world_size": 4000,
"steam_id": "90286603823078407",
"domain": null,
"id": 11645251,
"ip": "193.31.31.34",
"port": 21345,
"query": 21347,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to EchoRust.CO! \r\n \r\n☑ Team Limit : 4 \r\n☑ Wipe : Monthly \r\n☑ 3x Gather Rates / 3x barrels / 3x smelt...(2x Sulfur) \r\n☑ Better Loot \r\n☑ Customized Anti Cheat System \r\n☑ Long Days & Short Nights \r\n☑ Active Non-Playing Admin",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595061,
"last_online": 1780604429,
"icon": null,
"name": "EchoRust.co 3x Monthly |Solo/Duo/Trio/Quad | Full Wiped",
"connect": "193.31.31.34:21345",
"request": "193.31.31.34:21347",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 6,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1780177457,
"last_update": 1780604429,
"banned": false,
"wipe": 1780595487,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2108,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11645251");
$data = json_decode($json, true);
var_dump($data);