JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11742115
json
{
  "response": {
    "fps": 375,
    "fps_avg": 370,
    "entities_count": 102646,
    "world_seed": 914692808,
    "world_size": 4250,
    "steam_id": "90286566762429454",
    "domain": null,
    "id": 11742115,
    "ip": "185.189.255.207",
    "port": 35100,
    "query": 35110,
    "color": 0,
    "city": "Moscow",
    "description": "![[RU] BOBER RUST | BETA TEST | NO LIMIT](https://gspics.org/images/2026/05/26/IDkJN8.png)\n• Ночная защита от рейда.\r\n• Взлом ящика с чинука за 5 минут.\r\n• Система прокачки персонажа.\r\n• Моментальный крафт, быстрые\r\n печи для всех игроков.\r\n• Report System и хорошая быстрая модерация.\r\n• НЕТ телепортов, ремува и прочего!\r\n• Хороший античит!\r\n\r\nВайп раз в неделю (каждую пятницу в 17:00 по МСК)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780428260,
    "last_online": 1780515036,
    "icon": null,
    "name": "[RU] BOBER RUST | BETA TEST | NO LIMIT",
    "connect": "185.189.255.207:35100",
    "request": "185.189.255.207:35110",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780428260,
    "last_update": 1780515036,
    "banned": false,
    "wipe": 1780420833,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6186,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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