Datasteal.com #2 <<( Map Playtesting )>> 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/6020768
json
{
  "response": {
    "steam_id": "90284601579881488",
    "domain": null,
    "id": 6020768,
    "ip": "74.91.113.28",
    "port": 27021,
    "query": 27021,
    "color": 0,
    "city": "Greenville",
    "description": null,
    "game": 244630,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774697547,
    "score": 0,
    "last_online": 1776582077,
    "icon": null,
    "name": "Datasteal.com #2 <<( Map Playtesting )>>",
    "connect": "74.91.113.28:27021",
    "request": "74.91.113.28:27021",
    "map": "nt_ghost_ctg",
    "gamemode": "Neotokyo",
    "version": "1.0.0.2",
    "numplayers": 0,
    "maxplayers": 25,
    "bots": 1,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1727442043,
    "last_update": 1776582077,
    "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": 10,
    "language": "en",
    "parked": false,
    "app": {
      "id": 41,
      "steam_id": 244630,
      "name": "NEOTOKYO°",
      "url": "neotokyo"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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