API для #PL Zombi Plague v4.3 | Hasło: 1234
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1630828249,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "54.38.49.146:27015",
"country": "PL",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 468477,
"ip": "54.38.49.146",
"language": "pl",
"last_update": 1794897604,
"map": "zm_horror",
"maxplayers": 6,
"name": "#PL Zombi Plague v4.3 | Hasło: 1234",
"numplayers": 1,
"official": null,
"points": 39,
"port": 27015,
"private": true,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "54.38.49.146:27015",
"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": 0,
"city": "Вроцлав",
"description": "",
"disabled_modules": [],
"gamemode": "tryb: Oczekiwanie",
"hidden": false,
"last_offline": 1794615673,
"last_online": 1794897604,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 56714,
"wipe_period": null,
"coop": "0",
"Sh@keR": "[ZP] Golden AK added model W",
"Shidla": "[ZP] Knock Weapon v.1.0",
"sv_aim": "0",
"jtp10181": "chute",
"pausable": "0",
"sv_bounce": "1",
"sv_cheats": "0",
"zp_lasers": "1.0",
"deathmatch": "1",
"listentype": "d",
"mp_buytime": "99",
"mp_c4timer": "30",
"mp_logfile": "1",
"sv_alltalk": "1",
"sv_contact": "pzohan@spoko.pl",
"sv_gravity": "800",
"sv_maxrate": "0",
"sv_minrate": "0",
"sv_proxies": "1",
"sv_restart": "0",
"sv_version": "1.1.2.7/Stdio,48,2402",
"zp_version": "4.3 Fix5a",
"amx_nextmap": "zm_hs_horror",
"environment": "l",
"mp_autokick": "0",
"mp_chattime": "5.000000",
"mp_maxmoney": "16000",
"mp_playerid": "2",
"mp_timeleft": "11:00",
"mp_tkpunish": "1",
"mp_winlimit": "0",
"reu_version": "0.1.0.92",
"sv_friction": "4",
"sv_maxspeed": "400",
"sv_password": "1",
"sv_stepsize": "18",
"a2s_protocol": 48,
"amx_language": "pl",
"amx_timeleft": "11:00",
"edgefriction": "2",
"game_version": "5.7.0.322-dev",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_fragsleft": "0",
"mp_logdetail": "0",
"mp_maxrounds": "0",
"mp_roundover": "0",
"mp_roundtime": "5",
"mp_timelimit": "20",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"mp_flashlight": "1",
"mp_freeforall": "0",
"mp_freezetime": "4",
"mp_limitteams": "32",
"mp_startmoney": "800",
"sv_accelerate": "5",
"zp_jp_version": "Extra Item Bazooka v1.0",
"zp_knock_weap": "[ZP] Knock Weapon v.1.0",
"decalfrequency": "60",
"grenade_status": "1.0",
"mp_consistency": "1",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "0.66",
"mp_logmessages": "1",
"sv_allowupload": "1",
"sv_clienttrace": "1",
"sv_voiceenable": "1",
"zp_cws_version": "1.6",
"zp_vip_version": "1.7.2",
"allchat_version": "1.1",
"amx_contactinfo": "",
"amxmodx_version": "1.8.3-dev+5201",
"max_queries_sec": "1",
"metamod_version": "1.21p37",
"mp_forcerespawn": "0",
"mp_friendlyfire": "1",
"mp_mapvoteratio": "0.66",
"mp_mirrordamage": "0",
"revoice_version": "0.1.0.34",
"sv_restartround": "0",
"allow_spectators": "0",
"humans_join_team": "any",
"mp_forcechasecam": "0",
"mp_item_staytime": "300",
"mp_windifference": "1",
"players_complete": true,
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"zp_lighting_vote": "0.1",
"admanager_version": "1.3",
"mp_hostagepenalty": "2",
"mp_round_infinite": "0",
"mp_show_radioicon": "1",
"nademodes_version": "11.2",
"zp_shield_creator": "Campeer",
"max_queries_window": "1",
"mp_autoteambalance": "0",
"sv_wateraccelerate": "10",
"mp_autokick_timeout": "-1",
"mp_hostage_hurtable": "1",
"reauthcheck_version": "0.1.6",
"amx_client_languages": "1",
"mp_kill_filled_spawn": "1",
"max_queries_sec_global": "1",
"mp_round_restart_delay": "5",
"zp_zclass_ghost_zombie": "1.3.2",
"mp_respawn_immunitytime": "0",
"D7AnnouncerKillsD2Version": "0.4.2",
"mp_old_bomb_defused_sound": "1",
"mp_legacy_bombtarget_touch": "1"
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/468477");
$data = json_decode($json, true);
var_dump($data);