Rust
API для [AU] Rust PVE | |HOME TP | NO RAIDING | NO KILLING | NOOB FR
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11189583json
{
"response": {
"fps": 58,
"fps_avg": 56,
"entities_count": 79216,
"world_seed": 1234567,
"world_size": 3700,
"steam_id": "90285566073009183",
"domain": null,
"id": 11189583,
"ip": "51.161.198.101",
"port": 28030,
"query": 28031,
"color": 0,
"city": "North Sydney",
"description": "![[AU] Rust PVE | |HOME TP | NO RAIDING | NO KILLING | NOOB FR](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\nwelcome to our server No pressure, no rush — just you, your friends, and endless building possibilities. Explore the map without the constant threat of getting killed or raided Perfect for relaxed Rust sessions.\" \r\n 1. Home tp 2. shop /s 3.Quick smelt 4. better stacks.4 quarrys lock to you when use them.5",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778184784,
"score": 0,
"last_online": 1778557818,
"icon": null,
"name": "[AU] Rust PVE | |HOME TP | NO RAIDING | NO KILLING | NOOB FR",
"connect": "51.161.198.101:28030",
"request": "51.161.198.101:28031",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772699060,
"last_update": 1778557818,
"banned": false,
"wipe": 1778184908,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 1,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2065,
"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/11189583");
$data = json_decode($json, true);
var_dump($data);