Rust
API для S4丨NiceRust-3倍3废-4.21日新开-8人组-新手乐园
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11435719json
{
"response": {
"fps": 73,
"fps_avg": 69,
"entities_count": 101369,
"world_seed": 2147483647,
"world_size": 4000,
"steam_id": "90284548186131464",
"domain": null,
"id": 11435719,
"ip": "202.189.23.240",
"port": 40315,
"query": 40316,
"color": 0,
"city": "Beijing",
"description": "\n关于我们\r\n• 地图清理: 每周3下午4点\r\n• 本服倍率: 2倍采集原倍硫磺\r\n• 地图大小: 3800\r\n• 组队上限: 8\r\n\r\n链接\r\n• Discord: https://nicerust.com/com\r\n• QQ: 522222431\r\n\r\nINFO\r\n• Map wipe: every Monday,\r\n• BP Wipe: every Monday\r\n• Map size: 3800\r\n• Team size: 4",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776531204,
"score": 0,
"last_online": 1776832816,
"icon": null,
"name": "S4丨NiceRust-3倍3废-4.21日新开-8人组-新手乐园",
"connect": "202.189.23.240:40315",
"request": "202.189.23.240:40316",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 50,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 77,
"add_date": 1774977202,
"last_update": 1776832816,
"banned": false,
"wipe": 1776402645,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 378,
"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/11435719");
$data = json_decode($json, true);
var_dump($data);