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

text
https://api.gamemonitoring.in/servers/11670974
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 65005,
    "world_seed": 1337,
    "world_size": 3500,
    "steam_id": "90286625499462665",
    "domain": null,
    "id": 11670974,
    "ip": "66.51.99.87",
    "port": 28045,
    "query": 28046,
    "color": 0,
    "city": "Dallas",
    "description": "![RUSTGXDS 2X MONTHLY SOLO/DUO/TRIO/QUAD/SHARED BPS](https://www.dropbox.com/scl/fi/nhvsz506chxqheqko1obs/Server-Banner.png?rlkey=4yknjfxvrgxomitkmjuxm6v9o&st=ne9q1nv8&dl=1)\nMonthly map wipes on Force Wipes (First Thursday of each month @ 2pm EST)\r\nDiscord: https://discord.gg/TyVkkjuSrN\r\nVIP+Kits https://rustgxds.tebex.io/\r\nMax group size is 4, no alliances/truces, etc. Read Rules to avoid being banned\r\nAll Server Changes\r\n2x Gather rates on everything, 2x Craft times, Recycler & Smelting speeds , 2x Stack sizes on most resources & comps /n Minicopters spawn on roads / Increased shoreside boat spawns\r\nDrone marketplaces at Fishing Villages & Ranches\r\nBandit & Outpost Merged for better FPS performance / Recyclers at Monuments, Oilrigs, Cargo, Ranches, Fishing Villages\r\nShorter Nights\r\nFood doesnt burn\r\nActive admins\r\nRules: Read more with (/rules) No Cheating/exploiting. No rust game banned alts in the last 365 days. Playing with cheaters/evaders will result in a ban. No VPNs, limited/not setup steam accounts",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780640601,
    "last_online": 1780649429,
    "icon": null,
    "name": "RUSTGXDS 2X MONTHLY SOLO/DUO/TRIO/QUAD/SHARED BPS",
    "connect": "66.51.99.87:28045",
    "request": "66.51.99.87:28046",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780180910,
    "last_update": 1780649429,
    "banned": false,
    "wipe": 1780641111,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5474,
    "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/11670974");
$data = json_decode($json, true);
var_dump($data);