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

text
https://api.gamemonitoring.ru/servers/16671037
json
{
  "response": {
    "kgbbots": "1",
    "hbf_debug": "1",
    "listentype": "d",
    "map_spawns": "T(20) CT(20)",
    "mp_buytime": "0.3",
    "mp_c4timer": "35",
    "af_jump_fix": "0",
    "afk_version": "1.0b",
    "amx_nextmap": "de_tuscan",
    "environment": "l",
    "hbf_enabled": "1",
    "mp_logkills": "1",
    "mp_maxmoney": "16000",
    "a2s_protocol": 48,
    "aemu_version": "5.2.12.431",
    "aesp_version": "1.3",
    "amx_language": "en",
    "game_version": "5.30.0.814-dev",
    "mp_fraglimit": "0",
    "mp_roundover": "0",
    "mp_falldamage": "1",
    "mp_freeforall": "0",
    "mp_freezetime": "5",
    "mp_fadetoblack": "0",
    "mp_forcecamera": "1",
    "mp_jump_height": "45",
    "mp_randomspawn": "0",
    "CRXNoNameChange": "2.1",
    "af_accuracy_all": "-1.0",
    "af_distance_all": "-1.0",
    "amx_ptb_version": "1.8b3",
    "amxmodx_version": "1.9.0.5294",
    "metamod_version": "1.3.0.149",
    "mp_buy_anywhere": "0",
    "mp_forcerespawn": "0",
    "mp_friendlyfire": "0",
    "mp_forcechasecam": "1",
    "mp_infinite_ammo": "0",
    "mp_item_staytime": "300",
    "mp_radio_timeout": "1.5",
    "players_complete": true,
    "mp_give_player_c4": "1",
    "mp_round_infinite": "0",
    "mp_autoteambalance": "1",
    "mp_autokick_timeout": "-1",
    "mp_hostage_hurtable": "1",
    "mp_radio_maxinround": "60",
    "amx_client_languages": "1",
    "mp_ammo_respawn_time": "20",
    "mp_infinite_grenades": "0",
    "mp_item_respawn_time": "30",
    "af_accuracy_weapon_m3": "1024.0",
    "af_distance_weapon_m3": "1024.0",
    "mp_afk_bomb_drop_time": "0",
    "af_accuracy_weapon_aug": "4096.0",
    "af_accuracy_weapon_awp": "8192.0",
    "af_accuracy_weapon_p90": "3072.0",
    "af_accuracy_weapon_tmp": "3072.0",
    "af_accuracy_weapon_usp": "3072.0",
    "af_distance_weapon_aug": "8192.0",
    "af_distance_weapon_awp": "8192.0",
    "af_distance_weapon_p90": "8192.0",
    "af_distance_weapon_tmp": "8192.0",
    "af_distance_weapon_usp": "8192.0",
    "mp_round_restart_delay": "5",
    "af_accuracy_weapon_ak47": "4096.0",
    "af_accuracy_weapon_m249": "4096.0",
    "af_accuracy_weapon_m4a1": "4096.0",
    "af_accuracy_weapon_p228": "3072.0",
    "af_distance_weapon_ak47": "8192.0",
    "af_distance_weapon_m249": "8192.0",
    "af_distance_weapon_m4a1": "8192.0",
    "af_distance_weapon_p228": "8192.0",
    "mp_respawn_immunitytime": "1.000000",
    "af_accuracy_weapon_elite": "3072.0",
    "af_accuracy_weapon_famas": "4096.0",
    "af_accuracy_weapon_g3sg1": "8192.0",
    "af_accuracy_weapon_galil": "4096.0",
    "af_accuracy_weapon_glock": "3072.0",
    "af_accuracy_weapon_mac10": "3072.0",
    "af_accuracy_weapon_scout": "8192.0",
    "af_accuracy_weapon_sg550": "8192.0",
    "af_accuracy_weapon_sg552": "4096.0",
    "af_accuracy_weapon_ump45": "3072.0",
    "af_distance_weapon_elite": "8192.0",
    "af_distance_weapon_famas": "8192.0",
    "af_distance_weapon_g3sg1": "8192.0",
    "af_distance_weapon_galil": "8192.0",
    "af_distance_weapon_glock": "8192.0",
    "af_distance_weapon_mac10": "8192.0",
    "af_distance_weapon_scout": "8192.0",
    "af_distance_weapon_sg550": "8192.0",
    "af_distance_weapon_sg552": "8192.0",
    "af_distance_weapon_ump45": "8192.0",
    "mp_scoreboard_showdefkit": "1",
    "af_accuracy_weapon_deagle": "4096.0",
    "af_accuracy_weapon_xm1014": "1024.0",
    "af_distance_weapon_deagle": "8192.0",
    "af_distance_weapon_xm1014": "1024.0",
    "ff_damage_reduction_other": "0.35",
    "af_accuracy_weapon_glock18": "4096.0",
    "af_accuracy_weapon_mp5navy": "3072.0",
    "af_distance_weapon_glock18": "8192.0",
    "af_distance_weapon_mp5navy": "8192.0",
    "ff_damage_reduction_bullets": "0.35",
    "ff_damage_reduction_grenade": "0.25",
    "mp_respawn_immunity_effects": "1",
    "af_accuracy_weapon_fiveseven": "3072.0",
    "af_distance_weapon_fiveseven": "8192.0",
    "mp_respawn_immunity_force_unset": "0",
    "ff_damage_reduction_grenade_self": "1.0",
    "steam_id": null,
    "domain": null,
    "id": 16671037,
    "ip": "178.208.177.89",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Франкфурт-на-Майне",
    "description": null,
    "game": 10,
    "boosts": 1,
    "last_offline": 1789726312,
    "last_online": 1789720818,
    "icon": null,
    "name": "Birtija Public Nis",
    "connect": "178.208.177.89:27015",
    "request": "178.208.177.89:27015",
    "map": "de_dust2",
    "gamemode": "Counter-Strike",
    "version": "1.1.2.7/Stdio",
    "numplayers": 0,
    "maxplayers": 32,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1789680479,
    "last_update": 1789726312,
    "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": 14060,
    "language": "de",
    "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/16671037");
$data = json_decode($json, true);
var_dump($data);