JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11189382
json
{
  "response": {
    "fps": 51,
    "fps_avg": 45,
    "entities_count": 78306,
    "world_seed": 85411,
    "world_size": 3900,
    "steam_id": "90286620309999619",
    "domain": null,
    "id": 11189382,
    "ip": "91.229.114.45",
    "port": 28135,
    "query": 28137,
    "color": 0,
    "city": "Chicago",
    "description": "![[US] HELL FORGE 3X | MONTHLY | NO P2W | ACTIVE ADMIN](https://i.imgur.com/OtD1ZFT.jpeg)\nWelcome to HELL FORGE 3X - The ultimate balanced Rust experience. Fast-paced progression, intense PVP, Noob Friendly, and absolutely ZERO Pay-To-Win.\r\n--- HIGH PERFORMANCE HARDWARE ---\r\n* Powered by AMD Ryzen 9 9950X \r\n* High-Speed NVMe Storage for lag-free saves and low ping\r\n--- SERVER FEATURES ---\r\n* 3X Gather Rates (Wood, Stone, Metal, Sulfur)\r\n* 3X Loot & Components\r\n* 3X Scrap & Accelerated Smelting\r\n* Free Starter, Building, and PVP Kits (100% Free for Everyone)\r\n--- BLUEPRINTS & TEAMS ---\r\n* Blueprints do NOT come unlocked (Earn your progression)\r\n* Blueprint Sharing Enabled (Share BPs with your Team/Friends)\r\n* Wipe Schedule: Monthly Map & BP Wipe\r\n--- SERVER RULES ---\r\n* Strictly NO Pay-To-Win (No paid advantages, no buying kits)\r\n* Active Admins monitoring for cheaters\r\n* Play fair and respect the community.\r\nJoin our community, grab your free kits, and conquer the Forge!\r\nDiscord: discord.gg/y89s6yUE32",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780600465,
    "last_online": 1780671030,
    "icon": null,
    "name": "[US] HELL FORGE 3X | MONTHLY | NO P2W | ACTIVE ADMIN",
    "connect": "91.229.114.45:28135",
    "request": "91.229.114.45:28137",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 3,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1772699049,
    "last_update": 1780671030,
    "banned": false,
    "wipe": 1780600551,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2670,
    "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/11189382");
$data = json_decode($json, true);
var_dump($data);