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

text
https://api.gamemonitoring.in/servers/10684806
json
{
  "response": {
    "fps": 58,
    "fps_avg": 71,
    "entities_count": 154744,
    "world_seed": 1025079507,
    "world_size": 4000,
    "steam_id": "90286563594595356",
    "domain": null,
    "id": 10684806,
    "ip": "66.51.99.74",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![SCAVENGERSHAVEN.NET 5x NoBPs SOLO/DUO/TRIO [Loot+|MyMini|Shop|K](https://www.scavengershaven.net/img/SHHeaderImage2.png)\n▼SERVER FEATURES▼\r\n - 5x Gather Rates, 10x Recycle & Smelting Speeds!\r\n - Improved Loot & Enhanced Stack Sizes!\r\n - Clans, Teams, Kits, Remove Tool, MyMini\r\n - Raidable Bases, Airfield Event\r\n - Skinner\r\n - NoBPs\r\n - BetterTC & BGrade\r\n - Server Rewards\r\n - Box Stacking (Right click box on-top to stack)\r\n\r\n▼SERVER RAIDING RULES▼\r\n - Max team size is 3 players\r\n - No Merge Raiding, No Teaming!\r\n\r\n▼SERVER INFORMATION▼\r\n - Website: https://scavengershaven.net or http://SCAV.gg \r\n - Discord: https://discord.gg/AjJQudCd9v \r\n\r\n▼SERVER WIPE TIMES▼\r\n - Bi-Weekly, plus Force Wipe\r\n - 1:00PM (EST) | 5:00pm (UTC)\r\n\r\nType /info to bring up the Welcome Screen.\r\nAdmin & Moderators are available if needed in server and on discord.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780273448,
    "last_online": 1780564832,
    "icon": null,
    "name": "SCAVENGERSHAVEN.NET 5x NoBPs SOLO/DUO/TRIO [Loot+|MyMini|Shop|K",
    "connect": "66.51.99.74:28015",
    "request": "66.51.99.74:28016",
    "map": "SCAV.GG",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1764589594,
    "last_update": 1780564832,
    "banned": false,
    "wipe": 1780018814,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3676,
    "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/10684806");
$data = json_decode($json, true);
var_dump($data);