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

text
https://api.gamemonitoring.ru/servers/6498032
json
{
  "response": {
    "coop": "0",
    "gunmenu": "4",
    "hbf_debug": "1",
    "deathmatch": "1",
    "listentype": "d",
    "map_spawns": "T(11) CT(11)",
    "mp_buytime": "0.75",
    "mp_c4timer": "35",
    "mp_logfile": "1",
    "af_jump_fix": "0",
    "amx_nextmap": "fy_pool_day",
    "environment": "l",
    "hbf_enabled": "1",
    "mp_autokick": "0",
    "mp_chattime": "3",
    "mp_maxmoney": "16000",
    "a2s_protocol": 48,
    "amx_language": "en",
    "amx_timeleft": "00:00",
    "edgefriction": "2",
    "game_version": "5.26.0.668-dev",
    "mp_footsteps": "1",
    "mp_fraglimit": "0",
    "mp_fragsleft": "0",
    "mp_logdetail": "0",
    "mp_maxrounds": "0",
    "mp_falldamage": "1",
    "mp_flashlight": "0",
    "mp_freeforall": "0",
    "mp_freezetime": "1.8",
    "mp_limitteams": "0",
    "decalfrequency": "30",
    "mp_consistency": "1",
    "mp_fadetoblack": "0",
    "mp_forcecamera": "2",
    "mp_kickpercent": "0.66",
    "mp_logmessages": "1",
    "af_accuracy_all": "1024.0",
    "af_distance_all": "1024.0",
    "amxmodx_version": "1.10.0.5467",
    "max_queries_sec": "1",
    "metamod_version": "1.3.0.149",
    "mp_buy_anywhere": "0",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "0",
    "mp_mapvoteratio": "0.66",
    "allow_spectators": "1.0",
    "humans_join_team": "any",
    "mp_forcechasecam": "2",
    "mp_infinite_ammo": "1",
    "mp_item_staytime": "0",
    "players_complete": true,
    "mp_give_player_c4": "1",
    "mp_hostagepenalty": "0",
    "max_queries_window": "1",
    "mp_autoteambalance": "0",
    "mp_autokick_timeout": "-1",
    "mp_hostage_hurtable": "0",
    "amx_client_languages": "1",
    "mp_infinite_grenades": "0",
    "af_accuracy_weapon_m3": "2048.0",
    "af_distance_weapon_m3": "1024.0",
    "mp_afk_bomb_drop_time": "0",
    "af_accuracy_weapon_aug": "2048.0",
    "af_accuracy_weapon_awp": "2048.0",
    "af_accuracy_weapon_p90": "2048.0",
    "af_accuracy_weapon_tmp": "2048.0",
    "af_accuracy_weapon_usp": "2048.0",
    "af_distance_weapon_aug": "2048.0",
    "af_distance_weapon_awp": "2048.0",
    "af_distance_weapon_p90": "2048.0",
    "af_distance_weapon_tmp": "2048.0",
    "af_distance_weapon_usp": "1024.0",
    "max_queries_sec_global": "1",
    "af_accuracy_weapon_ak47": "2048.0",
    "af_accuracy_weapon_m249": "2048.0",
    "af_accuracy_weapon_m4a1": "2048.0",
    "af_accuracy_weapon_p228": "2048.0",
    "af_distance_weapon_ak47": "2048.0",
    "af_distance_weapon_m249": "2048.0",
    "af_distance_weapon_m4a1": "2048.0",
    "af_distance_weapon_p228": "1024.0",
    "af_accuracy_weapon_elite": "2048.0",
    "af_accuracy_weapon_famas": "2048.0",
    "af_accuracy_weapon_g3sg1": "2048.0",
    "af_accuracy_weapon_galil": "2048.0",
    "af_accuracy_weapon_glock": "2048.0",
    "af_accuracy_weapon_mac10": "2048.0",
    "af_accuracy_weapon_scout": "2048.0",
    "af_accuracy_weapon_sg550": "2048.0",
    "af_accuracy_weapon_sg552": "2048.0",
    "af_accuracy_weapon_ump45": "2048.0",
    "af_distance_weapon_elite": "2048.0",
    "af_distance_weapon_famas": "2048.0",
    "af_distance_weapon_g3sg1": "2048.0",
    "af_distance_weapon_galil": "2048.0",
    "af_distance_weapon_glock": "1024.0",
    "af_distance_weapon_mac10": "2048.0",
    "af_distance_weapon_scout": "2048.0",
    "af_distance_weapon_sg550": "2048.0",
    "af_distance_weapon_sg552": "2048.0",
    "af_distance_weapon_ump45": "2048.0",
    "af_accuracy_weapon_deagle": "2048.0",
    "af_accuracy_weapon_xm1014": "2048.0",
    "af_distance_weapon_deagle": "1024.0",
    "af_distance_weapon_xm1014": "1024.0",
    "ff_damage_reduction_other": "0.35",
    "af_accuracy_weapon_glock18": "2048.0",
    "af_accuracy_weapon_mp5navy": "2048.0",
    "af_distance_weapon_glock18": "1024.0",
    "af_distance_weapon_mp5navy": "2048.0",
    "ff_damage_reduction_bullets": "0.35",
    "ff_damage_reduction_grenade": "0.25",
    "af_accuracy_weapon_fiveseven": "2048.0",
    "af_distance_weapon_fiveseven": "1024.0",
    "ff_damage_reduction_grenade_self": "1.0",
    "steam_id": null,
    "domain": null,
    "id": 6498032,
    "ip": "129.151.192.45",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Стокгольм",
    "description": null,
    "game": 10,
    "boosts": 1,
    "last_offline": 1768553985,
    "last_online": 1789738828,
    "icon": null,
    "name": "AIM-Addictz CSDM #4 | Sweden",
    "connect": "129.151.192.45:27015",
    "request": "129.151.192.45:27015",
    "map": "aim_map-arena7",
    "gamemode": "Counter-Strike",
    "version": "1.1.2.7/Stdio",
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 3,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1730386513,
    "last_update": 1789738828,
    "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": 5047,
    "language": "sv",
    "parked": false,
    "app": {
      "id": 3,
      "steam_id": 10,
      "name": "Counter-Strike",
      "url": "counter-strike"
    },
    "mods": [],
    "disabled_modules": [],
    "map_url": null
  }
}

Примеры кода

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