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

text
https://api.gamemonitoring.ru/servers/11491215
json
{
  "response": {
    "steam_id": "90286782716125215",
    "domain": null,
    "id": 11491215,
    "ip": "67.227.44.99",
    "port": 7777,
    "query": 27015,
    "project_id": null,
    "color": 0,
    "city": "Secaucus",
    "description": "[{\"id\":\"fUxnxpTlw9\",\"type\":\"paragraph\",\"data\":{\"text\":\"Welcome to the zombie apocalypse. Scavenge the ruins, build your shelter, fortify your base, and survive Day Zero. Server restarts around 3 AM Eastern. Join our roleplay-based Discord: https://discord.gg/3M5n5SpmyA. Failure to follow the rules may result in a permanent ban.\"}}]",
    "game": 1857950,
    "owner": 191081,
    "boosts": 1,
    "last_offline": 1780066423,
    "last_online": 1780994416,
    "icon": null,
    "name": "gm.link/u191081 Day Zero - Dedicated Path",
    "connect": "67.227.44.99:7777",
    "request": "67.227.44.99:27015",
    "map": "Champlain Valley",
    "gamemode": "VEIN",
    "version": "0.024h1",
    "numplayers": 0,
    "maxplayers": 16,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 1,
    "points": 91,
    "add_date": 1777234189,
    "last_update": 1780994416,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3,
    "language": "en",
    "parked": false,
    "app": {
      "id": 1530675,
      "steam_id": 1857950,
      "name": "VEIN",
      "url": "vein"
    },
    "server_owner": {
      "username": "occultus",
      "avatar": "4831c03b-b815-4fda-b882-034bd382a3c9.png"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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