gabutique#9 Campaña [DF:Hard/SR:Intense/AI:Stealth] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286834400333830",
"domain": null,
"id": 11638687,
"ip": "64.176.14.203",
"port": 29780,
"query": 29780,
"project_id": null,
"color": 0,
"city": "Santiago",
"description": null,
"game": 91700,
"owner": null,
"boosts": 1,
"last_offline": 1779917397,
"last_online": 1781113335,
"icon": null,
"name": "gabutique#9 Campaña [DF:Hard/SR:Intense/AI:Stealth]",
"connect": "64.176.14.203:29780",
"request": "64.176.14.203:29780",
"map": "divine_cybermancy",
"gamemode": "EYE Coop Campaign",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 8,
"bots": 0,
"secured": false,
"private": false,
"country": "CL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1779917397,
"last_update": 1781113335,
"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": 8,
"language": "es",
"parked": false,
"app": {
"id": 54,
"steam_id": 91700,
"name": "E.Y.E: Divine Cybermancy",
"url": "eye-divine-cybermancy"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11638687");
$data = json_decode($json, true);
var_dump($data);