JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11607449
json
{
  "response": {
    "steam_id": "90286605639375892",
    "domain": null,
    "id": 11607449,
    "ip": "172.111.33.13",
    "port": 28014,
    "query": 28015,
    "color": 0,
    "city": "Sydney",
    "description": "![PULSE - AU 10x | CLANS | KITS | TECH TREE | JUST WIPED](https://image2url.com/r2/default/images/1775701220017-07eba3b1-b525-422f-9b76-675141405a48.jpg)\nPulse Rust Servers | The most competitive modded server in Rust.\r\n\r\nWipe times\r\n4:00 PM AEST Wednesday\r\n12:00 PM AEST Saturday\r\n\r\nFeatures\r\n10x Loot\r\n5x Gather\r\nCustom Events\r\nCustom Monument\r\nCustom Kits\r\nClan Tech Tree\r\nCustom MLRS\r\n\r\nLinks\r\nhttps://discord.gg/au5x\r\nhttps://pulserust.net/store",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779915506,
    "last_online": 1780608034,
    "icon": null,
    "name": "PULSE - AU 10x | CLANS | KITS | TECH TREE | JUST WIPED",
    "connect": "172.111.33.13:28014",
    "request": "172.111.33.13:28015",
    "map": "Custom Map",
    "gamemode": "Rust",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 400,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "AU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915506,
    "last_update": 1780608034,
    "banned": false,
    "wipe": 1780600916,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5274,
    "language": "en",
    "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/11607449");
$data = json_decode($json, true);
var_dump($data);