в Игре [cs-inplay] 18+ 的 API

面向程序、网站等的 JSON

text
https://api.gamemonitoring.cn/servers/10016206
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10016206,
    "ip": "185.9.145.160",
    "port": 28416,
    "query": 28416,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 10,
    "owner": null,
    "boosts": 1,
    "last_offline": 1773545564,
    "score": 0,
    "last_online": 1776205222,
    "icon": null,
    "name": "в Игре [cs-inplay] 18+",
    "connect": "185.9.145.160:28416",
    "request": "185.9.145.160:28416",
    "map": "de_abaddon",
    "gamemode": "Играй с нами",
    "version": "1.1.2.7/Stdio",
    "numplayers": 2,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 34,
    "add_date": 1755002481,
    "last_update": 1776205222,
    "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": 3278,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

代码示例

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