[EU] BrotherHood Main | 3X Vanilla | Wiped 17h ago 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 171,
"fps_avg": 167,
"entities_count": 67541,
"world_seed": 996164412,
"world_size": 3500,
"steam_id": "90286929603743748",
"domain": null,
"id": 7290623,
"ip": "57.128.202.16",
"port": 10010,
"query": 10020,
"project_id": null,
"color": 0,
"city": "Warsaw",
"description": "![[EU] BrotherHood Main | 3X Vanilla | Wiped 17h ago](https://i.ibb.co/xYnS34W/banner.png)\nWiped twice weekly on Tuesday and Friday at 3PM UTC:\r\n- 3x Gather rates\r\n- Half Craft & Smelt\r\n- Tier 1 blueprints unlocked",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781031271,
"last_online": 1781343031,
"icon": null,
"name": "[EU] BrotherHood Main | 3X Vanilla | Wiped 17h ago",
"connect": "57.128.202.16:10010",
"request": "57.128.202.16:10020",
"map": "Wiped 17h ago",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 300,
"bots": 20,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1736717800,
"last_update": 1781343031,
"banned": false,
"wipe": 1781277210,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3356,
"language": "pl",
"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/7290623");
$data = json_decode($json, true);
var_dump($data);