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

text
https://api.gamemonitoring.ru/servers/405176
json
{
  "response": {
    "add_date": 1603799636,
    "app": {
      "id": 30,
      "name": "Garry's Mod",
      "steam_id": 4000,
      "url": "garrys-mod"
    },
    "color": 0,
    "connect": "104.192.227.18:27025",
    "country": "US",
    "domain": null,
    "game": 4000,
    "hide_address": false,
    "hide_query": false,
    "icon": null,
    "id": 405176,
    "ip": "104.192.227.18",
    "language": "en",
    "last_update": 1789973968,
    "map": "gm_flatgrass",
    "maxplayers": 52,
    "name": "GMod Server",
    "numplayers": 0,
    "official": null,
    "points": 30,
    "port": 27025,
    "private": false,
    "project_id": null,
    "pve": null,
    "pvp": null,
    "query": 27025,
    "request": "104.192.227.18:27025",
    "secured": true,
    "status": true,
    "steam_id": "90289168784467983",
    "version": "2020.03.17",
    "votes": 0,
    "wipe": null,
    "ban_reason": null,
    "banned": false,
    "boosts": 1,
    "bots": 0,
    "city": "Чикаго",
    "description": "",
    "disabled_modules": [],
    "gamemode": "Sandbox",
    "hidden": false,
    "last_offline": 1784943388,
    "last_online": 1789973968,
    "list_hidden": false,
    "map_url": null,
    "mods": [],
    "next_wipe": null,
    "parked": false,
    "position_game": 717,
    "wipe_period": null,
    "coop": "0",
    "nextlevel": "",
    "sv_bounce": "0",
    "sv_cheats": "0",
    "ttt_haste": "1",
    "tv_enable": "0",
    "deathmatch": "1",
    "listentype": "d",
    "sv_alltalk": "0",
    "sv_contact": "",
    "sv_gravity": "600",
    "ai_disabled": "0",
    "environment": "w",
    "mp_teamlist": "hgrunt;scientist",
    "mp_teamplay": "0",
    "sbox_noclip": "1",
    "sv_friction": "8",
    "sv_maxspeed": "10000",
    "sv_password": "0",
    "sv_pausable": "0",
    "sv_stepsize": "18",
    "tv_password": "0",
    "a2s_protocol": 17,
    "mp_allowNPCs": "1",
    "mp_footsteps": "1",
    "mp_fraglimit": "0",
    "mp_timelimit": "0",
    "sbox_godmode": "0",
    "sbox_maxnpcs": "10",
    "sbox_persist": "",
    "sbox_weapons": "1",
    "sv_footsteps": "1",
    "sv_rollangle": "0",
    "sv_rollspeed": "200",
    "sv_specspeed": "3",
    "sv_stopspeed": "10",
    "mp_falldamage": "0",
    "mp_flashlight": "1",
    "mp_weaponstay": "0",
    "sbox_maxlamps": "20",
    "sbox_maxprops": "150",
    "sbox_maxsents": "20",
    "sv_accelerate": "10",
    "sv_allowcslua": "0",
    "sv_specnoclip": "1",
    "sv_steamgroup": "",
    "decalfrequency": "10",
    "mp_fadetoblack": "0",
    "sbox_maxlights": "5",
    "sbox_maxwheels": "20",
    "sv_noclipspeed": "5",
    "sv_voiceenable": "1",
    "mp_forcerespawn": "1",
    "mp_friendlyfire": "0",
    "physgun_limited": "0",
    "sbox_maxbuttons": "20",
    "sbox_maxcameras": "10",
    "sbox_maxeffects": "50",
    "ttt_round_limit": "6",
    "ttt_traitor_max": "32",
    "ttt_traitor_pct": "0.250000",
    "ai_ignoreplayers": "0",
    "mp_autocrosshair": "1",
    "physgun_maxrange": "4096",
    "players_complete": true,
    "sbox_maxballoons": "10",
    "sbox_maxdynamite": "10",
    "sbox_maxemitters": "5",
    "sbox_maxragdolls": "5",
    "sbox_maxvehicles": "6",
    "sv_airaccelerate": "10",
    "sv_waterfriction": "1",
    "ttt_postround_dm": "0",
    "tv_relaypassword": "0",
    "r_JeepViewZHeight": "10.0",
    "sbox_maxthrusters": "30",
    "sv_specaccelerate": "5",
    "ttt_detective_max": "32",
    "ttt_detective_pct": "0.125000",
    "ttt_firstpreptime": "60",
    "sbox_bonemanip_npc": "1",
    "sbox_maxhoverballs": "20",
    "sv_wateraccelerate": "10",
    "ttt_detective_hats": "0",
    "r_VehicleViewDampen": "0",
    "sbox_bonemanip_misc": "0",
    "sensor_debugragdoll": "0",
    "sv_noclipaccelerate": "5",
    "toolmode_allow_axis": "1",
    "toolmode_allow_lamp": "1",
    "toolmode_allow_rope": "1",
    "toolmode_allow_weld": "1",
    "ttt_namechange_kick": "1",
    "ttt_ragdoll_pinning": "1",
    "r_AirboatViewZHeight": "0.0",
    "r_JeepViewDampenDamp": "1.0",
    "r_JeepViewDampenFreq": "7.0",
    "toolmode_allow_light": "1",
    "toolmode_allow_motor": "1",
    "toolmode_allow_paint": "1",
    "toolmode_allow_wheel": "1",
    "toolmode_allow_winch": "1",
    "ttt_credits_starting": "2",
    "ttt_debug_preventwin": "0",
    "ttt_posttime_seconds": "30",
    "ttt_preptime_seconds": "30",
    "sbox_bonemanip_player": "0",
    "sensor_stretchragdoll": "0",
    "toolmode_allow_button": "1",
    "toolmode_allow_camera": "1",
    "toolmode_allow_colour": "1",
    "toolmode_allow_finger": "1",
    "toolmode_allow_muscle": "1",
    "toolmode_allow_pulley": "1",
    "toolmode_allow_slider": "1",
    "toolmode_allow_trails": "1",
    "ttt_roundtime_minutes": "10",
    "toolmode_allow_balloon": "1",
    "toolmode_allow_creator": "1",
    "toolmode_allow_elastic": "1",
    "toolmode_allow_emitter": "1",
    "toolmode_allow_example": "1",
    "toolmode_allow_remover": "1",
    "ttt_allow_discomb_jump": "0",
    "ttt_namechange_bantime": "10",
    "ttt_teleport_telefrags": "0",
    "ttt_time_limit_minutes": "75",
    "r_AirboatViewDampenDamp": "1.0",
    "r_AirboatViewDampenFreq": "7.0",
    "sbox_playershurtplayers": "1",
    "toolmode_allow_dynamite": "1",
    "toolmode_allow_eyeposer": "1",
    "toolmode_allow_inflator": "1",
    "toolmode_allow_material": "1",
    "toolmode_allow_physprop": "1",
    "toolmode_allow_thruster": "1",
    "ttt_detective_karma_min": "600",
    "sv_maxusrcmdprocessticks": "24",
    "toolmode_allow_faceposer": "1",
    "toolmode_allow_hoverball": "1",
    "toolmode_allow_hydraulic": "1",
    "toolmode_allow_nocollide": "1",
    "ttt_det_credits_starting": "1",
    "sv_report_client_settings": "0",
    "toolmode_allow_ballsocket": "1",
    "toolmode_allow_duplicator": "1",
    "toolmode_allow_editentity": "1",
    "toolmode_allow_leafblower": "1",
    "ttt_detective_min_players": "8",
    "sv_hl2mp_item_respawn_time": "30",
    "ttt_haste_starting_minutes": "5",
    "ttt_haste_minutes_per_death": "0.500000",
    "sv_hl2mp_weapon_respawn_time": "20",
    "ttt_no_nade_throw_during_prep": "0",
    "ttt_ragdoll_pinning_innocents": "0"
  }
}

Примеры кода

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