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

text
https://api.gamemonitoring.ru/servers/6473213
json
{
  "response": {
    "god": "0",
    "coop": "0",
    "buddha": "0",
    "sv_tags": "",
    "nextlevel": "",
    "sv_bounce": "0",
    "sv_cheats": "0",
    "tv_enable": "0",
    "deathmatch": "1",
    "listentype": "d",
    "mp_c4timer": "45",
    "rpg_server": "108",
    "sm_nextmap": "",
    "sv_alltalk": "0",
    "sv_contact": "",
    "sv_gravity": "800",
    "environment": "w",
    "l4d_fly_msg": "0",
    "mp_teamlist": "hgrunt;scientist",
    "mp_teamplay": "0",
    "mp_winlimit": "0",
    "rpg_LvUp_SP": "5",
    "sv_friction": "4",
    "sv_maxspeed": "1000.000000",
    "sv_password": "0",
    "sv_stepsize": "18",
    "tv_password": "0",
    "a2s_protocol": 17,
    "l4d_fly_fuel": "10000.0",
    "mp_allowNPCs": "1",
    "mp_footsteps": "1",
    "mp_fraglimit": "0",
    "mp_maxrounds": "0",
    "mp_roundtime": "5",
    "mp_timelimit": "0",
    "rpg_LvUp_KSP": "1",
    "rpg_vipropsA": "3",
    "rpg_vipropsB": "6",
    "rpg_vipropsC": "9",
    "rpg_vipropsD": "12",
    "rpg_vipropsE": "15",
    "rpg_vipropsF": "18",
    "sv_footsteps": "1",
    "sv_rollangle": "0",
    "sv_rollspeed": "200",
    "sv_specspeed": "3",
    "sv_stopspeed": "75",
    "l4d2_crawling": "1",
    "l4d_climb_msg": "3",
    "l4d_fly_speed": "300.0",
    "mp_falldamage": "0",
    "mp_flashlight": "1",
    "mp_freezetime": "6",
    "mp_limitteams": "2",
    "mp_tournament": "0",
    "mp_weaponstay": "0",
    "rpg_LvUp_Cash": "500",
    "sv_accelerate": "5",
    "sv_specnoclip": "1",
    "sv_steamgroup": "628356,938423,1016724,1184541,1205958,2005720,2083819,2100201,2222335,2258371,2630068,2674803,3871440,3875838,3945817,7317645,7831008,21857674,26963877,31000053,32072534,32149162,37588041,38306536,42706464",
    "decalfrequency": "10",
    "l4d_climb_glow": "1",
    "l4d_climb_tank": "1",
    "l4d_climb_team": "2",
    "l4d_fly_enable": "2",
    "mp_fadetoblack": "0",
    "survivor_limit": "13",
    "sv_noclipspeed": "5",
    "sv_voiceenable": "1",
    "tauntfrequency": "1",
    "l4d_climb_speed": "40",
    "l4d_machine_msg": "0",
    "metamod_version": "1.11.0-dev+1154V",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "1",
    "l4d_climb_boomer": "1",
    "l4d_climb_enable": "2",
    "l4d_climb_hunter": "1",
    "l4d_climb_jockey": "1",
    "l4d_climb_smoker": "1",
    "l4d_fly_infected": "0",
    "l4d_fly_password": "201338",
    "mp_autocrosshair": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "tv_relaypassword": "0",
    "l4d2_WeaponUnlock": "0.8.1B",
    "l4d_climb_changer": "1",
    "l4d_climb_spitter": "1",
    "l4d_dissolve_time": "0.2",
    "l4d_fly_drop_tank": "0.0",
    "l4d_machine_limit": "999",
    "l4d_machine_range": "1000.0",
    "r_JeepViewZHeight": "10.0",
    "sourcemod_version": "1.12.0.7134",
    "sv_noclipfriction": "4",
    "sv_specaccelerate": "5",
    "United_RPG_Version": "3.5.0",
    "l4d2_crawling_glow": "0",
    "l4d2_crawling_hint": "0",
    "l4d2_crawling_hurt": "2",
    "l4d2_crawling_rate": "30",
    "l4d2_crawling_spit": "1",
    "l4d2_crawling_view": "1",
    "l4d_dissolve_allow": "0",
    "l4d_dissolve_modes": "",
    "l4d_fly_drop_witch": "0.0",
    "l4d_machine_enable": "2",
    "l4d_machine_health": "500.0",
    "mp_autoteambalance": "1",
    "sm_l4d_fmc_version": "1.3.5",
    "sv_wateraccelerate": "10",
    "l4d2_addons_eclipse": "-1",
    "l4d2_crawling_crazy": "1",
    "l4d2_crawling_modes": "",
    "l4d2_crawling_speed": "300",
    "l4d_climb_anim_bill": "0",
    "l4d_climb_anim_nick": "0",
    "l4d_climb_anim_tank": "0",
    "l4d_climb_anim_zoey": "0",
    "l4d_dissolve_chance": "100",
    "l4d_fly_controlmode": "1",
    "l4d_fly_tongue_grab": "0",
    "l4d_machine_maxuser": "12",
    "left4dhooks_version": "1.158",
    "mp_stalemate_enable": "0",
    "r_VehicleViewDampen": "1",
    "sv_noclipaccelerate": "5",
    "tf_arena_max_streak": "5",
    "tf_arena_round_time": "0",
    "director_afk_timeout": "60",
    "l4d_climb_anim_coach": "0",
    "l4d_climb_anim_ellis": "0",
    "l4d_climb_anim_louis": "0",
    "l4d_climb_speed_tank": "1.5",
    "l4d_dissolve_version": "1.15",
    "l4d_hp_laser_version": "1.0.10",
    "l4d_machine_overheat": "60.0",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "l4d2_crawling_version": "2.8",
    "l4d_climb_anim_boomer": "0",
    "l4d_climb_anim_hunter": "0",
    "l4d_climb_anim_jockey": "0",
    "l4d_climb_anim_smoker": "0",
    "l4d_dissolve_infected": "511",
    "l4d_dissolve_time_max": "0.0",
    "l4d_dissolve_time_min": "0.0",
    "l4d_machine_adminonly": "0",
    "l4d_machine_ammo_type": "2",
    "l4d_machine_fire_rate": "20",
    "rpg_GainExp_Kill_Tank": "0.020",
    "l4d2_crawling_hint_num": "2",
    "l4d_climb_anim_charger": "0",
    "l4d_climb_anim_francis": "0",
    "l4d_climb_anim_spitter": "0",
    "l4d_climb_speed_boomer": "1.8",
    "l4d_climb_speed_hunter": "2.4",
    "l4d_climb_speed_jockey": "2.4",
    "l4d_climb_speed_smoker": "2.1",
    "l4d_dissolve_modes_off": "",
    "l4d_dissolve_modes_tog": "0",
    "l4d_machine_ammo_count": "1000",
    "l4d_machine_sleep_time": "300.0",
    "l4d_multislots_kickafk": "0",
    "l4d_multislots_version": "1.0",
    "rpg_GainCash_Kill_Tank": "0.002",
    "rpg_RobotConfig_Rnergy": "30.0",
    "rpg_RobotUpgradeCost_0": "5000",
    "rpg_RobotUpgradeCost_1": "5000",
    "rpg_RobotUpgradeCost_2": "5000",
    "sceneprocessor_version": "1.0.1",
    "sm_supertank_bossrange": "100.0",
    "tf_arena_preround_time": "10",
    "l4d2_crawling_modes_off": "",
    "l4d2_crawling_modes_tog": "0",
    "l4d_climb_anim_rochelle": "0",
    "l4d_climb_speed_changer": "2.5",
    "l4d_climb_speed_spitter": "2.0",
    "l4d_machine_allow_carry": "2",
    "l4d_machine_ammo_refill": "1",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "rpg_GainExp_Kill_Boomer": "50",
    "rpg_GainExp_Kill_Jockey": "100",
    "rpg_GainExp_Kill_Smoker": "100",
    "rpg_GainExp_Kill_Zombie": "10",
    "rpg_GainExp_Kill_hunter": "150",
    "sm_supertank_xixing_abs": "400.0",
    "l4d_climb_speed_survivor": "1.0",
    "mp_disable_respawn_times": "0",
    "mp_teams_unbalance_limit": "1",
    "rpg_GainCash_Kill_Boomer": "5",
    "rpg_GainCash_Kill_Jockey": "10",
    "rpg_GainCash_Kill_Smoker": "10",
    "rpg_GainCash_Kill_Zombie": "2",
    "rpg_GainCash_Kill_hunter": "15",
    "rpg_GainExp_Kill_Charger": "150",
    "rpg_GainExp_Kill_Spitter": "100",
    "sm_supertank_armor_tank1": "0.8",
    "sm_supertank_armor_tank2": "0.7",
    "sm_supertank_armor_tank3": "0.6",
    "sm_supertank_armor_tank4": "0.5",
    "sm_supertank_armor_tank5": "0.5",
    "sm_supertank_quake_force": "350.0",
    "l4d_machine_betray_chance": "0.0",
    "mp_stalemate_at_timelimit": "0",
    "rpg_GainCash_Kill_Charger": "20",
    "rpg_GainCash_Kill_Spitter": "10",
    "sm_supertank_quake_radius": "400.0",
    "sm_supertank_xixing_range": "600.0",
    "l4d_multislots_max_infected": "4.000000",
    "l4d_climb_anim_boomer_female": "0",
    "l4d_multislots_max_survivors": "16",
    "sm_supertank_xixing_slowtime": "10.0",
    "sm_supertank_xixing_slowspeed": "0.4",
    "l4d_machine_damage_to_infected": "100.0",
    "l4d_machine_damage_to_survivor": "1.0",
    "rpg_GainExp_Reanimate_Teammate": "400",
    "rpg_GainCash_Reanimate_Teammate": "100",
    "sm_spawn_infected_nolimit_version": "1.2.1",
    "rpg_GainExp_Survivor_Heal_Teammate": "300",
    "rpg_GainCash_Survivor_Heal_Teammate": "50",
    "steam_id": "90292988382048282",
    "domain": null,
    "id": 6473213,
    "ip": "124.222.49.178",
    "port": 27017,
    "query": 27017,
    "project_id": null,
    "color": 0,
    "city": "Шанхай",
    "description": null,
    "game": 550,
    "boosts": 1,
    "last_offline": 1789724123,
    "last_online": 1789751458,
    "icon": null,
    "name": "Left 4 Dead 2",
    "connect": "124.222.49.178:27017",
    "request": "124.222.49.178:27017",
    "map": "c8m4_interior",
    "gamemode": "Left 4 Dead 2",
    "version": "2.2.4.3",
    "numplayers": 0,
    "maxplayers": 12,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1730215626,
    "last_update": 1789751458,
    "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": 7230,
    "language": "zh",
    "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/6473213");
$data = json_decode($json, true);
var_dump($data);