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

text
https://api.gamemonitoring.ru/servers/683281
json
{
  "response": {
    "add_date": 1670621452,
    "app": {
      "id": 11,
      "name": "Left 4 Dead 2",
      "steam_id": 550,
      "url": "left-4-dead-2"
    },
    "color": 0,
    "connect": "220.130.108.125:27101",
    "country": "TW",
    "domain": null,
    "game": 550,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 683281,
    "ip": "220.130.108.125",
    "language": "zh",
    "last_update": 1794663102,
    "map": "l4d2_deathcraft_01_town",
    "maxplayers": 4,
    "name": "[Senser.tw]Workshop Server (Taiwan)",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27101,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27101,
    "request": "220.130.108.125:27101",
    "secured": true,
    "status": true,
    "steam_id": null,
    "version": "2.2.4.3",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Гаосюн",
    "description": "",
    "disabled_modules": [],
    "gamemode": "Left 4 Dead 2",
    "hidden": false,
    "last_offline": 1794238374,
    "last_online": 1794663102,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 3757,
    "wipe_period": null,
    "": "",
    "mp": "",
    "god": "0",
    "buddha": "0",
    "sv_tags": "",
    "sv_cheats": "0",
    "listentype": "d",
    "environment": "w",
    "sv_maxspeed": "1000.000000",
    "sv_stepsize": "18",
    "a2s_protocol": 7,
    "mp_allowNPCs": "1",
    "mp_maxrounds": "0",
    "sv_rollangle": "0",
    "mp_flashlight": "1",
    "mp_tournament": "0",
    "tauntfrequency": "1",
    "metamod_version": "1.12.0-dev+1219V",
    "players_complete": true,
    "sprayblock_version": "1.0a",
    "r_VehicleViewDampen": "1",
    "entity_guard_version": "1.0.1",
    "r_AirboatViewZHeight": "0.0",
    "l4d2_switch_ammo_hint": "1",
    "command_buffer_version": "2.11",
    "l4d2_switch_ammo_allow": "1",
    "l4d_coop_markers_allow": "1",
    "IRA_huntingrifle_enable": "1",
    "entity_guard_audit_leak": "0",
    "l4d2_switch_ammo_reload": "1",
    "l4d_gear_transfer_allow": "1",
    "l4d_survivorrespawn_allow": "1",
    "sm_advertisements_enabled": "1",
    "entity_guard_diag_interval": "10.0",
    "l4d2_switch_ammo_modes_off": "",
    "l4d2_switch_ammo_modes_tog": "0",
    "l4d_gear_transfer_vocalize": "1",
    "l4d_gear_transfer_dist_give": "150.0",
    "l4d_gear_transfer_timer_grab": "0.5",
    "l4d_gear_transfer_types_grab": "123456789",
    "l4d_gear_transfer_types_real": "123456789",
    "entity_guard_ignore_whitelist": "0",
    "l4d2_spawn_uncommons_autotypes": "127",
    "l4d_mapchanger_servername_short": "",
    "l4d_survivorrespawn_enablehuman": "1",
    "l4d_mapchanger_show_chapter_list": "1",
    "l4d_survivorrespawn_secondweapon": "0",
    "l4d_mapchanger_votemark_minplayers": "3",
    "l4d_vote_block_difficulty_tog_kick": "0",
    "l4d2_spawn_uncommons_mudman_on_the_field": "3",
    "l4d2_spawn_uncommons_roadcrew_on_the_field": "3"
  }
}

Примеры кода

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