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

text
https://api.gamemonitoring.in/servers/11189056
json
{
  "response": {
    "fps": 70,
    "fps_avg": 65,
    "entities_count": 148012,
    "world_seed": 1944473245,
    "world_size": 4250,
    "steam_id": "90285237709561859",
    "domain": null,
    "id": 11189056,
    "ip": "199.115.72.40",
    "port": 27100,
    "query": 27103,
    "color": 0,
    "city": "The Hague",
    "description": "![[EU] Chaos Gaming PvE Vanilla + | NO DECAY | CUSTOM EVENTS |](https://chaos-gaming.co.uk/assets/branding/chaos-gaming-header.jpg)\nWelcome to Chaos Gaming PvE! We're a friendly Vanilla + Rust community who are always looking to welcome new players, ideas, and feedback. It doesn't matter if you're a newbie or a professional - all are welcome here. \r\n  \r\n Our server offers: \r\n - No raiding - No decay - No killing (apart from NPCs) \r\n - Raidable Bases - Train Yard Event - Dome Event \r\n - Airfield Event - Road Convoy - Grid Power (and more!) \r\n - Monthly wipes - Vanilla gather rates - Increased stack sizes \r\n - Vote rewards - Discord and Steam perks - Kits - Playtime rewards \r\n - And much more! \r\n  \r\n Want more information? www.chaos-gaming.co.uk \r\n Fancy supporting Chaos Gaming? www.store.chaos-gaming.co.uk \r\n Join our Steam group for perks! www.steam.chaos-gaming.co.uk \r\n Join us on Discord! www.discord.chaos-gaming.co.uk",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775621005,
    "score": 0,
    "last_online": 1777742427,
    "icon": null,
    "name": "[EU] Chaos Gaming PvE Vanilla + | NO DECAY | CUSTOM EVENTS |",
    "connect": "199.115.72.40:27100",
    "request": "199.115.72.40:27103",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "NL",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772699029,
    "last_update": 1777742427,
    "banned": false,
    "wipe": 1775155524,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4560,
    "language": "nl",
    "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/11189056");
$data = json_decode($json, true);
var_dump($data);