JSON для программ, сайтов и прочего

text
https://api.gamemonitoring.ru/servers/16757285
json
{
  "response": {
    "add_date": 1789829537,
    "app": {
      "id": 3,
      "name": "Counter-Strike",
      "steam_id": 10,
      "url": "counter-strike"
    },
    "color": 0,
    "connect": "45.82.162.135:28952",
    "country": "UA",
    "domain": null,
    "game": 10,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 16757285,
    "ip": "45.82.162.135",
    "language": "uk",
    "last_update": 1789830930,
    "map": "de_inferno",
    "maxplayers": 32,
    "name": "FASTCUP.NET",
    "numplayers": 0,
    "official": null,
    "points": 61,
    "port": 28952,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 28952,
    "request": "45.82.162.135:28952",
    "secured": true,
    "status": false,
    "steam_id": "90293042374169625",
    "version": "1.1.2.7/Stdio",
    "votes": 0,
    "wipe": null,
    "ban_reason": "server.ban_reasons.fake_server_data",
    "banned": true,
    "boosts": 1,
    "bots": 0,
    "city": "Киев",
    "description": null,
    "disabled_modules": [],
    "gamemode": "Counter-Strike",
    "hidden": false,
    "last_offline": 1789830930,
    "last_online": 1789830130,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": null,
    "wipe_period": null,
    "coop": "0",
    "sv_aim": "1",
    "bot_stop": "0",
    "bot_walk": "0",
    "pausable": "0",
    "bot_debug": "0",
    "bot_quota": "10",
    "sv_bounce": "1",
    "sv_cheats": "0",
    "MapBalance": "0.4",
    "bot_prefix": "",
    "bot_zombie": "0",
    "deathmatch": "1",
    "listentype": "d",
    "mp_buytime": "0.25",
    "mp_c4timer": "35",
    "mp_logfile": "0",
    "sv_alltalk": "2",
    "sv_contact": "",
    "sv_gravity": "800",
    "sv_maxrate": "100000",
    "sv_minrate": "25000",
    "sv_proxies": "1",
    "sv_restart": "0",
    "sv_version": "1.1.2.7/Stdio,48,4419",
    "bot_chatter": "off",
    "environment": "l",
    "hbf_enabled": "1",
    "mp_autokick": "1",
    "mp_chattime": "10",
    "mp_logkills": "1",
    "mp_maxmoney": "16000",
    "mp_playerid": "1",
    "mp_timeleft": "0",
    "mp_tkpunish": "0",
    "mp_winlimit": "0",
    "sv_friction": "4",
    "sv_maxspeed": "320",
    "sv_password": "0",
    "sv_stepsize": "18",
    "a2s_protocol": 48,
    "amx_language": "en",
    "bot_nav_edit": "0",
    "bot_show_nav": "0",
    "edgefriction": "2",
    "game_version": "5.30.0.814-dev",
    "mp_footsteps": "1",
    "mp_fraglimit": "0",
    "mp_fragsleft": "0",
    "mp_logdetail": "0",
    "mp_maxrounds": "0",
    "mp_roundover": "1",
    "mp_roundtime": "1.75",
    "mp_timelimit": "0",
    "sv_logblocks": "0",
    "sv_stopspeed": "75",
    "sv_uploadmax": "0.5",
    "bot_join_team": "any",
    "bot_nav_zdraw": "4",
    "bot_quicksave": "0",
    "bot_traceview": "0",
    "mp_falldamage": "1",
    "mp_flashlight": "0",
    "mp_freeforall": "0",
    "mp_freezetime": "12",
    "mp_limitteams": "0",
    "mp_startmoney": "800",
    "rewhb_version": "1.7",
    "sv_accelerate": "5",
    "bot_deathmatch": "0",
    "bot_difficulty": "3",
    "bot_join_delay": "0",
    "bot_profile_db": "BotProfile.db",
    "bot_quota_mode": "fill",
    "decalfrequency": "30",
    "mp_consistency": "1",
    "mp_fadetoblack": "2",
    "mp_forcecamera": "2",
    "mp_jump_height": "45",
    "mp_kickpercent": "0.8",
    "mp_logmessages": "1",
    "mp_randomspawn": "0",
    "sv_allowupload": "0",
    "sv_clienttrace": "1",
    "sv_voiceenable": "1",
    "amxmodx_version": "1.10.0.5467",
    "bot_auto_vacate": "1",
    "bot_show_danger": "0",
    "max_queries_sec": "1",
    "metamod_version": "1.3.0.149",
    "mp_buy_anywhere": "0",
    "mp_forcerespawn": "0",
    "mp_friendlyfire": "1",
    "mp_mapvoteratio": "0.66",
    "sv_restartround": "0",
    "allow_spectators": "1",
    "bot_allow_rifles": "1",
    "bot_allow_rogues": "1",
    "bot_allow_shield": "0",
    "humans_join_team": "any",
    "mp_forcechasecam": "2",
    "mp_infinite_ammo": "0",
    "mp_item_staytime": "300",
    "mp_radio_timeout": "5.0",
    "mp_windifference": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_allow_autoaim": "1",
    "sv_waterfriction": "1",
    "bot_allow_pistols": "1",
    "bot_allow_snipers": "1",
    "mp_give_player_c4": "1",
    "mp_hostagepenalty": "0",
    "mp_round_infinite": "b",
    "bot_allow_grenades": "1",
    "bot_allow_shotguns": "0",
    "bot_defer_to_human": "1",
    "max_queries_window": "1",
    "mp_autoteambalance": "0",
    "sv_wateraccelerate": "10",
    "mp_autokick_timeout": "130",
    "mp_hostage_hurtable": "1",
    "mp_radio_maxinround": "10",
    "amx_client_languages": "1",
    "mp_ammo_respawn_time": "20",
    "mp_infinite_grenades": "0",
    "mp_item_respawn_time": "30",
    "mp_show_scenarioicon": "0",
    "bot_join_after_player": "0",
    "mp_afk_bomb_drop_time": "15",
    "bot_allow_machine_guns": "0",
    "max_queries_sec_global": "1",
    "mp_round_restart_delay": "5",
    "mp_weapon_respawn_time": "20",
    "mp_respawn_immunitytime": "0",
    "mp_scoreboard_showmoney": "5",
    "mp_scoreboard_showdefkit": "1",
    "mp_scoreboard_showhealth": "5",
    "ff_damage_reduction_other": "0.25",
    "bot_allow_sub_machine_guns": "0",
    "ff_damage_reduction_bullets": "0.35",
    "ff_damage_reduction_grenade": "0.25",
    "mp_respawn_immunity_effects": "0",
    "mp_weapons_allow_map_placed": "1",
    "mp_respawn_immunity_force_unset": "1",
    "ff_damage_reduction_grenade_self": "1"
  }
}

Примеры кода

php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/16757285");
$data = json_decode($json, true);
var_dump($data);