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

text
https://api.gamemonitoring.ru/servers/16695635
json
{
  "response": {
    "add_date": 1789749407,
    "app": {
      "id": 2,
      "name": "Counter-Strike 2",
      "steam_id": 730,
      "url": "counter-strike-2"
    },
    "color": 0,
    "connect": "191.44.37.165:10025",
    "country": "RU",
    "domain": null,
    "game": 730,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16695635,
    "ip": "191.44.37.165",
    "language": "ru",
    "last_update": 1789821303,
    "map": "surf_ski_5",
    "maxplayers": 35,
    "name": "🔥 SURF+RPG #1 🔥 Bce для пaцaнoв [PACANOFF.RU]",
    "numplayers": 1,
    "official": null,
    "points": 32,
    "port": 10025,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 10025,
    "request": "191.44.37.165:10025",
    "secured": false,
    "status": true,
    "steam_id": null,
    "version": "1.41.8.1",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Зеленоград",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Counter-Strike 2",
    "hidden": false,
    "last_offline": 1789818172,
    "last_online": 1789821303,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 7266,
    "wipe_period": null,
    "listentype": "d",
    "environment": "l",
    "a2s_protocol": 17,
    "players_complete": true
  }
}

Примеры кода

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