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

text
https://api.gamemonitoring.in/servers/341081
json
{
  "response": {
    "fps": 56,
    "fps_avg": 55,
    "entities_count": 117064,
    "world_seed": 113762240,
    "world_size": 4250,
    "steam_id": "90286575469753349",
    "domain": null,
    "id": 341081,
    "ip": "116.202.165.78",
    "port": 29014,
    "query": 29015,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Rust Ireland - 5x - Max4 | Scrap+ | 50% Upkeep | Weekly](https://www.rustireland.com/images/banners/banner5x.png)\nThe Rust Ireland 5x server hosts a fast-paced PvP orientated game on a smaller map with a shorter night.\n\nGather: 5x  •  Scrap: 3x  •  Smelting: 5x  •  Crafting: 5x  •  Upkeep: 50%\nResource Stacks: 35k  •  Sulfur Stacks: 15k  •  Other Stacks: 5x\nDay/Night: 50/10  •  Map Size: 4000  •  Map Wipe: Weekly  •  BP Wipe: Biweekly\n\nQoL: FurnaceSplitter  •  RemoverTool  •  BGrade  •  Skins  •  Sign Artist\nFaster Recycling  •  Fuelless Lanterns  •  Higher Capacity Electricity/Water\n\nRaiding is blocked for the first 48 hours after a wipe and between 00:00 and 12:00 daily.\n\nDiscord: https://rustireland.com/discord\nSteam: https://rustireland.com/steam\nLive Map: https://rustireland.com/5x/map\n\n4.2GHz • DDR4 • NVMe • DDoS  Protection • Anti Cheat • No Admin Players",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780531461,
    "last_online": 1780582835,
    "icon": null,
    "name": "Rust Ireland - 5x - Max4 | Scrap+ | 50% Upkeep | Weekly",
    "connect": "116.202.165.78:29014",
    "request": "116.202.165.78:29015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1593280838,
    "last_update": 1780582835,
    "banned": false,
    "wipe": 1779991010,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2334,
    "language": "de",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

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