#0 CHERNO PvP (Mr.Kashey) The Expendables DayZ by Dr.Day 的 API

我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/9107938
json
{
  "response": {
    "steam_id": 90284212110090260,
    "domain": null,
    "id": 9107938,
    "ip": "195.18.27.207",
    "port": 2330,
    "query": 2331,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 221100,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775668329,
    "score": 0,
    "last_online": 1775892621,
    "icon": null,
    "name": "#0 CHERNO PvP (Mr.Kashey) The Expendables DayZ by Dr.Day",
    "connect": "195.18.27.207:2330",
    "request": "195.18.27.207:2331",
    "map": "chernarusplus",
    "gamemode": null,
    "version": "1.29.162510",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 37,
    "add_date": 1747140611,
    "last_update": 1775892621,
    "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": 1488,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 63,
      "steam_id": 221100,
      "name": "DayZ",
      "url": "dayz"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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