Rust
WARBANDITS.GG |Solo/Duo/Trio|Weekly| JUST WIPED 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10781062json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 116697,
"world_seed": 37808126,
"world_size": 3700,
"steam_id": "90284617263136791",
"domain": null,
"id": 10781062,
"ip": "162.222.16.243",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Paris",
"description": "\nWelcome to WarBandits.gg Solo/Duo/Trio - Weekly! \r\nOn our servers we provide the best Rust gameplay. Our servers also run on the best Network & Hardware possible to improve your ingame experience on our servers! \r\n- Group Limit: 3 \r\n- Active Admins\r\n- Custom High Performance maps\r\n- Top Tier Network & Hardware\r\n- Custom Anti-cheat\r\n\r\nDiscord Link: discord.gg/warbandits",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775819524,
"score": 0,
"last_online": 1776574209,
"icon": null,
"name": "WARBANDITS.GG |Solo/Duo/Trio|Weekly| JUST WIPED",
"connect": "162.222.16.243:28010",
"request": "162.222.16.243:28015",
"map": "Wiped 11 Hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 186,
"maxplayers": 225,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 109,
"add_date": 1766872495,
"last_update": 1776574209,
"banned": false,
"wipe": 1776531449,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 86,
"language": "fr",
"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.cn/servers/10781062");
$data = json_decode($json, true);
var_dump($data);