Soulmask
曼巴out 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11385196json
{
"response": {
"steam_id": "90284222405849109",
"domain": null,
"id": 11385196,
"ip": "202.189.9.174",
"port": 10459,
"query": 10461,
"color": 0,
"city": "Beijing",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1775934717,
"score": 0,
"last_online": 1776016888,
"icon": null,
"name": "曼巴out",
"connect": "202.189.9.174:10459",
"request": "202.189.9.174:10461",
"map": "DLC_Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 4,
"bots": 0,
"secured": true,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774596163,
"last_update": 1776016888,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1260,
"language": "zh",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11385196");
$data = json_decode($json, true);
var_dump($data);