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

text
https://api.gamemonitoring.ru/servers/6270213
json
{
  "response": {
    "steam_id": "85568392932535496",
    "domain": null,
    "id": 6270213,
    "ip": "62.182.159.105",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "St Petersburg",
    "description": "[{\"id\":\"JGUF5Z_-7y\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сбалансированные сервера кс 2 \"}},{\"id\":\"au3p65FxRi\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сайт: https://nemesiscs.ru/\\n\"}}]",
    "game": 730,
    "owner": 87752,
    "boosts": 1,
    "last_offline": 1775596407,
    "score": 5,
    "last_online": 1776769361,
    "icon": null,
    "name": "❤️⭐️NEMESISCS.RU⭐❤️ MIRAGE [!VIPTEST,!WS,!KNIFE]",
    "connect": "62.182.159.105:27015",
    "request": "62.182.159.105:27015",
    "map": "de_mirage",
    "gamemode": "Counter-Strike 2",
    "version": "1.41.5.2",
    "numplayers": 4,
    "maxplayers": 22,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 123,
    "add_date": 1728920676,
    "last_update": 1776769361,
    "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": 66,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "warning",
      "avatar": "ac0a4bac-6a61-4d0a-a203-3cf8bc5acea3.jpg",
      "last_online": 1769031833
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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