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

text
https://api.gamemonitoring.ru/servers/13875492
json
{
  "response": {
    "add_date": 1787258611,
    "app": {
      "id": 138,
      "name": "Quake Live",
      "steam_id": 282440,
      "url": "quake-live"
    },
    "color": 0,
    "connect": "5.230.168.219:27960",
    "country": "DE",
    "domain": null,
    "game": 282440,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 13875492,
    "ip": "5.230.168.219",
    "language": "de",
    "last_update": 1794281552,
    "map": "seamsandbolts",
    "maxplayers": 24,
    "name": "PQL Vamp Community #2",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27960,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27960,
    "request": "5.230.168.219:27960",
    "secured": true,
    "status": true,
    "steam_id": "85568392936641442",
    "version": "1069 linux-x64 Jun  3 2016 20:53:50",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Бад-Зоден",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Clan Arena",
    "hidden": false,
    "last_offline": 1793968227,
    "last_online": 1794281552,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 693,
    "wipe_period": null,
    "dmflags": "60",
    "protocol": "91",
    "teamsize": "8",
    "fraglimit": "50",
    "g_factory": "ca_mpql_vamp",
    "g_gravity": "800",
    "g_loadout": "0",
    "timelimit": "0",
    "g_gametype": "4",
    "g_instaGib": "0",
    "g_overtime": "0",
    "g_redScore": "0",
    "listentype": "d",
    "mercylimit": "0",
    "roundlimit": "10",
    "scorelimit": "150",
    "environment": "l",
    "g_blueScore": "0",
    "g_gameState": "PRE_GAME",
    "g_voteFlags": "15464",
    "a2s_protocol": 17,
    "capturelimit": "8",
    "g_itemHeight": "35",
    "g_itemTimers": "0",
    "g_teamSizeMin": "1",
    "g_factoryTitle": "PQL Vamp Community",
    "g_timeoutCount": "0",
    "roundtimelimit": "135",
    "g_weaponRespawn": "5",
    "g_customSettings": "0",
    "g_levelStartTime": "1794204623",
    "g_startingHealth": "250",
    "players_complete": true,
    "sv_privateClients": "0",
    "g_adElimScoreBonus": "2",
    "g_freezeRoundDelay": "4000",
    "g_quadDamageFactor": "3",
    "g_roundWarmupDelay": "8100",
    "g_teamForceBalance": "1",
    "g_adTouchScoreBonus": "1",
    "g_adCaptureScoreBonus": "3"
  }
}

Примеры кода

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