API для Новый Бета Тест. / HLDS v7882 / Amx 1.8.2
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788406737,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "46.174.52.2:27226",
"country": "RU",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14324321,
"ip": "46.174.52.2",
"language": "ru",
"last_update": 1792922437,
"map": "zm_ark_italy_ex_v1",
"maxplayers": 20,
"name": "Новый Бета Тест. / HLDS v7882 / Amx 1.8.2",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27226,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27226,
"request": "46.174.52.2:27226",
"secured": false,
"status": true,
"steam_id": 0,
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Москва",
"description": null,
"disabled_modules": [],
"gamemode": "NEW TEST SERVER",
"hidden": false,
"last_offline": 1791127212,
"last_online": 1792922437,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 63946,
"wipe_period": null,
"coop": "0",
"Shidla": "ZP LaserMines v.3.0 (modify by Docaner)",
"sv_aim": "0",
"adv_gag": "1.9.0 Reega",
"pausable": "0",
"WalkGuard": "1.3.2",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"dp_version": "0.9.582",
"listentype": "d",
"map_spawns": "T(16) CT(16)",
"mp_buytime": "0.250000",
"mp_c4timer": "35",
"mp_logfile": "1",
"sv_alltalk": "1",
"sv_contact": "",
"sv_gravity": "800",
"sv_maxrate": "20000",
"sv_minrate": "8000",
"sv_proxies": "1",
"sv_restart": "0",
"zp_ammo_ex": "2.0",
"zp_version": "4.3",
"VTC_Version": "2020MA2",
"amx_nextmap": "zm_racoon_city_2",
"environment": "l",
"mp_autokick": "0",
"mp_chattime": "7",
"mp_playerid": "0",
"mp_timeleft": "0",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"sv_friction": "4",
"sv_maxspeed": "9999",
"sv_password": "0",
"sv_stepsize": "18",
"SNAC_Version": "1.1",
"a2s_protocol": 48,
"amx_timeleft": "111:40",
"edgefriction": "2",
"hostage_stop": "0",
"mapm_version": "2.5.79",
"mp_footsteps": "1",
"mp_fragsleft": "0",
"mp_logdetail": "3",
"mp_maxrounds": "0",
"mp_roundtime": "5",
"mp_timelimit": "120.000000",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"entity_prefub": "2.4.2a",
"hostage_debug": "0",
"mp_flashlight": "0",
"mp_freezetime": "0",
"mp_limitteams": "0",
"mp_startmoney": "800",
"sv_accelerate": "5",
"decalfrequency": "60",
"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",
"amxmodx_version": "1.8.2",
"max_queries_sec": "1",
"metamod_version": "1.21p37",
"mp_friendlyfire": "0",
"mp_mapvoteratio": "0.66",
"mp_mirrordamage": "0",
"sv_restartround": "0",
"allow_spectators": "1",
"humans_join_team": "any",
"mp_allowmonsters": "0",
"mp_forcechasecam": "0",
"mp_windifference": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"_tutor_look_angle": "10",
"mp_ghostfrequency": "0.1",
"mp_hostagepenalty": "0",
"_tutor_debug_level": "0",
"max_queries_window": "1",
"mp_autoteambalance": "0",
"sv_wateraccelerate": "10",
"_tutor_examine_time": "0.5",
"mp_autokick_timeout": "-1",
"zp_extra_knifespeed": "v1.0 by Rhyme",
"_tutor_look_distance": "200",
"_tutor_view_distance": "1000",
"amx_client_languages": "1",
"hackdetector_version": "0.15.222.lite",
"_tutor_message_repeats": "5",
"max_queries_sec_global": "1",
"API_Weapon_Player_Model": "1.1.0",
"_tutor_hint_interval_time": "10.0",
"_tutor_bomb_viewable_check_interval": "0.5",
"_tutor_message_minimum_display_time": "1",
"_tutor_message_character_display_time_coefficient": "0.07"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14324321");
$data = json_decode($json, true);
var_dump($data);