Deathmatch Classic
[WL] DMC, Jesus -VS- Satan! (Sounds! Maps!) 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8858280json
{
"response": {
"steam_id": "90284732483793937",
"domain": null,
"id": 8858280,
"ip": "162.248.88.40",
"port": 6104,
"query": 6104,
"color": 0,
"city": "Chicago",
"description": null,
"game": 40,
"owner": null,
"boosts": 1,
"last_offline": 1776682401,
"score": 0,
"last_online": 1776786014,
"icon": null,
"name": "[WL] DMC, Jesus -VS- Satan! (Sounds! Maps!)",
"connect": "162.248.88.40:6104",
"request": "162.248.88.40:6104",
"map": "dmc_e1m2",
"gamemode": "HL Teamplay",
"version": "1.1.2.3/Stdio",
"numplayers": 8,
"maxplayers": 32,
"bots": 8,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 93,
"add_date": 1746304588,
"last_update": 1776786014,
"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": 3,
"language": "en",
"parked": false,
"app": {
"id": 29,
"steam_id": 40,
"name": "Deathmatch Classic",
"url": "deathmatch-classic"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8858280");
$data = json_decode($json, true);
var_dump($data);