Rust
API для No Rules - EU 100X Staging [No BPs | MyMini | Loot+]
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8297620json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 79848,
"world_seed": 693611944,
"world_size": 3550,
"steam_id": "90285017204583430",
"domain": null,
"id": 8297620,
"ip": "81.149.160.145",
"port": 28058,
"query": 28059,
"color": 0,
"city": "Blackpool",
"description": "![No Rules - EU 100X Staging [No BPs | MyMini | Loot+]](https://old.norulesrust.com/img/ServerBanner1.png)\nNo Rules (For Real) Rust\r\n\r\n- 100x Gather - Big Scrap - Sweet Kits - Fast Progression\r\n- No Junk Loot - Events - Shorter Nights\r\n- Sick Shit -7000+ Skins - Many Other Kick Ass QOL Mods\r\n\r\nAdmins do not get involved in Gameplay!!!\r\n \r\nNote: No Rules still means No Cheats!!!,\r\nCheaters will be treated like SHIT!!! Report via F7.\r\nYour actions can still result in a Ban, don't be a Douche!!!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777021946,
"score": 0,
"last_online": 1777324221,
"icon": null,
"name": "No Rules - EU 100X Staging [No BPs | MyMini | Loot+]",
"connect": "81.149.160.145:28058",
"request": "81.149.160.145:28059",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2624",
"numplayers": 0,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1743250273,
"last_update": 1777324221,
"banned": false,
"wipe": 1774571578,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3365,
"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/8297620");
$data = json_decode($json, true);
var_dump($data);