VN-MP.COM - SEA | PVP | Vanilla | Monthly 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 130,
"fps_avg": 140,
"entities_count": 66172,
"world_seed": 3486489,
"world_size": 3500,
"steam_id": "90286756560001030",
"domain": null,
"id": 11759640,
"ip": "1.52.177.149",
"port": 28025,
"query": 28027,
"project_id": null,
"color": 0,
"city": "Ho Chi Minh City",
"description": null,
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1781265791,
"last_online": 1780935684,
"icon": null,
"name": "VN-MP.COM - SEA | PVP | Vanilla | Monthly",
"connect": "1.52.177.149:28025",
"request": "1.52.177.149:28027",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "VN",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780931725,
"last_update": 1781265791,
"banned": false,
"wipe": 1780930864,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12515,
"language": "vi",
"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/11759640");
$data = json_decode($json, true);
var_dump($data);