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

text
https://api.gamemonitoring.ru/servers/16118630
json
{
  "response": {
    "": "",
    "vtg_super": "",
    "listentype": "d",
    "environment": "l",
    "sv_maxspeed": "1000.000000",
    "a2s_protocol": 7,
    "sv_rollangle": "0",
    "tauntfrequency": "1",
    "vtg_mvp_enable": "1",
    "bequiet_version": "1.0h-2024/3/3",
    "lmc_allowsmoker": "1",
    "players_complete": true,
    "sm_block_tank_music": "1",
    "command_buffer_version": "2.11",
    "ssb_grab_immune_chance": "30.0",
    "weaponhandling_version": "1.0.7",
    "AI_HardSI_Boomer_enable": "1",
    "l4d_gear_transfer_allow": "1",
    "l4d_powerups_pills_luck": "0",
    "sm_vocalize_guard_bantime": "0",
    "survival_green_reward_shop": "1000",
    "l4d2_wallhack_cheat_version": "1.2-2023/7/17",
    "l4d_gear_transfer_dist_give": "150.0",
    "survival_soviet_reward_shop": "500",
    "l4d_gear_transfer_timer_grab": "0.5",
    "l4d_multislots_max_survivors": "13",
    "survival_anomaly_light_range": "50.0",
    "survival_meteor_hunter_power": "500",
    "survival_meteor_hunter_range": "300",
    "l4d2_survivor_mourn_fix_death": "1",
    "simple_entity_remover_version": "1.1.2 (Fixed)",
    "l4d_explosion_announcer_gascan": "1",
    "survival_green_tank_health_min": "5000",
    "vtg_super_witch_force_horiz_max": "800.0",
    "l4d_tank_rock_ignore_fire_damage": "1",
    "l4d_throwable_announcer_pipebomb": "1",
    "respawn_remove_death_body_version": "1.1",
    "l4d2_survivor_protect_power_boomer": "1",
    "survival_tank_instakill_chance_m90": "70.0",
    "l4d2_vote_manager3_returntolobby_flag": "z",
    "survival_anomaly_instakill_chance_m60": "50.0",
    "survival_green_tank_health_max_hilevel50": "12000",
    "l4d_afk_commands_versus_teams_balance_enable": "0",
    "steam_id": null,
    "domain": null,
    "id": 16118630,
    "ip": "69.41.166.234",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Лос-Анджелес",
    "description": null,
    "game": 550,
    "boosts": 1,
    "last_offline": 1789710967,
    "last_online": 1789726939,
    "icon": null,
    "name": "VTG",
    "connect": "69.41.166.234:27015",
    "request": "69.41.166.234:27015",
    "map": "c2m4_barns",
    "gamemode": "Left 4 Dead 2",
    "version": "2.2.4.3",
    "numplayers": 8,
    "maxplayers": 12,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 66,
    "add_date": 1789235534,
    "last_update": 1789726939,
    "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": 764,
    "language": "en",
    "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/16118630");
$data = json_decode($json, true);
var_dump($data);