Rust
API для AK's SusRust 10x Small Map spawn /w weapon PVP
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/1204797json
{
"response": {
"fps": 30,
"fps_avg": 29,
"entities_count": 17428,
"world_seed": 1,
"world_size": 2100,
"steam_id": "90285732076470282",
"domain": null,
"id": 1204797,
"ip": "104.238.229.34",
"port": 28289,
"query": 28286,
"color": 0,
"city": "Dallas",
"description": "\nMap---> Wipes Tuesday and Friday - MAX TEAM 3 \r\n\r\n Auto Auth - Reward Points - Extended Workbench\r\n Custom Loot Tables - Kits - Clans - No Fuel Car\r\n InstaCraft - Shop - Big Stacks - SkinBox\r\n InstaBarrel - Auto CodeLock\r\n\r\nNo Ban Evading - No Rust or VAC Bans Under 120 days",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778186582,
"score": null,
"last_online": 1778769020,
"icon": null,
"name": "AK's SusRust 10x Small Map spawn /w weapon PVP",
"connect": "104.238.229.34:28289",
"request": "104.238.229.34:28286",
"map": "High FPS | Wiped - 6d ago",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1691954635,
"last_update": 1778769020,
"banned": false,
"wipe": 1778186801,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2823,
"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/1204797");
$data = json_decode($json, true);
var_dump($data);