API для ONLY•ARG #2 | Zombie L4D
JSON для программ, сайтов и прочего
text
json
{
"response": {
"coop": "0",
"sv_aim": "1",
"pausable": "0",
"mute menu": "1.0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_buytime": "0.5",
"mp_c4timer": "35",
"mp_logfile": "1",
"sv_alltalk": "1",
"sv_contact": "ventas@4evergaming.com.ar",
"sv_gravity": "800",
"sv_maxrate": "300000",
"sv_minrate": "50000",
"sv_proxies": "1",
"sv_restart": "0",
"sv_version": "1.1.2.7/Stdio,48,4002",
"amx_nextmap": "zm_restart_v3",
"environment": "l",
"mp_autokick": "0",
"mp_chattime": "1.000000",
"mp_maxmoney": "16000",
"mp_playerid": "1",
"mp_timeleft": "21:18",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"reu_version": "0.2.0.25",
"sv_friction": "4",
"sv_maxspeed": "9999",
"sv_password": "0",
"sv_stepsize": "18",
"SNAC_Version": "1.1",
"a2s_protocol": 48,
"amx_language": "es",
"amx_timeleft": "21:18",
"edgefriction": "2",
"game_version": "5.28.0.756-dev",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_fragsleft": "0",
"mp_logdetail": "0",
"mp_maxrounds": "0",
"mp_roundover": "0",
"mp_roundtime": "5.000000",
"mp_timelimit": "30",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"arixr_version": "0.3",
"mp_falldamage": "1",
"mp_flashlight": "1",
"mp_freeforall": "0",
"mp_freezetime": "0",
"mp_limitteams": "0",
"mp_startmoney": "800",
"sv_accelerate": "5",
"decalfrequency": "30",
"mp_consistency": "1",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "0.66",
"mp_logmessages": "1",
"sv_allowupload": "0",
"sv_clienttrace": "1",
"sv_voiceenable": "1",
"zp_vip_version": "1.7.2",
"amx_contactinfo": "",
"amxmodx_version": "1.9.0.5294",
"max_queries_sec": "1",
"metamod_version": "1.3.0.149",
"mp_buy_anywhere": "0",
"mp_forcerespawn": "0",
"mp_friendlyfire": "0",
"mp_mapvoteratio": "0.66",
"revoice_version": "0.1.0.34",
"sv_restartround": "0",
"zp_extra_damage": "1.4b",
"zp_zclass_swarm": "v1.2 by Lyuda",
"allow_spectators": "1",
"humans_join_team": "any",
"mp_forcechasecam": "0",
"mp_infinite_ammo": "0",
"mp_item_staytime": "300",
"mp_radio_timeout": "1.5",
"mp_windifference": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_allow_autoaim": "1",
"sv_waterfriction": "1",
"admanager_version": "0.5",
"mp_give_player_c4": "1",
"mp_hostagepenalty": "2",
"mp_round_infinite": "0",
"nademodes_version": "11.2",
"zp_shield_creator": "1",
"max_queries_window": "1",
"mp_autoteambalance": "1",
"sv_wateraccelerate": "10",
"zp_flamexm_version": "v1.3 Fix by Lyuda",
"mp_autokick_timeout": "-1",
"mp_hostage_hurtable": "1",
"mp_radio_maxinround": "60",
"amx_client_languages": "1",
"hackdetector_version": "0.15.328.lite",
"mp_ammo_respawn_time": "20",
"mp_infinite_grenades": "0",
"mp_item_respawn_time": "30",
"mp_show_scenarioicon": "0",
"mp_afk_bomb_drop_time": "0",
"zombie_plague_special": "1.2",
"max_queries_sec_global": "1",
"mp_round_restart_delay": "5",
"mp_weapon_respawn_time": "20",
"zp_zclass_ghost_zombie": "1.3.2",
"mp_respawn_immunitytime": "0",
"mp_scoreboard_showmoney": "3",
"mp_scoreboard_showdefkit": "1",
"mp_scoreboard_showhealth": "3",
"ff_damage_reduction_other": "0.25",
"ff_damage_reduction_bullets": "0.35",
"ff_damage_reduction_grenade": "0.25",
"mp_respawn_immunity_effects": "1",
"mp_weapons_allow_map_placed": "1",
"mp_respawn_immunity_force_unset": "1",
"ff_damage_reduction_grenade_self": "1",
"steam_id": null,
"domain": null,
"id": 14670001,
"ip": "45.235.98.48",
"port": 27028,
"query": 27028,
"project_id": null,
"color": 0,
"city": "La Escondida",
"description": null,
"game": 10,
"boosts": 1,
"last_offline": 1789503611,
"last_online": 1789727700,
"icon": null,
"name": "ONLY•ARG #2 | Zombie L4D",
"connect": "45.235.98.48:27028",
"request": "45.235.98.48:27028",
"map": "zm_batallaenPie",
"gamemode": "Only-Arg",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": false,
"country": "AR",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1788555283,
"last_update": 1789727700,
"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": 8831,
"language": "es",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14670001");
$data = json_decode($json, true);
var_dump($data);