JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/9526877
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 111345,
    "world_seed": 1337,
    "world_size": 4600,
    "steam_id": "90286581484621824",
    "domain": null,
    "id": 9526877,
    "ip": "178.63.123.235",
    "port": 28050,
    "query": 28051,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[DE/GER] Alles auf Anfang [PVE]](https://my-neo.de/rust.jpg)\nHerzlich willkommen auf  Alles auf Anfang \r\n\r\nWir sind ein reiner PVE Server.\r\nHier ist jeder herzlich willkommen, der ganz entspannt spielen und abschalten will.\r\n\r\nBei uns gibt es:\r\nAbschließbare Helis, Öfen, Pflanzkisten, Komposter ect...... \r\nRadioaktivität ist deaktiviert\r\nRaid-Schutz: Deine Base ist vor anderen geschützt, außer vor dir selber\r\nRemovertool: falls mal was beim Bauen schief geht\r\nStarterkits\r\nBackpack\r\nRaidbasen \r\nTag/Nachtzyklus Vanilla \r\nKisten Sortierfunktion\r\nStackgrößen Vanilla\r\nUpkeep 30 prozent",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780373052,
    "last_online": 1780570228,
    "icon": null,
    "name": "[DE/GER] Alles auf Anfang [PVE]",
    "connect": "178.63.123.235:28050",
    "request": "178.63.123.235:28051",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1750537853,
    "last_update": 1780570228,
    "banned": false,
    "wipe": 1778183694,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3155,
    "language": "de",
    "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/9526877");
$data = json_decode($json, true);
var_dump($data);