JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11644865
json
{
  "response": {
    "fps": 119,
    "fps_avg": 119,
    "entities_count": 54852,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286583038159884",
    "domain": null,
    "id": 11644865,
    "ip": "5.42.211.185",
    "port": 35000,
    "query": 35010,
    "color": 0,
    "city": "Moscow",
    "description": "![Incunt Rust - Modded | x2 | NoLimit | Friday](https://incunt.ru/h.png)\n• Rates & Craft & Mix 2x\r\n• Smelt & Recycler 4x\r\n• Custom Map 3500\r\n• Stacks increased\r\n• Safe zones improved\r\n• Short night\r\n\r\n• Cases for online\r\n• No limits: NPC/Shop/Turrets/Teams\r\n• No vehicle decay in TC\r\n• 40% recycler on workbench\r\n• Research table returns item\r\n• Repair & Refill no durability loss\r\n• Air vehicles at Outpost\r\n• Boomboxes on all vehicles\r\n\r\nMap wipe: Friday 18:00 GMT+10\r\nBP wipe: Every 2 weeks\r\n\r\nDiscord/Telegram: incunt.ru",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780518864,
    "last_online": 1780590631,
    "icon": null,
    "name": "Incunt Rust - Modded | x2 | NoLimit | Friday",
    "connect": "5.42.211.185:35000",
    "request": "5.42.211.185:35010",
    "map": "RU EN 中文 日 한글",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177438,
    "last_update": 1780590631,
    "banned": false,
    "wipe": 1780041584,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5623,
    "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/11644865");
$data = json_decode($json, true);
var_dump($data);