Rust
API для 『蕾姆PVE』 原倍 | 突袭 | 事件 | 萌新 | 养老
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10780957json
{
"response": {
"fps": 32,
"fps_avg": 31,
"entities_count": 147855,
"world_seed": 463148431,
"world_size": 4500,
"steam_id": "90285639248600081",
"domain": null,
"id": 10780957,
"ip": "180.188.24.138",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Taizhou",
"description": "\n本服蕾姆PVE 欢迎加入游玩!\r\n\r\n▷服务器玩法◁\r\n可召唤突袭基地 | 可召唤武装直升机 | 可开启守护家园 |\r\n车队事件 | 火车事件 | 港口事件 | 机场事件 | 太空站事件 |\r\n雷达事件 | 大油事件 | 防御基地事件 | 极地科研中心事件 |\r\n\r\n▷服务器内容◁\r\n玩家之间无伤害 | 死亡不掉落物品 | 物品五倍叠加 | 原倍资源 | 额外大背包 | 技能系统 |\r\n快捷菜单 | 物品商城 | 物品皮肤 | 喷气背包 | 一键升级 | 一键修复 | 画板贴图 | 音乐自定义 |\r\n\r\n企鹅QQ群: 947581008",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778536980,
"score": 0,
"last_online": 1778598140,
"icon": null,
"name": "『蕾姆PVE』 原倍 | 突袭 | 事件 | 萌新 | 养老",
"connect": "180.188.24.138:28015",
"request": "180.188.24.138:28017",
"map": "地球 OnLine",
"gamemode": "Survival",
"version": "2625",
"numplayers": 3,
"maxplayers": 33,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 64,
"add_date": 1766872485,
"last_update": 1778598140,
"banned": false,
"wipe": 1778210109,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1409,
"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/10780957");
$data = json_decode($json, true);
var_dump($data);