API для Game-server.sk | Dust2-only
JSON для программ, сайтов и прочего
text
json
{
"response": {
"coop": "0",
"pb_ffa": "0",
"pb_chat": "0",
"pb_skin": "5",
"jtp10181": "gore,chute",
"pausable": "0",
"pb_radio": "0",
"pb_spray": "0",
"deathmatch": "1",
"gag_system": "1.0",
"listentype": "d",
"mp_buytime": "0.25",
"mp_c4timer": "35",
"mp_logfile": "0",
"pb_maxbots": "6",
"pb_minbots": "0",
"amx_nextmap": "de_dust2",
"environment": "l",
"ers_version": "2.3b",
"mp_autokick": "0",
"mp_chattime": "10.000000",
"mp_maxmoney": "16000",
"mp_playerid": "1",
"mp_timeleft": "08:01",
"mp_tkpunish": "0",
"mp_winlimit": "0",
"pb_aim_type": "3",
"pb_autokill": "0",
"Back Weapons": "1.87",
"CRXAWPModels": "2.1.5-fixed",
"a2s_protocol": 48,
"aesp_version": "1.3",
"amx_language": "en",
"amx_timeleft": "08:02",
"edgefriction": "2",
"game_version": "5.28.0.756-dev",
"mp_footsteps": "1",
"mp_fraglimit": "0",
"mp_fragsleft": "0",
"mp_logdetail": "3",
"mp_maxrounds": "50",
"mp_roundover": "0",
"mp_roundtime": "1.75",
"mp_timelimit": "20",
"pb_jasonmode": "0",
"hlxce_version": "1.12.5",
"hlxce_webpage": "http://hlstatsx.game-server.sk/",
"mp_falldamage": "1",
"mp_flashlight": "1",
"mp_freeforall": "0",
"mp_freezetime": "2",
"mp_limitteams": "1",
"mp_startmoney": "800",
"pb_latencybot": "2",
"CRXKnifeModels": "3.1.1",
"decalfrequency": "60",
"mp_consistency": "1",
"mp_fadetoblack": "0",
"mp_forcecamera": "2",
"mp_kickpercent": "0.66",
"mp_logmessages": "1",
"pb_detailnames": "0",
"pb_maxbotskill": "55",
"pb_maxcamptime": "0",
"pb_minbotskill": "40",
"amxbans_version": "Gm 1.5.1",
"amxmodx_version": "1.10.0.5467",
"max_queries_sec": "1",
"metamod_version": "1.3.0.149",
"mp_buy_anywhere": "0",
"mp_forcerespawn": "0",
"mp_friendlyfire": "0",
"mp_mapvoteratio": "1",
"pb_dangerfactor": "2000",
"pb_restrweapons": "00000000000000000000000001",
"allow_spectators": "1",
"humans_join_team": "any",
"mp_forcechasecam": "2",
"mp_infinite_ammo": "0",
"mp_item_staytime": "300",
"mp_radio_timeout": "1.5",
"mp_windifference": "1",
"pb_autokilldelay": "1",
"pb_bot_join_team": "ANY",
"pb_numfollowuser": "5",
"players_complete": true,
"admanager_version": "0.5",
"amxbans_ssversion": "0.4",
"badcamper_version": "1.4 beta",
"mp_give_player_c4": "1",
"mp_hostagepenalty": "2",
"mp_round_infinite": "0",
"pb_restrequipammo": "000000000",
"pb_shootthruwalls": "0",
"botcontrol_version": "1.1",
"luciaHallucination": "1.0",
"max_queries_window": "1",
"mp_autoteambalance": "1",
"pb_aim_deviation_x": "2.0",
"pb_aim_deviation_y": "1.0",
"pb_bot_quota_match": "0",
"pb_maxweaponpickup": "10",
"mp_autokick_timeout": "-1",
"mp_hostage_hurtable": "1",
"mp_radio_maxinround": "60",
"pb_aim_offset_delay": "1.2",
"pb_mapstartbotdelay": "5",
"amx_client_languages": "1",
"hlxce_plugin_version": "1.6.13 (HL1)",
"mp_ammo_respawn_time": "20",
"mp_infinite_grenades": "0",
"mp_item_respawn_time": "30",
"mp_show_scenarioicon": "0",
"pb_firsthumanrestart": "0",
"mp_afk_bomb_drop_time": "0",
"max_queries_sec_global": "1",
"mp_round_restart_delay": "5",
"mp_weapon_respawn_time": "20",
"mp_respawn_immunitytime": "0",
"mp_scoreboard_showmoney": "3",
"pb_aim_influence_x_on_y": "0.25",
"pb_aim_influence_y_on_x": "0.17",
"mp_scoreboard_showdefkit": "1",
"mp_scoreboard_showhealth": "3",
"ff_damage_reduction_other": "0.35",
"pb_aim_spring_stiffness_x": "13.0",
"pb_aim_spring_stiffness_y": "13.0",
"ff_damage_reduction_bullets": "0.35",
"ff_damage_reduction_grenade": "0.25",
"mp_respawn_immunity_effects": "1",
"mp_weapons_allow_map_placed": "1",
"pb_aim_damper_coefficient_x": "0.22",
"pb_aim_damper_coefficient_y": "0.22",
"pb_aim_notarget_slowdown_ratio": "0.5",
"mp_respawn_immunity_force_unset": "1",
"ff_damage_reduction_grenade_self": "1.0",
"pb_aim_target_anticipation_ratio": "2.2",
"steam_id": null,
"domain": null,
"id": 1671573,
"ip": "185.216.164.188",
"port": 27015,
"query": 27015,
"project_id": null,
"color": 0,
"city": "Михаловце",
"description": "",
"game": 10,
"boosts": 1,
"last_offline": 1789555248,
"last_online": 1789719363,
"icon": null,
"name": "Game-server.sk | Dust2-only",
"connect": "185.216.164.188:27015",
"request": "185.216.164.188:27015",
"map": "de_dust2",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 0,
"maxplayers": 32,
"bots": 6,
"secured": true,
"private": false,
"country": "SK",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1698934749,
"last_update": 1789719363,
"ban_reason": null,
"banned": false,
"hidden": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4355,
"language": "sk",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"mods": [],
"disabled_modules": [],
"map_url": null
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/1671573");
$data = json_decode($json, true);
var_dump($data);