JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/7174265
json
{
  "response": {
    "modded": true,
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 76737,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286184510937112",
    "domain": null,
    "id": 7174265,
    "ip": "185.248.134.188",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "London",
    "description": "![WILD EU 10X LOOT+|BPs+|KITS|MYMINI](https://cdn.wild-rust.com/banners/eu/ingame-10x-max-8.png)\nServer Wipe Tuesdays and Saturdays @ 2:00PM UTC\r\n\r\nStore : store.wild-rust.com\r\n\r\n - 10x Gather & Resources\r\n - Extended Workbench\r\n - Instant Craft\r\nFast Smelt/Recycler/Mixing Table\r\n - Auto Pickup Loot\r\n - Custom Map, Always Day\r\n - Ranks based on Playtime\r\n - Loot ++\r\n - Better TC, SkinBox\r\n - Teleports\r\n\r\nJoin Our Discord: https://discord.gg/wildrust",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778767381,
    "last_online": 1779708620,
    "icon": null,
    "name": "WILD EU 10X LOOT+|BPs+|KITS|MYMINI",
    "connect": "185.248.134.188:28015",
    "request": "185.248.134.188:28016",
    "map": "WILD MAP FPS++",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 4,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1736279655,
    "last_update": 1779708620,
    "banned": false,
    "wipe": 1778594036,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1713,
    "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/7174265");
$data = json_decode($json, true);
var_dump($data);