JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/761225
json
{
  "response": {
    "fps": 40,
    "fps_avg": 40,
    "entities_count": 48709,
    "world_seed": 1337,
    "world_size": 3000,
    "steam_id": "90286583253988372",
    "domain": null,
    "id": 761225,
    "ip": "168.100.161.72",
    "port": 28010,
    "query": 28015,
    "color": 0,
    "city": "London",
    "description": "![rusthurts.com - 5x Max8 (Wipe in ~6h)](https://rusthurts.com/images/browser_may_2026.jpg)\nWelcome to rusthurts!\nModded Rust servers, built from the ground up.\n\n⚠ We're a brand new community, come check us out!\n\nSome features of our 5x Max8 server:\n- Team limit: 8\n- Dynamic server slots up to 175\n- Custom maps, rotating every wipe\n- 5x gather, 10x sulfur\n- No BPs\n- No workbench\n- Сustom events\n- Kits & Teleports\n- Instant crafting, smelting, recycling, cooking, and mixing\n- And many more exclusive features and QoL improvements",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780121016,
    "last_online": 1780572030,
    "icon": null,
    "name": "rusthurts.com - 5x Max8 (Wipe in ~6h)",
    "connect": "168.100.161.72:28010",
    "request": "168.100.161.72:28015",
    "map": "rusthurts.com/discord",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1680785342,
    "last_update": 1780572030,
    "banned": false,
    "wipe": 1780498647,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2323,
    "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/761225");
$data = json_decode($json, true);
var_dump($data);