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

text
https://api.gamemonitoring.ru/servers/16673724
json
{
  "response": {
    "coop": "0",
    "sv_aim": "0",
    "pausable": "0",
    "sv_bounce": "1",
    "sv_cheats": "0",
    "deathmatch": "1",
    "listentype": "l",
    "mp_buytime": "1.500000",
    "mp_c4timer": "45",
    "mp_logfile": "1",
    "sv_alltalk": "0",
    "sv_contact": "",
    "sv_gravity": "800",
    "sv_maxrate": "0",
    "sv_minrate": "0",
    "sv_proxies": "1",
    "sv_restart": "0",
    "environment": "w",
    "mp_autokick": "0",
    "mp_chattime": "10",
    "mp_playerid": "0",
    "mp_timeleft": "0",
    "mp_tkpunish": "1",
    "mp_winlimit": "0.000000",
    "sv_friction": "4",
    "sv_maxspeed": "320",
    "sv_password": "0",
    "sv_stepsize": "18",
    "a2s_protocol": 48,
    "edgefriction": "2",
    "hostage_stop": "0",
    "mp_footsteps": "1",
    "mp_fragsleft": "0",
    "mp_logdetail": "0",
    "mp_maxrounds": "0.000000",
    "mp_roundtime": "5.000000",
    "mp_timelimit": "50.000000",
    "sv_logblocks": "0",
    "sv_stopspeed": "75",
    "sv_uploadmax": "0.5",
    "hostage_debug": "0",
    "mp_flashlight": "0",
    "mp_freezetime": "0.000000",
    "mp_limitteams": "2",
    "mp_startmoney": "16000.000000",
    "sv_accelerate": "5",
    "decalfrequency": "30",
    "mp_consistency": "1",
    "mp_fadetoblack": "0",
    "mp_forcecamera": "1",
    "mp_kickpercent": "0.66",
    "mp_logmessages": "1",
    "sv_allowupload": "1",
    "sv_clienttrace": "1",
    "sv_voiceenable": "1",
    "max_queries_sec": "1",
    "mp_friendlyfire": "0",
    "mp_mapvoteratio": "0.66",
    "mp_mirrordamage": "0",
    "sv_restartround": "0",
    "allow_spectators": "1.0",
    "humans_join_team": "any",
    "mp_allowmonsters": "0",
    "mp_forcechasecam": "0",
    "mp_infinite_ammo": "0",
    "mp_windifference": "1",
    "players_complete": true,
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "_tutor_look_angle": "10",
    "mp_ghostfrequency": "0.1",
    "mp_hostagepenalty": "5.000000",
    "_tutor_debug_level": "0",
    "max_queries_window": "1",
    "mp_autoteambalance": "1",
    "sv_wateraccelerate": "10",
    "_tutor_examine_time": "0.5",
    "mp_autokick_timeout": "-1",
    "_tutor_look_distance": "200",
    "_tutor_view_distance": "1000",
    "_tutor_message_repeats": "5",
    "max_queries_sec_global": "1",
    "mp_scoreboard_showmoney": "3",
    "mp_scoreboard_showhealth": "3",
    "_tutor_hint_interval_time": "10.0",
    "_tutor_bomb_viewable_check_interval": "0.5",
    "_tutor_message_minimum_display_time": "1",
    "_tutor_message_character_display_time_coefficient": "0.07",
    "steam_id": "90292949688291343",
    "domain": null,
    "id": 16673724,
    "ip": "37.221.160.28",
    "port": 27015,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Бухарест",
    "description": null,
    "game": 10,
    "boosts": 1,
    "last_offline": 1789727757,
    "last_online": 1789689771,
    "icon": null,
    "name": "Counter-Strike",
    "connect": "37.221.160.28:27015",
    "request": "37.221.160.28:27015",
    "map": "de_aztec",
    "gamemode": "Counter-Strike",
    "version": "1.1.2.7/Stdio",
    "numplayers": 0,
    "maxplayers": 6,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RO",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1789688866,
    "last_update": 1789727757,
    "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": 14190,
    "language": "ro",
    "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/16673724");
$data = json_decode($json, true);
var_dump($data);