API для Зомби-Сити. Война за Выживание
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1789640537,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "93.191.11.213:27109",
"country": "RU",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 16644786,
"ip": "93.191.11.213",
"language": "ru",
"last_update": 1789931071,
"map": "zm_dust_winter",
"maxplayers": 22,
"name": "Зомби-Сити. Война за Выживание",
"numplayers": 0,
"official": null,
"points": 34,
"port": 27109,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27109,
"request": "93.191.11.213:27109",
"secured": false,
"status": true,
"steam_id": null,
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 9,
"city": "Москва",
"description": null,
"disabled_modules": [],
"gamemode": "[ ZP ]",
"hidden": false,
"last_offline": 1789716441,
"last_online": 1789931071,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 4185,
"wipe_period": null,
"coop": "0",
"mute": "1.0",
"sv_aim": "0",
"pausable": "0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_buytime": "1",
"mp_c4timer": "35",
"mp_logfile": "1",
"sv_alltalk": "1",
"sv_contact": "",
"sv_gravity": "800",
"sv_maxrate": "50000",
"sv_minrate": "25000",
"sv_proxies": "1",
"sv_restart": "0",
"sv_version": "1.1.2.7/Stdio,48,4419",
"yb_version": "4.3.734",
"zp_version": "4.3",
"environment": "l",
"mp_autokick": "0",
"mp_chattime": "10",
"mp_playerid": "1",
"mp_timeleft": "0",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"reu_version": "0.1.0.137",
"sv_friction": "4",
"sv_maxspeed": "9999",
"sv_password": "0",
"sv_stepsize": "18",
"a2s_protocol": 48,
"amx_language": "en",
"edgefriction": "2",
"hostage_stop": "0",
"mp_footsteps": "1",
"mp_fragsleft": "0",
"mp_logdetail": "0",
"mp_maxrounds": "0",
"mp_roundtime": "9",
"mp_timelimit": "30.000000",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"hostage_debug": "0",
"mp_flashlight": "1",
"mp_freezetime": "0",
"mp_limitteams": "0",
"mp_startmoney": "800",
"sv_accelerate": "5",
"decalfrequency": "60",
"mp_consistency": "0",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "1",
"mp_logmessages": "0",
"sv_allowupload": "1",
"sv_clienttrace": "1.0",
"sv_voiceenable": "1",
"zp_addon_knife": "1.5",
"amxmodx_version": "1.9.0.5294",
"max_queries_sec": "1",
"metamod_version": "1.3.0.131",
"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": "100",
"sv_allow_autoaim": "1",
"sv_waterfriction": "1",
"_tutor_look_angle": "10",
"grab_plus_version": "1.2.3",
"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",
"_tutor_look_distance": "200",
"_tutor_view_distance": "1000",
"amx_client_languages": "1",
"zp_lasermine_perfect": "4.2",
"_tutor_message_repeats": "5",
"max_queries_sec_global": "1",
"_tutor_hint_interval_time": "10.0",
"_tutor_bomb_viewable_check_interval": "0.5",
"_tutor_message_minimum_display_time": "1",
"Hns Rank System top15 (Info http://izlapzla.ru)": "Beta 1.3.2",
"_tutor_message_character_display_time_coefficient": "0.07"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16644786");
$data = json_decode($json, true);
var_dump($data);