JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/7513551
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7513551,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": null,
    "game": 240,
    "owner": 105445,
    "boosts": 1,
    "last_offline": 1761066199,
    "last_online": 1759257635,
    "icon": null,
    "name": "Новый Minigame сервер от CW-SERV.RU",
    "connect": null,
    "request": null,
    "map": "bhop_3d",
    "gamemode": "Counter-Strike: Source",
    "version": null,
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": false,
    "private": true,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1739295752,
    "last_update": 1761066199,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4714,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 5,
      "steam_id": 240,
      "name": "Counter-Strike: Source",
      "url": "counter-strike-source"
    },
    "server_owner": {
      "username": "factory97",
      "avatar": "d9027c89-9678-4952-9a5a-f92c5108e175.jpg"
    },
    "mods": [
      {
        "id": 1625,
        "name": "classic css v34 pablick"
      }
    ],
    "disabled_modules": []
  }
}

Exemple de cod

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