纯净4特16秒战役服(同屏僵尸200+) 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10658056
json
{
  "response": {
    "steam_id": "90284741641950214",
    "domain": null,
    "id": 10658056,
    "ip": "103.37.44.150",
    "port": 20740,
    "query": 20740,
    "color": 0,
    "city": "Wuxi",
    "description": null,
    "game": 550,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776180115,
    "score": 0,
    "last_online": 1776799864,
    "icon": null,
    "name": "纯净4特16秒战役服(同屏僵尸200+)",
    "connect": "103.37.44.150:20740",
    "request": "103.37.44.150:20740",
    "map": "dxyl1",
    "gamemode": "纯净战役服",
    "version": "2.2.4.3",
    "numplayers": 0,
    "maxplayers": 8,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1764543474,
    "last_update": 1776799864,
    "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": 11448,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 11,
      "steam_id": 550,
      "name": "Left 4 Dead 2",
      "url": "left-4-dead-2"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10658056");
$data = json_decode($json, true);
var_dump($data);