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

text
https://api.gamemonitoring.ru/servers/11027731
json
{
  "response": {
    "": "",
    "god": "0",
    "buddha": "0",
    "sv_tags": "",
    "sv_cheats": "0",
    "listentype": "d",
    "rpg_vipexp": "1",
    "sv_alltalk": "0",
    "cv_firtsreg": "200000",
    "environment": "w",
    "mp_teamlist": "hgrunt;scientist",
    "rpg_LvUp_SP": "5",
    "sv_maxspeed": "1000.000000",
    "sv_stepsize": "18",
    "a2s_protocol": 7,
    "mp_allowNPCs": "1",
    "mp_footsteps": "1",
    "mp_maxrounds": "0",
    "mp_timelimit": "0",
    "sv_rollangle": "0",
    "sv_rollspeed": "200",
    "CfgSyStemTXKG": "0",
    "mp_flashlight": "1",
    "mp_tournament": "0",
    "l4d_glammo_max": "80",
    "l4d_glammo_min": "80",
    "tauntfrequency": "1",
    "l4d_m60ammo_max": "200",
    "metamod_version": "1.11.0-dev+1155V",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "l4d2_WeaponUnlock": "0.8.1B",
    "l4d2_precache_m60": "1",
    "rpg_LvUp_Exp_Rate": "1400",
    "sm_doublejump_max": "1",
    "sourcemod_version": "1.11.0.6964",
    "l4d2_precache_tank": "1",
    "rpg_cv_loadtimeout": "120",
    "sv_wateraccelerate": "10",
    "l4d2_precache_witch": "1",
    "l4d_shotgunammo_max": "999",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sv_noclipaccelerate": "5",
    "l4d2_precache_csswea": "",
    "r_AirboatViewZHeight": "0.0",
    "rpg_cv_survivor_limit": "14",
    "sm_doublejump_version": "1.0.1",
    "rpg_GainCash_Kill_Tank": "0.006",
    "l4d2_precache_survivors": "1",
    "rpg_GainExp_Kill_Jockey": "20",
    "l4d_huntingrifleammo_min": "999",
    "mp_teams_unbalance_limit": "1",
    "rpg_GainCash_Kill_Boomer": "3",
    "rpg_GainCash_Kill_hunter": "3",
    "sm_supertank_tankbalance": "99999",
    "rpg_GainCash_Kill_Spitter": "3",
    "l4d2_multislots_enabled_kick": "0",
    "l4d2_multislots_enabled_sv_Sset": "0",
    "l4d2_multislots_enabled_sv_maxs": "14",
    "steam_id": null,
    "domain": null,
    "id": 11027731,
    "ip": "110.42.9.24",
    "port": 29056,
    "query": 29056,
    "project_id": null,
    "color": 0,
    "city": "Нинбо",
    "description": null,
    "game": 550,
    "boosts": 1,
    "last_offline": 1789578655,
    "last_online": 1789752681,
    "icon": null,
    "name": "星缘天空RPG战役 #-6",
    "connect": "110.42.9.24:29056",
    "request": "110.42.9.24:29056",
    "map": "c10m2_drainage",
    "gamemode": "Left 4 Dead 2",
    "version": "2.2.4.3",
    "numplayers": 0,
    "maxplayers": 14,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1769950038,
    "last_update": 1789752681,
    "ban_reason": null,
    "banned": false,
    "hidden": 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": 9080,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 11,
      "steam_id": 550,
      "name": "Left 4 Dead 2",
      "url": "left-4-dead-2"
    },
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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