API для [TW] F.Z.伺服器 - RPG|超級武器
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1788555279,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "1.34.127.6:27012",
"country": "TW",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 14669525,
"ip": "1.34.127.6",
"language": "zh",
"last_update": 1794948613,
"map": "cs_arizona_a",
"maxplayers": 32,
"name": "[TW] F.Z.伺服器 - RPG|超級武器",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27012,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27012,
"request": "1.34.127.6:27012",
"secured": true,
"status": true,
"steam_id": null,
"version": "1.1.2.7/Stdio",
"votes": 0,
"wipe": null,
"ban_reason": null,
"banned": false,
"boosts": 1,
"bots": 20,
"city": "Чжубэй",
"description": null,
"disabled_modules": [],
"gamemode": "Counter-Strike",
"hidden": false,
"last_offline": 1794862227,
"last_online": 1794948613,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 54939,
"wipe_period": null,
"coop": "0",
"sv_aim": "0",
"bot_stop": "0",
"bot_walk": "0",
"pausable": "0",
"bot_debug": "0",
"bot_quota": "20",
"sv_bounce": "1",
"sv_cheats": "1",
"bot_prefix": "F.Z.",
"bot_zombie": "0",
"deathmatch": "1",
"listentype": "d",
"map_spawns": "T(32) CT(32)",
"mp_buytime": "0.5",
"mp_c4timer": "45",
"mp_logfile": "1",
"sv_alltalk": "1",
"sv_contact": "admin@wingflight.tw",
"sv_gravity": "800",
"sv_maxrate": "20000",
"sv_minrate": "0",
"sv_proxies": "1",
"sv_restart": "0",
"amx_nextmap": "cs_asian_winterhills",
"bot_chatter": "radio",
"environment": "w",
"gal_version": "v5.9.1-926",
"mp_autokick": "0",
"mp_chattime": "0",
"mp_maxmoney": "999999",
"mp_playerid": "0",
"mp_timeleft": "18:50",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"reu_version": "0.2.0.25",
"sv_friction": "4",
"sv_maxspeed": "999999",
"sv_password": "0",
"sv_stepsize": "18",
"a2s_protocol": 48,
"amx_language": "tc",
"amx_timeleft": "18:51",
"bot_nav_edit": "0",
"bot_show_nav": "0",
"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": "1",
"mp_roundtime": "2",
"mp_timelimit": "20",
"precache_kit": "0.0.4",
"rpgx_version": "2.9",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"DF_entversion": "4",
"bot_join_team": "any",
"bot_nav_zdraw": "4",
"bot_quicksave": "0",
"bot_traceview": "0",
"mp_falldamage": "1",
"mp_flashlight": "1",
"mp_freeforall": "0",
"mp_freezetime": "3",
"mp_limitteams": "0",
"mp_slaylosers": "2",
"mp_startmoney": "800",
"sv_accelerate": "5",
"amx_super_menu": "5.0.2",
"bot_deathmatch": "0",
"bot_difficulty": "2",
"bot_join_delay": "0",
"bot_profile_db": "BotProfile.db",
"bot_quota_mode": "normal",
"decalfrequency": "10",
"mp_consistency": "0",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "0.66",
"mp_logmessages": "1",
"sv_allowupload": "1",
"sv_clienttrace": "1",
"amxmodx_version": "1.10.0.5467",
"bot_auto_vacate": "1",
"bot_show_danger": "0",
"max_queries_sec": "1",
"metamod_version": "1.21.1-am",
"mp_buy_anywhere": "0",
"mp_forcerespawn": "0",
"mp_friendlyfire": "1",
"mp_mapvoteratio": "0.66",
"revoice_version": "0.1.0.34",
"sv_restartround": "0",
"allow_spectators": "1.0",
"bot_allow_rifles": "1",
"bot_allow_rogues": "1",
"bot_allow_shield": "1",
"gal_mapcyclefile": "maplist.txt",
"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": "100",
"bot_allow_pistols": "1",
"bot_allow_snipers": "1",
"mp_give_player_c4": "1",
"mp_hostagepenalty": "0",
"mp_round_infinite": "0",
"bot_allow_grenades": "1",
"bot_allow_shotguns": "1",
"bot_defer_to_human": "0",
"max_queries_window": "1",
"mp_autoteambalance": "0",
"resemiclip_version": "2.4.3",
"sanksounds_version": "1.9.2",
"mp_autokick_timeout": "-1",
"mp_hostage_hurtable": "1",
"mp_radio_maxinround": "60",
"amx_client_languages": "1",
"mp_ammo_respawn_time": "20",
"mp_infinite_grenades": "0",
"mp_item_respawn_time": "30",
"mp_show_scenarioicon": "1",
"bot_join_after_player": "0",
"mp_afk_bomb_drop_time": "0",
"bot_allow_machine_guns": "1",
"max_queries_sec_global": "1",
"mp_round_restart_delay": "5",
"mp_weapon_respawn_time": "20",
"mp_respawn_immunitytime": "0",
"mp_scoreboard_showmoney": "3",
"mp_scoreboard_showdefkit": "1",
"mp_scoreboard_showhealth": "3",
"ff_damage_reduction_other": "0.35",
"bot_allow_sub_machine_guns": "1",
"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.0"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/14669525");
$data = json_decode($json, true);
var_dump($data);