Rust
API для RUSTWORLD.CC [AS] Hong Kong CN - Newbie Paradise | PVE/Monthly
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/7920467json
{
"response": {
"fps": 23,
"fps_avg": 23,
"entities_count": 91308,
"world_seed": 255308939,
"world_size": 4000,
"steam_id": "90285633785329693",
"domain": null,
"id": 7920467,
"ip": "103.75.117.54",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Tseung Kwan O",
"description": "![RUSTWORLD.CC [AS] Hong Kong CN - Newbie Paradise | PVE/Monthly](http://www.hostedinc.net/rustworldlogo.jpg)\n==================== RUSTWORLD.CC ===================\r\n\r\nhk1.rustworld.cc - Hong Kong CN\r\nRustworld.CC Newbie Paradise Server in China\r\nNO PVP, Softcore Mode, Monthly Wipes\r\n\r\nRules: http://www.rustworld.cc/rules.php\r\nSupport: http://www.rustworld.cc/support.php\r\nDonate: http://www.rustworld.cc/donate.php\r\n\r\nServer provided by: Rust World Foundation Inc",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778528582,
"score": 0,
"last_online": 1778607737,
"icon": null,
"name": "RUSTWORLD.CC [AS] Hong Kong CN - Newbie Paradise | PVE/Monthly",
"connect": "103.75.117.54:28015",
"request": "103.75.117.54:28017",
"map": "RustWorld HKC",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "HK",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1740791894,
"last_update": 1778607737,
"banned": false,
"wipe": 1778182809,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3382,
"language": "zh",
"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/7920467");
$data = json_decode($json, true);
var_dump($data);