API для [G_M]# Classic CSDM/TDM Server | AntiCheat | 1000FPS | Clean mod | e-Sport | FASTCUP Training | @ gmgaming.hu

JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/617087
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 617087,
    "ip": "87.229.85.193",
    "port": 27040,
    "query": 27040,
    "color": 0,
    "city": "Budapest",
    "description": "",
    "game": 10,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775687524,
    "score": null,
    "last_online": 1776208246,
    "icon": null,
    "name": "[G_M]# Classic CSDM/TDM Server | AntiCheat | 1000FPS | Clean mod | e-Sport | FASTCUP Training | @ gmgaming.hu",
    "connect": "87.229.85.193:27040",
    "request": "87.229.85.193:27040",
    "map": "de_train",
    "gamemode": "Counter-Strike",
    "version": "1.1.2.7/Stdio",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 16,
    "secured": true,
    "private": false,
    "country": "HU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1669414394,
    "last_update": 1776208246,
    "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": 4914,
    "language": "hu",
    "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.ru/servers/617087");
$data = json_decode($json, true);
var_dump($data);