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

text
https://api.gamemonitoring.ru/servers/20054419
json
{
  "response": {
    "add_date": 1794519016,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "209.61.68.30:27610",
    "country": "PE",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20054419,
    "ip": "209.61.68.30",
    "language": "es",
    "last_update": 1794632035,
    "map": "c6m2_bedlam",
    "maxplayers": 18,
    "name": "Team Broaster | coop | Defunción [2-3]",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27610,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27610,
    "request": "209.61.68.30:27610",
    "secured": true,
    "status": true,
    "steam_id": null,
    "version": "2.2.4.3",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Лима",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Left 4 Dead 2",
    "hidden": false,
    "last_offline": null,
    "last_online": 1794632035,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 18676,
    "wipe_period": null,
    "": "",
    "deathcheck": "1",
    "listentype": "d",
    "environment": "l",
    "sm_shopvip_": "",
    "sv_maxspeed": "1000.000000",
    "a2s_protocol": 7,
    "players_complete": true,
    "shop_cost_smg_mp5": "45",
    "l4d_hats_modes_off": "versus,scavenge,mutation15,coop_normal,coop_vanilla",
    "shop_limit_witches": "10",
    "l4d_flashlight_hints": "0",
    "l4d_hxstat_time_play": "30",
    "command_buffer_version": "2.11-05/11/2026",
    "l4d2_jumps_count_admin": "2",
    "l4d2_luffy_homing_self": "0",
    "weaponhandling_version": "1.0.7",
    "AI_HardSI_Boomer_enable": "1",
    "entity_guard_audit_leak": "0",
    "shop_cost_vip_fullhealth": "2000",
    "l4d_flyinginfected_enable": "0",
    "sm_vocalize_guard_bantime": "0",
    "l4d_incapped_weapons_melee": "0",
    "l4d2_infectedhp_zmykey_hunter": "0",
    "l4d2_item_hint_sur_incap_mark": "19",
    "this.l4d_super_catchfire_tank": "0.0",
    "l4d2_infected_marker_use_range": "1000",
    "l4d_incapped_weapons_modes_tog": "0",
    "shop_laser_nightvision_version": "1.8.0-12/10/2026-edited",
    "l4d_hxstat_points_penalty_incap": "-5",
    "l4d_meteor_hunter_vertical_mult": "1.5",
    "l4d2_item_marker_remove_previous": "0",
    "l4d_throwable_announcer_pipebomb": "1",
    "fixes_forcefinalestart_fix_enable": "1",
    "witch_target_override_chase_range": "9999",
    "l4d2_spot_marker_ring_start_radius": "35.0",
    "nav_spawn_battlefield_remove_version": "1.1",
    "l4d2_vote_manager3_returntolobby_flag": "d",
    "l4d2_item_marker_instructorhint_enable": "1",
    "l4d2_infected_marker_instructorhint_icon": "icon_skull",
    "witch_target_override_followsurvivor_rage": "0.5"
  }
}

Примеры кода

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