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

text
https://api.gamemonitoring.in/servers/761108
json
{
  "response": {
    "fps": 100,
    "fps_avg": 95,
    "entities_count": 101786,
    "world_seed": 1937671173,
    "world_size": 4300,
    "steam_id": 90286605231197200,
    "domain": null,
    "id": 761108,
    "ip": "74.208.242.248",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Washington",
    "description": "![RustyBallz Noob Friendly USA/East PvE LowDecay](https://imgur.com/xE8jhWm)\n*Welcome to RustyBallz East Coast USA Rust Server*\r\n\r\nThis is a friendly group, perfect for starting off and meeting others.\r\nWe build for 3.5 weeks (PvE), and then destroy until forced wipe (PvP).\r\nMap and BP wipes are monthly, and decay is reduced to 10%.\r\n\r\nPvP Week Starts: 06/27        Next Wipe: 07/02\r\nTo view the server rules, type /info at any time in game chat.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780599268,
    "last_online": 1780605028,
    "icon": null,
    "name": "RustyBallz Noob Friendly USA/East PvE LowDecay",
    "connect": "74.208.242.248:28015",
    "request": "74.208.242.248:28016",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2627",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 66,
    "add_date": 1680785290,
    "last_update": 1780605028,
    "banned": false,
    "wipe": 1780599357,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1085,
    "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/761108");
$data = json_decode($json, true);
var_dump($data);