JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11511589
json
{
  "response": {
    "fps": 56,
    "fps_avg": 55,
    "entities_count": 70534,
    "world_seed": 1897507005,
    "world_size": 3500,
    "steam_id": "90286489350927384",
    "domain": null,
    "id": 11511589,
    "ip": "73.164.18.155",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Minneapolis",
    "description": "![[NA] RAMFUSION.GG 2X (PVP/PVE)](https://www.image2url.com/r2/default/images/1780039007685-9932e129-1fab-43f9-a7f4-33f345e4c069.png)\nServer Features: • 2X Gather & Components • Monthly Wipes • Team Limit 4 • Skill Tree Rewards • Shared Blueprints • Quick Smelt • Furnace Splitter • Auto Doors • Skinbox • Backpacks • Teleport Requests • Daily Rewards • Kits & Rewards • Fast Nights • Improved Loot Tables \r\n Custom Events: 🚚 Convoy Event 🚂 Armored Train 🏴 Raidable Bases 🎁 Custom Air Drops 🚁 Patrol Helicopter Events 🛳 Cargo Ship Battles 💰 Dangerous Treasures ⚔ PvP Tournaments \r\nWhy RAM Fusion? ✔ Dedicated Enterprise Hardware ✔ DDoS Protection ✔ Active Staff Team ✔ Fast Support ✔ No Pay-To-Win ✔ Friendly Community ✔ Low Ping Performance ✔ Active Development \r\n Join the next generation of Rust survivors. 🌐 RAMFUSION.COM 🎮 Discord Available Through Website 🚀 More Than A Server — A Community",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780040621,
    "last_online": 1780604435,
    "icon": null,
    "name": "[NA] RAMFUSION.GG 2X (PVP/PVE)",
    "connect": "73.164.18.155:28015",
    "request": "73.164.18.155:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353855,
    "last_update": 1780604435,
    "banned": false,
    "wipe": 1780040677,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4959,
    "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/11511589");
$data = json_decode($json, true);
var_dump($data);