प्रोग्राम, वेबसाइट और अन्य के लिए JSON

text
https://api.gamemonitoring.in/servers/969319
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 183541,
    "world_seed": 1,
    "world_size": 4000,
    "steam_id": "90286552698776591",
    "domain": null,
    "id": 969319,
    "ip": "168.100.161.35",
    "port": 28027,
    "query": 28028,
    "color": 0,
    "city": "London",
    "description": "![[EU] RustNRelax 3x Quad/Max 5 | Loot+ | No BP Wipes | Wiped 07/](https://i.postimg.cc/ry0HHbK1/ingame.png)\nThe ORIGINAL slightly more relaxed Rust experience!\r\nMax Team Size is 5! No Alliances, and no Truces\r\nNo BP Wipes, Map Wipes 1st Thursday of each month @ 7 PM GMT\r\n\r\nSERVER FEATURES:\r\n• No P2W - QoL Plugins Only\r\n• 25% Less TC Upkeep\r\n• Increased Turret Limit\r\n• Extended Workbench Range\r\n• Automatic SAM Site Auth\r\n• Backpacks, Vehicles, Base Recyclers and RaidAlarm\r\n• 3X Gather, Stacks, Comps & Smelting\r\n• 2X Scrap, 1.5X Sulfur\r\n• 2X Crafting, 3X Recycling\r\n• Longer Days (55 mins) & Shorter Nights (5 mins)\r\n• Drone Marketplaces at Ranch & Fishing Villages\r\n• Recyclers at Dome, Cargo Ship, Oil Rigs & Fishing Villages",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780482241,
    "last_online": 1780554630,
    "icon": null,
    "name": "[EU] RustNRelax 3x Quad/Max 5 | Loot+ | No BP Wipes | Wiped 07/",
    "connect": "168.100.161.35:28027",
    "request": "168.100.161.35:28028",
    "map": "discord.gg/RustNRelax",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1684939435,
    "last_update": 1780554630,
    "banned": false,
    "wipe": 1778177038,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2097,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/969319");
$data = json_decode($json, true);
var_dump($data);