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

text
https://api.gamemonitoring.in/servers/451223
json
{
  "response": {
    "fps": 54,
    "fps_avg": 54,
    "entities_count": 111959,
    "world_seed": 510248966,
    "world_size": 4250,
    "steam_id": "90286575469887493",
    "domain": null,
    "id": 451223,
    "ip": "116.202.165.78",
    "port": 26014,
    "query": 26015,
    "color": 0,
    "city": "Falkenstein",
    "description": "![Rust Ireland - 2x - Solo | Vanilla+ | 50% Upkeep | Biweekly](https://www.rustireland.com/images/banners/banner2xsolo.png)\nThe Rust Ireland 2x server hosts a solo 2x vanilla+ game with many QoL enhancements:\n\n• 2x Wood/stone/metal/scrap/components\n• 2x Crafting/smelting/recycling speed\n• Lanterns don't require fuel\n• Meat doesn't burn in fires\n• Vehicles can be crafted at workbenches\n• Extra car lifts and refineries are available at some monuments\n• 10 items can be /removed per wipe to fix base mistakes\n• Images can be uploaded to signs and picture frames\n• A wide selection of free skins can be added to in-game items\n• 50 minute days, 10 minute nights\n• Tech tree is disabled for the first wipe each month\n• Map wipe on the 1st & 3rd Thursdays of each month at 19:00 GMT\n• Blueprint wipe on the 1st Thursday of each month at 19:00 GMT\n\nDiscord: https://rustireland.com/discord\nSteam: https://rustireland.com/steam\nLive Map: https://rustireland.com/2x-solo/map\n\n4.2GHz • DDR4 • NVMe • DDoS  Protection • Anti Cheat • No Admin Players",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780531461,
    "last_online": 1780545628,
    "icon": null,
    "name": "Rust Ireland - 2x - Solo | Vanilla+ | 50% Upkeep | Biweekly",
    "connect": "116.202.165.78:26014",
    "request": "116.202.165.78:26015",
    "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": 1630779892,
    "last_update": 1780545628,
    "banned": false,
    "wipe": 1779386152,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1885,
    "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/451223");
$data = json_decode($json, true);
var_dump($data);