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

text
https://api.gamemonitoring.in/servers/11744427
json
{
  "response": {
    "fps": 131,
    "fps_avg": 131,
    "entities_count": 54580,
    "world_seed": 577168810,
    "world_size": 3200,
    "steam_id": "90286604442800134",
    "domain": null,
    "id": 11744427,
    "ip": "85.215.159.182",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![[EU] The Boys X1|[Loot+]|[Clans(6)]|[BP Share]|[TP\\Home]](https://i.ibb.co/M2dbJkB/nice.png)\nHello and welcome to The Boys! We are for you! (whatever that means).\r\nOur goal for this server is to offer everyone a fair chance in the game without any kits or VIP stuff.\r\nSo everyone has the same starting conditions without any pay to win bullshit.\r\n\r\nPlugins and features:\r\n\r\n- BetterCharcoal (gives you more charcoal)\r\n- BetterLoot (let you find better loot)\r\n- BGrade (let you upgrade walls faster)\r\n- BlueprintManager\r\n- BlueprintShare (share your researched blueprints)\r\n- Clans (up to 4 players)\r\n- FurnaceSplitter (splits your resources auto)\r\n- GatherManager (gives you 4 times more resources)\r\n- InfoPanel (give you some game information)\r\n- InstantCraft (let you craft your stuff instantly)\r\n- NoEscape (blocks players to escape from battle)\r\n- NTeleportation (tpr/home)\r\n- QuickSmelt (smelt resources faster)\r\n- RecycleManager (faster recycle)\r\n- RemoverTool (let you remove objects)\r\n- StackSizeController (let you stack more items)\r\n- TimedEvents\r\n- Short nights (day: 30 mins/nights: 5 mins)",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596861,
    "last_online": 1780608636,
    "icon": null,
    "name": "[EU] The Boys X1|[Loot+]|[Clans(6)]|[BP Share]|[TP\\Home]",
    "connect": "85.215.159.182:28015",
    "request": "85.215.159.182:28016",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 120,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780518696,
    "last_update": 1780608636,
    "banned": false,
    "wipe": 1780597083,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5655,
    "language": "de",
    "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/11744427");
$data = json_decode($json, true);
var_dump($data);