API для 香港極限跳躍團隊|KzHk#1 - KZ Server | kzhk1.ddns.net
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1766916608,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "118.141.95.239:27015",
"country": "HK",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 10799040,
"ip": "118.141.95.239",
"language": "zh",
"last_update": 1794923410,
"map": "ph_gravityrun2",
"maxplayers": 15,
"name": "香港極限跳躍團隊|KzHk#1 - KZ Server | kzhk1.ddns.net",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "118.141.95.239:27015",
"secured": false,
"status": true,
"steam_id": "90071992547409920",
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 0,
"city": "Tseung Kwan O",
"description": null,
"disabled_modules": [],
"gamemode": "Counter-Strike",
"hidden": false,
"last_offline": 1794271481,
"last_online": 1794923410,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 59492,
"wipe_period": null,
"coop": "0",
"sv_aim": "1",
"fatalis": "sd1.1",
"pausable": "0",
"PrecacheX": "1.0",
"mute menu": "1.0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"map_spawns": "T(20) CT(20)",
"mp_buytime": "1.5",
"mp_c4timer": "45",
"mp_logfile": "1",
"sv_alltalk": "1",
"sv_contact": "https://discord.gg/RmgUdV6",
"sv_gravity": "800",
"sv_maxrate": "0",
"sv_minrate": "0",
"sv_proxies": "0",
"sv_restart": "0",
"amx_nextmap": "ph_gravityrun3",
"environment": "w",
"mp_autokick": "0",
"mp_chattime": "10",
"mp_playerid": "0",
"mp_timeleft": "0",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"sv_friction": "4",
"sv_maxspeed": "320",
"sv_password": "0",
"sv_stepsize": "18",
"a2s_protocol": 48,
"amx_language": "en",
"amx_timeleft": "63:49",
"edgefriction": "2",
"hostage_stop": "0",
"mp_footsteps": "1",
"mp_fragsleft": "0",
"mp_logdetail": "0",
"mp_maxrounds": "0",
"mp_roundtime": "5",
"mp_timelimit": "90",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"uq_jumpstats": "2.43a",
"hostage_debug": "0",
"mp_flashlight": "1",
"mp_freezetime": "0",
"mp_limitteams": "0",
"mp_startmoney": "800",
"sv_accelerate": "5",
"decalfrequency": "30",
"mp_consistency": "0",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "0.66",
"mp_logmessages": "0",
"sv_allowupload": "1",
"sv_clienttrace": "1",
"sv_voiceenable": "1",
"allchat_version": "1.1",
"amx_log_version": "1.4",
"amxmodx_version": "1.8.2",
"max_queries_sec": "1",
"metamod_version": "1.20",
"mp_bhop_version": "1.1.2",
"mp_friendlyfire": "0",
"mp_mapvoteratio": "0.66",
"mp_mirrordamage": "0",
"sv_restartround": "0",
"Deags_Map_Manage": "3.25Beta",
"allow_spectators": "1",
"humans_join_team": "ct",
"mp_allowmonsters": "0",
"mp_forcechasecam": "0",
"mp_infinite_ammo": "2",
"mp_windifference": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"_tutor_look_angle": "10",
"mp_ghostfrequency": "0.1",
"mp_hostagepenalty": "13",
"_tutor_debug_level": "0",
"max_queries_window": "1",
"mp_autoteambalance": "0",
"sv_wateraccelerate": "10",
"_tutor_examine_time": "0.5",
"mp_autokick_timeout": "-1",
"_tutor_look_distance": "200",
"_tutor_view_distance": "1000",
"amx_client_languages": "0",
"_tutor_message_repeats": "5",
"max_queries_sec_global": "1",
"mp_scoreboard_showmoney": "0",
"mp_scoreboard_showhealth": "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/10799040");
$data = json_decode($json, true);
var_dump($data);