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

text
https://api.gamemonitoring.ru/servers/11667761
json
{
  "response": {
    "add_date": 1780179288,
    "app": {
      "id": 1,
      "name": "Half-Life 2: Deathmatch",
      "steam_id": 320,
      "url": "half-life-2-deathmatch"
    },
    "color": 0,
    "connect": "208.115.219.250:27029",
    "country": "US",
    "domain": null,
    "game": 320,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11667761,
    "ip": "208.115.219.250",
    "language": "en",
    "last_update": 1790975169,
    "map": "dm_lockdown_extended_2",
    "maxplayers": 20,
    "name": "Suicide's Place",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27029,
    "private": true,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27029,
    "request": "208.115.219.250:27029",
    "secured": true,
    "status": true,
    "steam_id": "90293896972002325",
    "version": "10889068",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Чикаго",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Half-Life 2 Deathmatch",
    "hidden": false,
    "last_offline": 1788699221,
    "last_online": 1790975169,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 177,
    "wipe_period": null,
    "coop": "0",
    "sv_tags": "alltalk,gravity,increased_maxplayers",
    "nextlevel": "",
    "sv_bounce": "0",
    "sv_cheats": "0",
    "tv_enable": "0",
    "deathmatch": "1",
    "listentype": "d",
    "mc_version": "1.3",
    "sm_nextmap": "",
    "sv_alltalk": "1",
    "sv_contact": "",
    "sv_gravity": "340",
    "environment": "l",
    "mp_teamlist": "hgrunt;scientist",
    "mp_teamplay": "0",
    "mp_winlimit": "0",
    "sv_friction": "4",
    "sv_maxspeed": "320",
    "sv_password": "1",
    "sv_pausable": "0",
    "sv_stepsize": "18",
    "tv_password": "0",
    "a2s_protocol": 17,
    "mp_allowNPCs": "1",
    "mp_footsteps": "1",
    "mp_fraglimit": "24",
    "mp_maxrounds": "0",
    "mp_timelimit": "20",
    "sakp_version": "1.4.8-foundation",
    "sm_hfw_debug": "0",
    "sv_footsteps": "1",
    "sv_rollangle": "0",
    "sv_rollspeed": "200",
    "sv_specspeed": "3",
    "sv_stopspeed": "100",
    "mp_falldamage": "0",
    "mp_flashlight": "1",
    "mp_tournament": "0",
    "mp_weaponstay": "0",
    "sm_si_enabled": "1",
    "sm_si_version": "2026.08.02.1",
    "stuck_version": "1.3",
    "sv_accelerate": "10",
    "sv_specnoclip": "1",
    "sv_steamgroup": "",
    "decalfrequency": "5",
    "mp_fadetoblack": "0",
    "sv_noclipspeed": "3",
    "sv_voiceenable": "1",
    "metamod_version": "1.12.0-dev+1227V",
    "mp_forcerespawn": "0",
    "mp_friendlyfire": "0",
    "sm_hfw_announce": "1",
    "sm_spvote_debug": "1",
    "mp_autocrosshair": "1",
    "mp_forceautoteam": "0",
    "players_complete": true,
    "sm_iammo_version": "0.4",
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "tv_relaypassword": "0",
    "r_JeepViewZHeight": "10.0",
    "sm_doublejump_max": "2",
    "sm_hfw_min_humans": "2",
    "sm_spvote_enabled": "1",
    "sourcemod_version": "1.12.0.7253",
    "sv_specaccelerate": "5",
    "mp_autoteambalance": "1",
    "mp_holiday_nogifts": "0",
    "mp_respawnwavetime": "10.0",
    "sm_cleanup_version": "1.2",
    "sm_spvote_umc_file": "umc_mapcycle.txt",
    "sv_wateraccelerate": "10",
    "tf_arena_use_queue": "1",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sm_dissolve_version": "1.0.0.2",
    "sm_doublejump_boost": "250",
    "sm_spvote_log_level": "1",
    "sm_spvote_umc_group": "Suicide's Place",
    "sm_spvote_vote_time": "10",
    "sv_noclipaccelerate": "5",
    "tf_arena_max_streak": "3",
    "tf_arena_round_time": "0",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "sv_vote_quorum_ratio": "0.6",
    "mp_scrambleteams_auto": "1",
    "sm_doublejump_enabled": "1",
    "sm_doublejump_version": "1.0.1",
    "sm_hl2dm_endmap_sound": "",
    "sm_iesoundfix_version": "1.0",
    "sm_noearbleed_version": "1.0",
    "sm_weaponzoom_version": "1.99b",
    "sm_winnerinfo_version": "0.15",
    "mp_stalemate_meleeonly": "0",
    "sm_footimeleft_version": "1.22",
    "sm_hfw_display_seconds": "30",
    "sm_hl2dm_endmap_enable": "1",
    "sm_hrcbot_premium_chat": "0",
    "sm_playerspeed_version": "0.7-bot",
    "sm_quakesounds_version": "2.7foobar2",
    "sm_recentplayers_debug": "0",
    "sm_recentplayers_hours": "24",
    "tf_arena_preround_time": "10",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "sm_hfw_show_monthly_top": "1",
    "sm_hrcbot_premium_names": "1",
    "sm_nofalldamage_version": "0.6.2",
    "sm_recentplayers_logdir": "logs/connections",
    "sm_spvote_favorite_mode": "sequential",
    "sm_spvote_trigger_frags": "12",
    "mp_disable_respawn_times": "0",
    "sm_entitygravity_version": "0.01",
    "sm_hl2dm_endmap_announce": "1",
    "sm_spvote_favorite_slots": "1",
    "sm_weaponmanager_version": "1.05b",
    "sv_maxusrcmdprocessticks": "24",
    "mp_match_end_at_timelimit": "0",
    "sm_advertisements_version": "0.6",
    "sm_hfw_auto_monthly_reset": "1",
    "sm_hfw_fraglimit_override": "24",
    "sm_hl2dm_activity_enabled": "1",
    "sm_hl2dm_endmap_end_delay": "8",
    "sm_hl2dm_endmap_fraglimit": "40",
    "sm_hl2dm_endmap_show_top3": "1",
    "sm_hl2dm_endmap_timelimit": "20",
    "sm_hrcbot_premium_enabled": "1",
    "sm_hrcbot_premium_version": "1.4.1",
    "sm_spvote_mapvote_enabled": "0",
    "sm_spvote_nomination_time": "7",
    "sv_report_client_settings": "0",
    "sm_hl2dm_endmap_forced_map": "dm_lockdown",
    "sm_hrcbot_premium_announce": "1",
    "sm_hrcbot_premium_max_bots": "12",
    "sm_log_connections_version": "1.1",
    "sm_recentplayers_show_chat": "1",
    "sv_hl2mp_item_respawn_time": "10",
    "sm_hl2dm_endmap_log_actions": "1",
    "sm_hrcbot_premium_antistuck": "0",
    "sm_recentplayers_join_delay": "10.0",
    "sm_saysounds_hybrid_version": "4.0.8",
    "sm_hrcbot_premium_difficulty": "2",
    "sm_hrcbot_premium_population": "1",
    "sm_recentplayers_ignore_bots": "1",
    "sm_recentplayers_login_count": "10",
    "sm_recentplayers_max_display": "30",
    "sv_hl2mp_weapon_respawn_time": "10",
    "sm_hl2dm_endmap_hud_countdown": "1",
    "sm_hl2dm_endmap_map_pool_file": "configs/hl2dm_endmap_pool.txt",
    "sm_hrcbot_premium_chat_chance": "0",
    "sm_hrcbot_premium_trim_humans": "2",
    "sm_modelchooser_hl2dm_version": "0.4",
    "sm_spvote_favorite_min_weight": "5",
    "sm_hl2dm_endmap_freeze_players": "1",
    "sm_hl2dm_endmap_use_sm_nextmap": "1",
    "sm_hl2dm_endmap_voteend_enable": "1",
    "sm_hrcbot_premium_target_total": "8",
    "sm_recentplayers_ultra_version": "2.3.0-ULTRA-CHAT-LOGIN-FIX",
    "sm_spvote_normal_ignore_recent": "50",
    "improved_map_randomizer_version": "3.4.5",
    "sm_hl2dm_endmap_overtime_enable": "1",
    "sm_hl2dm_endmap_voteend_percent": "0.60",
    "sm_spvote_favorite_vote_enabled": "0",
    "sm_spvote_favorites_log_enabled": "1",
    "sm_hl2dm_endmap_overtime_minutes": "3",
    "sm_hl2dm_endmap_recent_map_count": "75",
    "sm_hrcbot_premium_bot_join_delay": "1.5",
    "sm_hrcbot_premium_check_interval": "15.0",
    "sm_hrcbot_premium_largemap_total": "16",
    "sm_hrcbot_premium_smallmap_total": "7",
    "sm_spvote_favorite_ignore_recent": "2",
    "sm_hl2dm_endmap_admin_menu_enable": "1",
    "sm_hl2dm_endmap_no_repeat_current": "1",
    "sm_hrcbot_premium_mediummap_total": "9",
    "sm_spvote_maps_played_log_enabled": "1",
    "sm_hl2dm_endmap_overtime_frag_lead": "1",
    "sm_hl2dm_endmap_random_pool_enable": "1",
    "sm_hrcbot_premium_pause_when_empty": "0",
    "sm_hrcbot_premium_true_map_scanner": "0",
    "mp_scrambleteams_auto_windifference": "2",
    "sm_hl2dm_activity_heartbeat_minutes": "5.0",
    "sm_hrcbot_premium_antistuck_minmove": "24.0",
    "sm_hrcbot_premium_force_manual_mode": "1",
    "sm_hl2dm_maphealth_bot_grace_seconds": "30.0",
    "sm_hrcbot_premium_antistuck_interval": "8.0",
    "sm_hrcbot_premium_joinleave_announce": "0",
    "sm_hrcbot_premium_keep_random_models": "1",
    "sm_spvote_maps_played_log_votes_only": "1",
    "sm_hrcbot_premium_antistuck_teleport_z": "12.0",
    "sm_spvote_favorites_log_retention_days": "365",
    "sm_spvote_maps_played_log_retention_days": "90"
  }
}

Примеры кода

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