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

text
https://api.gamemonitoring.ru/servers/20102320
json
{
  "response": {
    "add_date": 1794634853,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "190.195.227.9:27043",
    "country": "AR",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 20102320,
    "ip": "190.195.227.9",
    "language": "es",
    "last_update": 1794711902,
    "map": "l4d2_tank_challenge_15_rounds",
    "maxplayers": 8,
    "name": "[ARG] RodionGaming.com | Coop (Workshop) #3",
    "numplayers": 0,
    "official": null,
    "points": 0,
    "port": 27043,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27043,
    "request": "190.195.227.9:27043",
    "secured": true,
    "status": false,
    "steam_id": null,
    "version": "2.2.4.3",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Ciudadela",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Left 4 Dead 2",
    "hidden": false,
    "last_offline": 1794711902,
    "last_online": 1794707611,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 24843,
    "wipe_period": null,
    "": "",
    "sv_cheats": "0",
    "listentype": "d",
    "environment": "l",
    "sv_maxspeed": "1000.000000",
    "RBaEA_enable": "1",
    "a2s_protocol": 7,
    "sourcetvname": "SourceTV",
    "sourcetvport": 21455,
    "sv_rollangle": "0",
    "tauntfrequency": "1",
    "l4d2_third_allow": "1",
    "players_complete": true,
    "reverseff_incapped": "0",
    "l4d_multislots_resp": "",
    "reverseff_pullcarry": "0",
    "sm_autoreload_delay": "2.0",
    "sm_vacbans_immunity": "z",
    "l4d_infectedhp_witch": "1",
    "r_AirboatViewZHeight": "0.0",
    "command_buffer_version": "2.9",
    "l4d_fire_glow_distance": "250.0",
    "entity_guard_audit_leak": "0",
    "l4d_gear_transfer_allow": "1",
    "sm_restart_empty_enable": "1",
    "sm_restart_empty_method": "1",
    "l4d2_item_hint_mark_dead": "0",
    "l4d2_survivor_marker_fov": "15.0",
    "sm_chatprocessor_allchat": "0",
    "sm_chatprocessor_version": "2.2.3",
    "l4d_zombie_limits_enabled": "1",
    "l4d_gear_transfer_dist_give": "150.0",
    "l4d2_infected_marker_si_flag": "127",
    "l4d2_smgmp5_reload_clip_time": "1.7",
    "l4d_gear_transfer_timer_grab": "0.5",
    "l4d_multislots_max_survivors": "16",
    "entity_guard_ignore_whitelist": "0",
    "sm_chatprocessor_strip_colors": "1",
    "l4d2_infected_marker_use_range": "1000",
    "l4d_handheld_throw_light_enable": "1",
    "l4d2_scripted_hud_hud4_flag_debug": "0",
    "l4d2_smgsilenced_reload_clip_time": "1.05",
    "l4d2_karma_kill_slowtime_on_couple": "3.0",
    "l4d2_snipermilitary_reload_clip_time": "1.8",
    "sm_votedifficulty_default_difficulty": "",
    "l4d2_item_marker_instructorhint_enable": "1",
    "l4d2_infected_marker_instructorhint_icon": "icon_skull",
    "l4d_afk_commands_versus_teams_balance_enable": "1"
  }
}

Примеры кода

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