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

text
https://api.gamemonitoring.ru/servers/11142882
json
{
  "response": {
    "add_date": 1770933677,
    "app": {
      "id": 1629110,
      "name": "Teamspeak 3",
      "steam_id": 9000043,
      "url": "teamspeak-3"
    },
    "color": 0,
    "connect": "88.159.151.225:9987",
    "country": "NL",
    "domain": null,
    "game": 9000043,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 11142882,
    "ip": "88.159.151.225",
    "language": "nl",
    "last_update": 1794716189,
    "map": null,
    "maxplayers": 32,
    "name": "alpha-squad.nl",
    "numplayers": 3,
    "official": null,
    "points": 65,
    "port": 9987,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 9987,
    "request": "88.159.151.225:9987",
    "secured": null,
    "status": true,
    "steam_id": null,
    "version": "3.13.7 Build: 1655727713",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Вагенинген",
    "description": "Welcome to alpha-squad, check www.alpha-squad.nl for latest information\nalpha-squad.nl is online",
    "disabled_modules": [],
    "gamemode": null,
    "hidden": false,
    "last_offline": 1794159545,
    "last_online": 1794716189,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 49,
    "wipe_period": null,
    "uptime": 362386,
    "created": 1612473217,
    "channels": {
      "items": [
        {
          "id": 1,
          "name": "Welcome To alpha-squad.nl",
          "items": [],
          "order": 0,
          "topic": "alpha-squad.nl",
          "clients": 1,
          "parent_id": 0
        },
        {
          "id": 77,
          "name": "Back 4 Blood",
          "items": [],
          "order": 1,
          "topic": "",
          "clients": 0,
          "parent_id": 0
        },
        {
          "id": 23,
          "name": "World of Wars Ships",
          "items": [],
          "order": 2,
          "topic": "",
          "clients": 0,
          "parent_id": 0
        },
        {
          "id": 2,
          "name": "Joint Operations Escalation IC",
          "items": [],
          "order": 3,
          "topic": "Joint Operations Escalation IC",
          "clients": 0,
          "parent_id": 0
        },
        {
          "id": 76,
          "name": "Battlefield™ 2042",
          "items": [],
          "order": 4,
          "topic": "",
          "clients": 0,
          "parent_id": 0
        },
        {
          "id": 987,
          "name": "shago spit, ne bydity, parol zashifrovon",
          "items": [],
          "order": 7,
          "topic": "",
          "clients": 1,
          "parent_id": 0
        },
        {
          "id": 52,
          "name": "World of Tanks",
          "items": [],
          "order": 23,
          "topic": "",
          "clients": 0,
          "parent_id": 0
        },
        {
          "id": 7,
          "name": "Sleeping Room",
          "items": [],
          "order": 52,
          "topic": "",
          "clients": 1,
          "parent_id": 0
        },
        {
          "id": 3,
          "name": "Call of Duty",
          "items": [],
          "order": 76,
          "topic": "",
          "clients": 0,
          "parent_id": 0
        },
        {
          "id": 4,
          "name": "Battlefield™ V",
          "items": [],
          "order": 77,
          "topic": "Battlefield™ V",
          "clients": 0,
          "parent_id": 0
        }
      ],
      "onlinecount": 10
    },
    "platform": "Windows",
    "external_id": "bFaAM+lbmkgqSytRYSI+Gun3jlg=",
    "virtualserver_id": "1",
    "virtualserver_ip": "0.0.0.0, ::",
    "virtualserver_port": "9987",
    "virtualserver_status": "online",
    "virtualserver_icon_id": "50853132",
    "virtualserver_filebase": "files\\\\virtualserver_1",
    "virtualserver_nickname": "alpha-squad",
    "virtualserver_password": "",
    "virtualserver_autostart": "1",
    "virtualserver_log_query": "1",
    "virtualserver_log_client": "1",
    "virtualserver_log_server": "1",
    "virtualserver_machine_id": "",
    "virtualserver_total_ping": "32.0000",
    "virtualserver_log_channel": "1",
    "virtualserver_upload_quota": "18446744073709551615",
    "connection_bytes_sent_total": "3020288299",
    "virtualserver_name_phonetic": "ˈælfə-skwɒd.nl",
    "connection_bytes_sent_speech": "2898941172",
    "virtualserver_download_quota": "18446744073709551615",
    "virtualserver_hostbanner_url": "",
    "virtualserver_hostbutton_url": "",
    "virtualserver_reserved_slots": "4",
    "connection_bytes_sent_control": "24677655",
    "connection_packets_sent_total": "33891669",
    "virtualserver_hostbanner_mode": "0",
    "virtualserver_log_permissions": "1",
    "virtualserver_min_ios_version": "1559144369",
    "virtualserver_weblist_enabled": "1",
    "connection_packets_sent_speech": "31417572",
    "virtualserver_hostmessage_mode": "0",
    "virtualserver_log_filetransfer": "1",
    "connection_bytes_received_total": "1365341838",
    "connection_bytes_sent_keepalive": "96669472",
    "connection_packets_sent_control": "116305",
    "connection_bytes_received_speech": "1259344911",
    "virtualserver_client_connections": "141",
    "virtualserver_file_storage_class": "",
    "virtualserver_hostbanner_gfx_url": "",
    "virtualserver_hostbutton_gfx_url": "",
    "virtualserver_hostbutton_tooltip": "",
    "virtualserver_min_client_version": "1560850141",
    "virtualserver_queryclientsonline": "1",
    "connection_bytes_received_control": "6474800",
    "connection_packets_received_total": "16085544",
    "connection_packets_sent_keepalive": "2357792",
    "virtualserver_min_android_version": "1559834030",
    "connection_packets_received_speech": "13618897",
    "virtualserver_ask_for_privilegekey": "0",
    "virtualserver_complain_remove_time": "6600",
    "virtualserver_default_server_group": "8",
    "virtualserver_month_bytes_uploaded": "0",
    "virtualserver_total_bytes_uploaded": "3590721",
    "connection_bytes_received_keepalive": "99522127",
    "connection_packets_received_control": "115694",
    "virtualserver_capability_extensions": "",
    "virtualserver_codec_encryption_mode": "0",
    "virtualserver_complain_autoban_time": "1200",
    "virtualserver_default_channel_group": "8",
    "virtualserver_complain_autoban_count": "5",
    "virtualserver_month_bytes_downloaded": "308068",
    "virtualserver_total_bytes_downloaded": "30242293",
    "virtualserver_total_packetloss_total": "0.0000",
    "connection_packets_received_keepalive": "2350953",
    "virtualserver_hostbanner_gfx_interval": "0",
    "virtualserver_total_packetloss_speech": "0.0000",
    "connection_filetransfer_bandwidth_sent": "0",
    "virtualserver_query_client_connections": "5897",
    "virtualserver_total_packetloss_control": "0.0000",
    "connection_filetransfer_bytes_sent_total": "74790",
    "virtualserver_max_upload_total_bandwidth": "18446744073709551615",
    "virtualserver_total_packetloss_keepalive": "0.0000",
    "virtualserver_default_channel_admin_group": "5",
    "connection_filetransfer_bandwidth_received": "0",
    "virtualserver_antiflood_points_tick_reduce": "5",
    "virtualserver_max_download_total_bandwidth": "18446744073709551615",
    "connection_bandwidth_sent_last_minute_total": "153",
    "connection_bandwidth_sent_last_second_total": "147",
    "connection_filetransfer_bytes_received_total": "0",
    "virtualserver_needed_identity_security_level": "8",
    "virtualserver_antiflood_points_needed_ip_block": "250",
    "connection_bandwidth_received_last_minute_total": "138",
    "connection_bandwidth_received_last_second_total": "150",
    "virtualserver_channel_temp_delete_delay_default": "0",
    "virtualserver_priority_speaker_dimm_modificator": "-18.0000",
    "virtualserver_antiflood_points_needed_plugin_block": "0",
    "virtualserver_antiflood_points_needed_command_block": "150",
    "virtualserver_min_clients_in_channel_before_forced_silence": "100"
  }
}

Примеры кода

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