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

text
https://api.gamemonitoring.ru/servers/558700
json
{
  "response": {
    "add_date": 1665947797,
    "app": {
      "id": 9,
      "name": "Half-Life",
      "steam_id": 70,
      "url": "half-life"
    },
    "color": 0,
    "connect": "89.208.226.202:27053",
    "country": "RU",
    "domain": null,
    "game": 70,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 558700,
    "ip": "89.208.226.202",
    "language": "ru",
    "last_update": 1790392431,
    "map": "bounce",
    "maxplayers": 10,
    "name": "[DS]: ZXC Half-Life test",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27053,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27053,
    "request": "89.208.226.202:27053",
    "secured": true,
    "status": true,
    "steam_id": "90284734378628111",
    "version": "1.1.2.7/Stdio",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Москва",
    "description": "",
    "disabled_modules": [],
    "gamemode": "Half-Life",
    "hidden": false,
    "last_offline": 1789906160,
    "last_online": 1790392431,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 95,
    "wipe_period": null,
    "coop": "0",
    "sv_aim": "1",
    "pausable": "1",
    "sv_bounce": "1",
    "sv_cheats": "0",
    "sv_region": "255",
    "deathmatch": "1",
    "listentype": "d",
    "mp_logfile": "1",
    "sv_airmove": "1",
    "sv_alltalk": "0",
    "sv_contact": "",
    "sv_gravity": "800",
    "sv_maxrate": "0",
    "sv_minrate": "0",
    "sv_proxies": "1",
    "environment": "l",
    "mp_chattime": "10",
    "mp_teamlist": "hgrunt;scientist",
    "mp_teamplay": "0",
    "mp_timeleft": "0",
    "sv_clipmode": "0",
    "sv_friction": "4",
    "sv_maxspeed": "320",
    "sv_password": "0",
    "sv_stepsize": "18",
    "a2s_protocol": 48,
    "edgefriction": "2",
    "mp_footsteps": "1",
    "mp_fraglimit": "0",
    "mp_fragsleft": "0",
    "mp_timelimit": "0",
    "sv_logblocks": "0",
    "sv_stopspeed": "100",
    "sv_uploadmax": "0.5",
    "mp_falldamage": "0",
    "mp_flashlight": "0",
    "mp_weaponstay": "0",
    "sv_accelerate": "10",
    "decalfrequency": "30",
    "mp_consistency": "1",
    "sv_allowupload": "1",
    "sv_clienttrace": "1",
    "sv_voiceenable": "1",
    "max_queries_sec": "1",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "0",
    "allow_spectators": "0.0",
    "mp_allowmonsters": "0",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "max_queries_window": "1",
    "sv_wateraccelerate": "10",
    "max_queries_sec_global": "1"
  }
}

Примеры кода

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