API для Oblivionis
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1757057387,
"app": {
"id": 11,
"name": "Left 4 Dead 2",
"steam_id": 550,
"url": "left-4-dead-2"
},
"color": 0,
"connect": "129.28.21.42:20407",
"country": "CN",
"domain": null,
"game": 550,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 10260291,
"ip": "129.28.21.42",
"language": "zh",
"last_update": 1790330471,
"map": "c8m1_apartment",
"maxplayers": 4,
"name": "Oblivionis",
"numplayers": 0,
"official": null,
"points": 30,
"port": 20407,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 20407,
"request": "129.28.21.42:20407",
"secured": true,
"status": true,
"steam_id": "90293394194076691",
"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": 1790174778,
"last_online": 1790330471,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 6969,
"wipe_period": null,
"god": "0",
"coop": "0",
"buddha": "0",
"sv_tags": "gravity",
"nb_uf_sb": "0.1",
"nextlevel": "",
"sv_bounce": "0",
"sv_cheats": "0",
"tv_enable": "0",
"deathmatch": "1",
"listentype": "d",
"mp_c4timer": "45",
"nb_uf_Tank": "0.02",
"sb_version": "1.6.4",
"sm_nextmap": "",
"sv_alltalk": "0",
"sv_contact": "",
"sv_gravity": "750",
"environment": "l",
"mp_teamlist": "hgrunt;scientist",
"mp_teamplay": "0",
"mp_winlimit": "0",
"nb_uf_Witch": "0.02",
"nb_uf_onoff": "1",
"sbr_version": "1.6.4",
"sv_friction": "4",
"sv_maxspeed": "1000.000000",
"sv_password": "0",
"sv_stepsize": "18",
"tv_password": "0",
"votecfgfile": "configs/cfgs.txt",
"a2s_protocol": 17,
"mp_allowNPCs": "1",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_maxrounds": "0",
"mp_roundtime": "5",
"mp_timelimit": "0",
"nb_uf_Boomer": "0.05",
"nb_uf_Common": "0.02",
"nb_uf_Hunter": "0.05",
"nb_uf_Jockey": "0.05",
"nb_uf_Smoker": "0.1",
"sv_footsteps": "1",
"sv_rollangle": "0",
"sv_rollspeed": "200",
"sv_specspeed": "3",
"sv_stopspeed": "75",
"l4d_hats_bots": "0",
"l4d_hats_make": "c",
"l4d_hats_menu": "c",
"l4d_hats_save": "0",
"l4d_hats_wall": "1",
"mp_falldamage": "0",
"mp_flashlight": "1",
"mp_freezetime": "6",
"mp_limitteams": "2",
"mp_tournament": "0",
"mp_weaponstay": "0",
"nb_uf_Charger": "0.05",
"nb_uf_Spitter": "0.1",
"sv_accelerate": "5",
"sv_specnoclip": "1",
"sv_steamgroup": "45234373",
"Sakiko_version": "2.0",
"decalfrequency": "0",
"l4d_hats_allow": "1",
"l4d_hats_modes": "",
"l4d_hats_third": "1",
"mp_fadetoblack": "0",
"rygive_version": "1.4.1",
"sm_srvcln_logs": "1",
"survivor_limit": "4",
"sv_noclipspeed": "5",
"sv_voiceenable": "1",
"tauntfrequency": "1",
"l4d_hats_change": "1.3",
"l4d_hats_detect": "0.3",
"l4d_hats_notify": "0",
"l4d_hats_opaque": "255",
"l4d_hats_random": "0",
"metamod_version": "2.0.0-dev+1390V",
"mp_forcerespawn": "1",
"mp_friendlyfire": "1",
"notify_map_next": "1",
"sm_drop_version": "1.12-2024/1/7",
"sm_srvcln_demos": "0",
"l4d_hats_version": "1.55",
"mp_autocrosshair": "1",
"players_complete": true,
"sc_record_detail": "1",
"sm_srvcln_enable": "1",
"sm_srvcln_smlogs": "1",
"sm_srvcln_sprays": "1",
"stripper_version": "1.2.2",
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"tv_relaypassword": "0",
"l4d_hats_precache": "",
"r_JeepViewZHeight": "10.0",
"sbchecker_version": "1.6.4",
"sm_drop_block_m60": "0",
"sm_drop_soundfile": "ui/gift_pickup.wav",
"sm_srvcln_version": "1.2.3",
"sourcemod_version": "1.13.0.7327",
"sv_noclipfriction": "4",
"sv_specaccelerate": "5",
"throw_punish_type": "2",
"Sakiko_Adv_version": "0.6",
"Sakiko_restart_log": "1",
"l4d_hats_modes_off": "",
"l4d_hats_modes_tog": "",
"mp_autoteambalance": "1",
"sakiko_save_enable": "1",
"sm_aidmgfix_enable": "3",
"sv_wateraccelerate": "10",
"l4d2_addons_eclipse": "-1",
"left4dhooks_version": "1.167",
"mp_stalemate_enable": "0",
"multicolors_version": "0.2",
"r_VehicleViewDampen": "1",
"sbpp_report_version": "1.6.4",
"sm_srvcln_logs_time": "-1",
"sourcecomms_version": "1.6.4",
"stop_trolls_version": "1.2",
"sv_noclipaccelerate": "5",
"tf_arena_max_streak": "5",
"tf_arena_round_time": "0",
"throw_limit_molotov": "10",
"throw_punish_enable": "1",
"director_afk_timeout": "45",
"l4d_checkpoint_allow": "0",
"l4d_checkpoint_modes": "0",
"l4d_checkpoint_panel": "1",
"l4d_checkpoint_timer": "2.0",
"r_AirboatViewZHeight": "0.0",
"r_JeepViewDampenDamp": "1.0",
"r_JeepViewDampenFreq": "7.0",
"sm_srvcln_demos_path": "./demos",
"sm_srvcln_demos_time": "168",
"throw_limit_pipebomb": "10",
"throw_limit_vomitjar": "10",
"throw_times_announce": "1",
"attachments_api_check": "0.1",
"attachments_api_equip": "0.1",
"l4d2_map_vote_version": "1.6",
"sm_srvcln_smlogs_time": "168",
"sm_srvcln_smlogs_type": "2",
"sm_srvcln_sprays_time": "168",
"throw_limit_prototype": "10",
"throw_saferoom_radius": "400.0",
"attachments_api_models": "1",
"command_buffer_version": "2.8",
"l4d_checkpoint_percent": "25",
"l4d_checkpoint_version": "2.0",
"l4d_skip_intro_version": "1.14_Official_Maps_Only_CN_Fixed",
"sm_srvcln_logging_mode": "0",
"tf_arena_preround_time": "10",
"Sakiko_vomit_jar_enable": "1",
"Sakiko_vomit_jar_radius": "150",
"attachments_api_version": "1.10",
"attachments_api_weapons": "1",
"l4d2_car_alarm_settings": "3",
"l4d2_car_alarm_touch_ai": "0",
"l4d2_nativevote_version": "0.5",
"l4d_pistol_delay_single": "0.175000",
"l4d_saki_announcer_self": "1",
"r_AirboatViewDampenDamp": "1.0",
"r_AirboatViewDampenFreq": "7.0",
"sm_chatprocessor_config": "configs/chat_processor.cfg",
"sm_chatprocessor_status": "1",
"sm_drop_block_secondary": "0",
"sm_sourcesleuth_version": "1.6.4",
"Sakiko_vomit_teammate_hp": "10",
"l4d2_config_vote_version": "0.6",
"l4d_console_spam_version": "1.3b",
"l4d_pistol_delay_dualies": "0.1",
"l4d_use_priority_version": "2.3",
"l4d_votepoll_fix_version": "1.3",
"mp_disable_respawn_times": "0",
"mp_teams_unbalance_limit": "1",
"sm_chatprocessor_addgotv": "1",
"sm_chatprocessor_allchat": "0",
"sm_chatprocessor_version": "2.2.3",
"sm_drop_block_mid_action": "1",
"sm_srvcln_demos_archives": "0",
"Sakiko_restart_ignore_lan": "1",
"l4d2_ladder_patch_version": "1.1",
"l4d2_rescuedoor_blink_log": "0",
"mp_stalemate_at_timelimit": "0",
"sm_chatprocessor_deadchat": "1",
"l4d2_vscript_purifier_plus": "2",
"l4d2_car_alarm_touch_capped": "1",
"l4d2_rescuedoor_blink_speed": "1.0",
"l4d2_scvng_firsthit_shuffle": "0",
"l4d2_fix_frozen_tank_version": "2.0",
"l4d2_rescuedoor_blink_colors": "255,0,0;255,255,0;0,255,0",
"l4d2_script_cmd_swap_version": "1.0",
"sm_chatprocessor_colors_flag": "b",
"Sakiko_vomit_teammate_penalty": "30",
"l4d2_rescuedoor_blink_version": "1.5.0",
"l4d2_vscript_cvarRestore_plus": "1",
"l4d_saki_announcer_explosives": "1",
"l4d_saki_announcer_throwables": "1",
"mapchanger_finale_change_type": "8",
"sm_chatprocessor_strip_colors": "1",
"l4d2_fix_deathfall_cam_version": "1.6",
"l4d_saki_announcer_spam_protect": "5.0",
"l4d2_lobby_match_manager_version": "0.7",
"l4d2_rescuedoor_blink_glow_range": "500",
"mapchanger_finale_random_nextmap": "0",
"throw_saferoomfire_punish_enable": "1",
"sm_chatprocessor_restrictdeadchat": "0",
"ThirdPersonShoulder_Detect_Version": "1.6.0",
"l4d2_rescuedoor_blink_rescue_color": "0,255,0",
"l4d2_rescuedoor_blink_rescue_model": "models/props_unique/airport/atlas_break_ball.mdl",
"l4d2_rescuedoor_blink_rescue_zoffset": "-20.0",
"l4d2_vscript_purifier_intercept_mode": "0",
"sm_chatprocessor_remove_colors_default": "0",
"sm_chatprocessor_process_colors_default": "1",
"l4d2_rescuedoor_blink_rescue_scale_percent": "15"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10260291");
$data = json_decode($json, true);
var_dump($data);