API для RustPlace Romania Vanilla [Wiped 21/5]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 88154,
"world_seed": 1337,
"world_size": 3800,
"steam_id": "90286576962142239",
"domain": null,
"id": 11260058,
"ip": "148.251.2.146",
"port": 28022,
"query": 28021,
"color": 0,
"city": "Falkenstein",
"description": "![RustPlace Romania Vanilla [Wiped 21/5]](https://www.rustplace.ro/img/rpl.jpg)\nWelcome on RustPlace Romania Vanilla!\r\n\r\n Biweekly map wipe, full wipe every month.\r\n Commands: !wipe, !pop\r\n \r\n Map Size: ~4k\r\n Team UI: 8\r\n Language: RO/EN\r\n \r\n Join our Discord for wipe notification and servers info:\r\n Discord: https://discord.gg/TQApYSC\r\n\r\n Have fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779955373,
"last_online": 1780581640,
"icon": null,
"name": "RustPlace Romania Vanilla [Wiped 21/5]",
"connect": "148.251.2.146:28022",
"request": "148.251.2.146:28021",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 250,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555186,
"last_update": 1780581640,
"banned": false,
"wipe": 1779375438,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4384,
"language": "de",
"parked": false,
"app": {
"id": 252490,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11260058");
$data = json_decode($json, true);
var_dump($data);