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

text
https://api.gamemonitoring.in/servers/537180
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 73731,
    "world_seed": 1799317912,
    "world_size": 3500,
    "steam_id": "90286551617718302",
    "domain": null,
    "id": 537180,
    "ip": "64.40.8.66",
    "port": 28018,
    "query": 28020,
    "color": 0,
    "city": "Dallas",
    "description": "![[US] Skully Town | 5x | Max4 | Solo/Duo/Trio/Quad](https://i.imgur.com/oOxMk4S.png)\nWelcome to the Skully Town 5x server! This is a new Rust server with a goal to create a fun rust experience by removing the long rust grind but still keeping to the vanilla rust feel. \r\n\r\nWipe Schedule:\r\n - Map - Bi-Weekly on Thursdays @ 11am PST, or when force wipes occur \r\n - BPs - Monthly @ force wipes \r\n\r\nServer Rules:\r\n - No cheating of any kind will be tolerated \r\n - If you need to report a player, use f7 or join the discord and DM a staff member \r\n - Teams of 4 MAX, anything over will result in a kick \r\n - No racism or disrespect to others \r\n - No bug/glitch abuse\r\n\r\nRanks: store.skullygames.net (Or click View Webpage) \r\n\r\nDiscord: https://discord.gg/WFDZTnp88q \r\n\r\nServer Info: \r\n - Active & Non-playing Admins \r\n - Premium Raidable Bases \r\n - Offline Raid Protection \r\n - Dangerous Treasures \r\n - Faster Crafting \r\n - Backpacks \r\n - MyMini \r\n - Homes \r\n - Kits \r\n - Rust+",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780329256,
    "last_online": 1780545633,
    "icon": null,
    "name": "[US] Skully Town | 5x | Max4 | Solo/Duo/Trio/Quad",
    "connect": "64.40.8.66:28018",
    "request": "64.40.8.66:28020",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1643831393,
    "last_update": 1780545633,
    "banned": false,
    "wipe": 1779388635,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1915,
    "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/537180");
$data = json_decode($json, true);
var_dump($data);