Rust
Divinity - EU 3x | NoBPs | Kits | Shop [8 MAX] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11159090json
{
"response": {
"fps": 30,
"fps_avg": 67,
"entities_count": 60410,
"world_seed": 1337,
"world_size": 3500,
"steam_id": "90285615507644426",
"domain": null,
"id": 11159090,
"ip": "194.69.160.32",
"port": 28015,
"query": 28017,
"color": 0,
"city": "City of London",
"description": "![Divinity - EU 3x | NoBPs | Kits | Shop [8 MAX]](https://i.postimg.cc/1zMQCFvR/Divinity-Server-Banner.png)\nMap Wipes: Every Monday and Friday\r\nBlueprint Wipes: N/A (does not wipe ever)\r\n\r\nLinks\r\n• discord.gg/divinityrust\r\n• store.divinityrust.com\r\n\r\nFeatures\r\n• 3x Gather\r\n• Team Limit: 8\r\n• 3x Loot (removed junk)\r\n• Custom QoL plugins and features\r\n• Custom maps\r\n• Performance optimizations\r\n• No paid features\r\n\r\n24 hours discord staff support",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778257985,
"score": 0,
"last_online": 1778534419,
"icon": null,
"name": "Divinity - EU 3x | NoBPs | Kits | Shop [8 MAX]",
"connect": "194.69.160.32:28015",
"request": "194.69.160.32:28017",
"map": "Divinity Custom Maps",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1772228123,
"last_update": 1778534419,
"banned": false,
"wipe": 1778331788,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4262,
"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/11159090");
$data = json_decode($json, true);
var_dump($data);