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

text
https://api.gamemonitoring.ru/servers/10873501
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10873501,
    "ip": null,
    "port": null,
    "query": null,
    "project_id": null,
    "color": 0,
    "city": "Paşcani",
    "description": "[{\"id\":\"zJTICvOtz7\",\"type\":\"paragraph\",\"data\":{\"text\":\"Difficulty: hard\\nPassword: not required (at this time)\\nMods: creatures addon (server side only)\\nLocation: Romania (if you are not from Romania then there is no point in joining, but you can try anyway)\\nRestart: daily at 04:00 GMT/UTC +2\"}}]",
    "game": 1149460,
    "owner": 91471,
    "boosts": 1,
    "last_offline": 1772517053,
    "last_online": 1771582811,
    "icon": null,
    "name": "OrgCorp Romania - Modded",
    "connect": null,
    "request": null,
    "map": null,
    "gamemode": "Icarus",
    "version": null,
    "numplayers": 0,
    "maxplayers": 7,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RO",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1768318893,
    "last_update": 1772517053,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": true,
    "hide_address": false,
    "hide_query": false,
    "position_game": 8615,
    "language": "ro",
    "parked": true,
    "app": {
      "id": 1600891,
      "steam_id": 1149460,
      "name": "Icarus",
      "url": "icarus"
    },
    "server_owner": {
      "username": "NiseriuS",
      "avatar": "7a49c2de-aa9e-4b3b-a0d3-7f3a2846dab0.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Примеры кода

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