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

text
https://api.gamemonitoring.in/servers/475342
json
{
  "response": {
    "fps": 93,
    "fps_avg": 89,
    "entities_count": 151022,
    "world_seed": 1337,
    "world_size": 5000,
    "steam_id": 90284818943963140,
    "domain": null,
    "id": 475342,
    "ip": "79.136.0.124",
    "port": 28016,
    "query": 28015,
    "color": 0,
    "city": "Angered",
    "description": "![[EU] 12Guys |PvPvE|XP|QUESTS|](https://12guys.se/pictures/header_1024x512.png)\n12G Rust Server PvPvE (PVP and PVE!)  \r\nDiscord: https://discord.12guys.se\r\n\r\nFeature:   \r\n- Day 1 --> 6 days prior to wipe: Offline Raid Protection is available to buy in TC    \r\n- Last 5 days: No PVE and no Raid Protection availible!    \r\n- Map Wipe monthly, blueprints wipe every month    \r\n- Raidable Bases (+400 bases), Kits, Custom in game currency, ATM machine   \r\n- Zombies, custom NPC etc. .  \r\n- Shop, Skins, Bag of holding     \r\n- XP level system (SKILL TREE)  \r\n- Convoy on roads, Armored Train, Supermarket, Gas station, Sputnik and much more  \r\n- Roam Task, Upgradable TC, Raid Protection, Grid Power    \r\n- Helirefuel, Epic Loot, Custom crafting    \r\n- Unique and custom Quests, BossMonster And Much more! Come join us!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776837800,
    "score": null,
    "last_online": 1776879020,
    "icon": null,
    "name": "[EU] 12Guys |PvPvE|XP|QUESTS|",
    "connect": "79.136.0.124:28016",
    "request": "79.136.0.124:28015",
    "map": "12G - April 2026",
    "gamemode": "Vanilla",
    "version": "2623",
    "numplayers": 4,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "SE",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1634303301,
    "last_update": 1776879020,
    "banned": false,
    "wipe": 1775151725,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1654,
    "language": "sv",
    "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/475342");
$data = json_decode($json, true);
var_dump($data);