JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11756680
json
{
  "response": {
    "fps": 1950,
    "fps_avg": 1992,
    "entities_count": 20691,
    "world_seed": 1337,
    "world_size": 2800,
    "steam_id": "90286604750969886",
    "domain": null,
    "id": 11756680,
    "ip": "37.230.162.91",
    "port": 20000,
    "query": 20001,
    "color": 0,
    "city": "Moscow",
    "description": "![gm.link/u164850 MelonRust.ru #2 X10000000 [NOLIMIT | FPS + | PV](https://i.postimg.cc/bvGr8dWR/bfinf.png)\nWelcome to MELONRUST!\r\n ➣ Вайп каждую пятницу 16:00 по МСК \r\n ➣ Рейты: x1000000\r\n ➣ Карта: 270 Barren\r\n ➣ Сервер заточен в основном на пвп, но и порейдить будет приятно\r\n ➣ Нет урона от ракет\r\n ➣ Играй просто в кайф\r\n  ➣ Store - https://melonrust.ru \r\n ➣ Discord - https://discord.gg/melonrust",
    "game": 252490,
    "owner": 164850,
    "boosts": 1,
    "last_offline": 1780593670,
    "last_online": 1780608618,
    "icon": null,
    "name": "MelonRust.ru #2 X100000 [NOLIMIT | FPS + | AIM TRAIN | PVP + |",
    "connect": "37.230.162.91:20000",
    "request": "37.230.162.91:20001",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 43,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 101,
    "add_date": 1780593670,
    "last_update": 1780608618,
    "banned": false,
    "wipe": 1780598132,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 292,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "stiriner",
      "avatar": "no.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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