API для emptys clan server
JSON для программ, сайтов и прочего
text
json
{
"response": {
"add_date": 1790431318,
"app": {
"id": 3,
"name": "Counter-Strike",
"steam_id": 10,
"url": "counter-strike"
},
"color": 0,
"connect": "192.46.211.149:27015",
"country": "IN",
"domain": null,
"game": 10,
"hide_address": false,
"hide_query": false,
"icon": null,
"id": 17157703,
"ip": "192.46.211.149",
"language": "hi",
"last_update": 1790722862,
"map": "de_dust",
"maxplayers": 20,
"name": "emptys clan server",
"numplayers": 0,
"official": null,
"points": 30,
"port": 27015,
"private": false,
"project_id": null,
"pve": null,
"pvp": null,
"query": 27015,
"request": "192.46.211.149: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": null,
"disabled_modules": [],
"gamemode": "Counter-Strike",
"hidden": false,
"last_offline": null,
"last_online": 1790722862,
"list_hidden": false,
"map_url": null,
"mods": [],
"next_wipe": null,
"parked": false,
"position_game": 19965,
"wipe_period": null,
"coop": "0",
"sv_aim": "0",
"pausable": "0",
"sv_bounce": "1",
"sv_cheats": "0",
"deathmatch": "1",
"listentype": "d",
"mp_buytime": "2.5",
"mp_c4timer": "35",
"mp_logfile": "1",
"sv_alltalk": "1",
"sv_contact": "",
"sv_gravity": "800",
"sv_maxrate": "100000",
"sv_minrate": "10000",
"sv_proxies": "3",
"sv_restart": "0",
"sv_version": "1.1.2.7/Stdio,48,3082",
"environment": "l",
"mp_autokick": "0",
"mp_chattime": "5",
"mp_maxmoney": "16000",
"mp_playerid": "1",
"mp_timeleft": "00:00",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"reu_version": "0.1.0.137",
"sv_friction": "4",
"sv_maxspeed": "900",
"sv_password": "0",
"sv_stepsize": "18",
"whb_version": "1.5.697",
"AdvancedMute": "2.1",
"a2s_protocol": 48,
"adds_version": "1.0",
"amx_language": "en",
"edgefriction": "2",
"game_version": "5.21.0.576-dev",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_fragsleft": "0",
"mp_logdetail": "0",
"mp_maxrounds": "0",
"mp_roundover": "0",
"mp_roundtime": "2.5",
"mp_timelimit": "0",
"sv_logblocks": "0",
"sv_stopspeed": "75",
"sv_uploadmax": "0.5",
"mp_falldamage": "1",
"mp_flashlight": "0",
"mp_freeforall": "0",
"mp_freezetime": "0",
"mp_limitteams": "0",
"mp_startmoney": "16000",
"sv_accelerate": "5",
"decalfrequency": "5",
"mp_consistency": "1",
"mp_fadetoblack": "0",
"mp_forcecamera": "0",
"mp_kickpercent": "0.66",
"mp_logmessages": "1",
"sv_allowupload": "0",
"sv_clienttrace": "1.0",
"sv_voiceenable": "1",
"amxmodx_version": "1.9.0.5271",
"max_queries_sec": "1",
"metamod_version": "1.3.0.128",
"mp_buy_anywhere": "0",
"mp_forcerespawn": "0",
"mp_friendlyfire": "0",
"mp_mapvoteratio": "0.6",
"sv_restartround": "0",
"allow_spectators": "1.0",
"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,
"statsx_shell_ver": "2.0.0 (BETA)",
"sv_airaccelerate": "10",
"sv_waterfriction": "1",
"mp_give_player_c4": "1",
"mp_hostagepenalty": "2",
"mp_round_infinite": "0",
"max_queries_window": "1",
"mp_autoteambalance": "1",
"sv_wateraccelerate": "10",
"mp_autokick_timeout": "-1",
"mp_hostage_hurtable": "1",
"mp_radio_maxinround": "60",
"amx_client_languages": "1",
"mp_infinite_grenades": "0",
"mp_show_scenarioicon": "0",
"resrdetector_version": "0.1.0",
"ultimatebans_version": "1.9",
"mp_afk_bomb_drop_time": "0",
"max_queries_sec_global": "1",
"mp_round_restart_delay": "5",
"mp_respawn_immunitytime": "0",
"mp_scoreboard_showmoney": "-1",
"mp_scoreboard_showdefkit": "1",
"mp_scoreboard_showhealth": "-1",
"ff_damage_reduction_other": "0.35",
"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/17157703");
$data = json_decode($json, true);
var_dump($data);