Killing Floor
WS-GAMING.EU�|�HARD/HoE�|�100LVL�[#2]�d(-__-)b 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10820617json
{
"response": {
"steam_id": 90284568452540420,
"domain": null,
"id": 10820617,
"ip": "57.129.41.8",
"port": 7707,
"query": 28852,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 1250,
"owner": null,
"boosts": 1,
"last_offline": 1776267115,
"score": 0,
"last_online": 1776445239,
"icon": null,
"name": "WS-GAMING.EU�|�HARD/HoE�|�100LVL�[#2]�d(-__-)b",
"connect": "57.129.41.8:7707",
"request": "57.129.41.8:28852",
"map": "KF-DOOMedv1-3",
"gamemode": "Killing Floor",
"version": "1.0.6.5",
"numplayers": 0,
"maxplayers": 26,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1767112734,
"last_update": 1776445239,
"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": 15,
"language": "de",
"parked": false,
"app": {
"id": 50,
"steam_id": 1250,
"name": "Killing Floor",
"url": "killing-floor"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10820617");
$data = json_decode($json, true);
var_dump($data);