JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11511528
json
{
  "response": {
    "fps": 107,
    "fps_avg": 106,
    "entities_count": 108411,
    "world_seed": 1047333229,
    "world_size": 4250,
    "steam_id": "90286261950058508",
    "domain": null,
    "id": 11511528,
    "ip": "105.29.149.181",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Sandton",
    "description": "![Madmax](https://images2.imgbox.com/3f/09/uocSJXsn_o.jpg)\n● MadMax Vanilla ●: JUST WIPED!\r\nGenerated on: 2026-05-07\r\n\r\nNext wipe in 28 days (Map only) on the 04 June 2026\r\nfollowed by a Map + BP wipe in 56 days on th 02 July 2026\r\n\r\nOur first full wipe back, still testing some stuff but wont impact the PvP.\r\n\r\nMax team size:4 - 60% reduced Upkeep - Sheduled Offline window(18:00 - 23:30)\r\n\r\n--Rules-- more details on discord server.\r\n1. No Offline raiding, unless in the permitted time window\r\n2. No building in a way that inhibits Points of interest\r\n3. Max team size is 4, no teaming, make sure you dont auth more than 4 on you TCs\r\n4. dont be a doos, no sexism, racism, homophobic, hateful or sexually explicit lanuage\r\n\r\nHave fun be nice",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779353852,
    "last_online": 1780569633,
    "icon": null,
    "name": "Madmax",
    "connect": "105.29.149.181:28015",
    "request": "105.29.149.181:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "ZA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353852,
    "last_update": 1780569633,
    "banned": false,
    "wipe": 1778176964,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5211,
    "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/11511528");
$data = json_decode($json, true);
var_dump($data);