Rust
WARBANDITS.GG 3X SOLO ONLY|Loot+|X3 JUST WIPED 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10622994json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 60,
"entities_count": 148590,
"world_seed": 1693075711,
"world_size": 3250,
"steam_id": "90284416396083212",
"domain": null,
"id": 10622994,
"ip": "64.40.8.112",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nWelcome to WarBandits.gg 3x Solo Only! \r\n - 3x Gather Rates \r\n - 3x Crafting Speed \r\n - 3x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Tier 1 BPs unlocked \r\n - Extended Workbench range \r\n - Long Days & Short Nights \r\n - Group Limit: 1 \r\n - Active Staff \r\n - Fast Smelt",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194330,
"score": 0,
"last_online": 1776328211,
"icon": null,
"name": "WARBANDITS.GG 3X SOLO ONLY|Loot+|X3 JUST WIPED",
"connect": "64.40.8.112:28010",
"request": "64.40.8.112:28015",
"map": "Wiped 13 Hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 46,
"maxplayers": 175,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 75,
"add_date": 1763330661,
"last_update": 1776328211,
"banned": false,
"wipe": 1776279423,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 401,
"language": "en",
"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/10622994");
$data = json_decode($json, true);
var_dump($data);