Rust
API для EchoRust.co 2x Monthly |Solo/Duo/Trio/Quad| Qol/Loot+ | No BP W
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7467991json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 46625,
"world_seed": 902067580,
"world_size": 4000,
"steam_id": "90284389950001172",
"domain": null,
"id": 7467991,
"ip": "51.195.189.151",
"port": 21245,
"query": 21247,
"color": 0,
"city": "City of London",
"description": "\nWelcome to EchoRust.CO! \r\n \r\n☑ Team Limit : 4 \r\n☑ Wipe : Monthly \r\n☑ 2x Gather Rates / 2x barrels / 2x smelt... \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": 1776224515,
"score": 0,
"last_online": 1776379219,
"icon": null,
"name": "EchoRust.co 2x Monthly |Solo/Duo/Trio/Quad| Qol/Loot+ | No BP W",
"connect": "51.195.189.151:21245",
"request": "51.195.189.151:21247",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 7,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1739234784,
"last_update": 1776379219,
"banned": false,
"wipe": 1775153091,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1261,
"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/7467991");
$data = json_decode($json, true);
var_dump($data);