API для cnfgl vs zzz sv
JSON для программ, сайтов и прочего
text
json
{
"response": {
"god": "0",
"coop": "0",
"buddha": "0",
"sv_tags": "confogl,gravity",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "0",
"deathmatch": "1",
"listentype": "d",
"mp_c4timer": "45",
"sm_nextmap": "",
"sv_alltalk": "0",
"sv_contact": "",
"sv_gravity": "750",
"environment": "w",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_winlimit": "0",
"sv_friction": "4",
"sv_maxspeed": "1000.000000",
"sv_password": "0",
"sv_stepsize": "18",
"tv_password": "0",
"a2s_protocol": 17,
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_maxrounds": "0",
"mp_roundtime": "5",
"mp_timelimit": "0",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "75",
"l4d_boss_vote": "1",
"l4d_pills_hot": "1",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_freezetime": "6",
"mp_limitteams": "2",
"mp_tournament": "0",
"mp_weaponstay": "0",
"sv_accelerate": "5",
"sv_maxplayers": "12",
"sv_specnoclip": "1",
"sv_steamgroup": "",
"decalfrequency": "10",
"mp_fadetoblack": "0",
"survivor_limit": "4",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"tauntfrequency": "1",
"l4d_ready_delay": "3",
"metamod_version": "1.12.0-dev+1194V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "1",
"mp_autocrosshair": "1",
"players_complete": true,
"stripper_version": "1.2.2",
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"l4d_ready_enabled": "1",
"l4d_tank_painfade": "1",
"r_JeepViewZHeight": "10.0",
"sm_tank_can_spawn": "1",
"sourcemod_version": "1.12.0.7230",
"sv_noclipfriction": "4",
"sv_specaccelerate": "5",
"cssladders_enabled": "1",
"l4d2_undoff_enable": "7",
"l4d_ready_cfg_name": "ZoneMod v2.9.1b",
"mp_autoteambalance": "1",
"sm_aidmgfix_enable": "3",
"sm_witch_can_spawn": "0",
"sv_wateraccelerate": "10",
"cssladders_allow_m2": "0",
"l4d2_addons_eclipse": "-1",
"l4d_pills_hot_total": "50",
"l4d_tank_props_glow": "1",
"left4dhooks_version": "1.166",
"mp_stalemate_enable": "0",
"r_VehicleViewDampen": "1",
"stop_trolls_version": "1.2",
"sv_force_unreserved": "0",
"sv_noclipaccelerate": "5",
"tf_arena_max_streak": "5",
"tf_arena_round_time": "0",
"director_afk_timeout": "45",
"l4d2_spit_max_flames": "10",
"l4d_skip_intro_allow": "1",
"l4d_skip_intro_modes": "",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"l4d2_spit_prop_damage": "10.0",
"stripper_current_file": "c2m1_highway",
"command_buffer_version": "2.9",
"l4d_pills_hot_interval": "0.1",
"l4d_ready_enable_sound": "1",
"l4d_skip_intro_version": "1.13",
"l4d_tankdamage_enabled": "1",
"tf_arena_preround_time": "10",
"cssladders_allow_reload": "1",
"cssladders_allow_switch": "0",
"l4d2_car_alarm_settings": "3",
"l4d2_car_alarm_touch_ai": "0",
"l4d2_undoff_permdmgfrac": "1.0",
"l4d_pills_hot_increment": "2",
"l4d_pistol_delay_single": "0.175000",
"l4d_tank_painfade_flags": "8",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"l4d2_tank_prop_glow_only": "0",
"l4d2_undoff_blockzerodmg": "7",
"l4d_console_spam_version": "1.3b",
"l4d_pistol_delay_dualies": "0.1",
"l4d_ready_unbalanced_min": "0",
"l4d_skip_intro_modes_off": "",
"l4d_skip_intro_modes_tog": "0",
"l4d_votepoll_fix_version": "1.3",
"mp_disable_respawn_times": "0",
"mp_teams_unbalance_limit": "1",
"l4d2_spit_spread_saferoom": "1",
"l4d2_spit_water_collision": "1",
"l4d2_tank_prop_glow_color": "255 255 255",
"l4d2_tank_prop_glow_range": "4500",
"l4d_ready_survivor_freeze": "0",
"mp_stalemate_at_timelimit": "0",
"l4d_ready_unbalanced_start": "1",
"l4d2_car_alarm_touch_capped": "0",
"l4d2_deathspit_trace_height": "9999.9",
"l4d2_scvng_firsthit_shuffle": "0",
"l4d2_script_cmd_swap_version": "1.0",
"l4d2_tank_prop_dissapear_time": "10.0",
"l4d2_tank_prop_glow_range_min": "256",
"l4d2_fix_deathfall_cam_version": "1.6",
"l4d2_tank_prop_glow_spectators": "1",
"cssladders_allow_shotgun_reload": "0",
"l4d_equalise_alarm_start_disabled": "1",
"steam_id": "90292970151183360",
"domain": null,
"id": 16680048,
"ip": "106.73.37.192",
"port": 35296,
"query": 35296,
"project_id": null,
"color": 0,
"city": "Иокогама",
"description": null,
"game": 550,
"boosts": 1,
"last_offline": 1789746609,
"last_online": 1789729217,
"icon": null,
"name": "cnfgl vs zzz sv",
"connect": "106.73.37.192:35296",
"request": "106.73.37.192:35296",
"map": "c2m1_highway",
"gamemode": "Left 4 Dead 2",
"version": "2.2.4.3",
"numplayers": 0,
"maxplayers": 12,
"bots": 0,
"secured": true,
"private": false,
"country": "JP",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1789713084,
"last_update": 1789746609,
"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": 20290,
"language": "ja",
"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/16680048");
$data = json_decode($json, true);
var_dump($data);