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

text
https://api.gamemonitoring.in/servers/4523459
json
{
  "response": {
    "steam_id": "90286558610750495",
    "domain": null,
    "id": 4523459,
    "ip": "205.178.168.197",
    "port": 28012,
    "query": 28014,
    "color": 0,
    "city": "London",
    "description": "Server Wipe Wednesday & Sunday @ 16:00 Amsterdam Time\r\nBP Wipe every Sunday\r\n\r\nKits & Queue Skip: https://trustyourskill.com\r\n\r\n\\t- Max Group: 3\r\n\\t- 5x Gather & Resources\r\n\\t- /noskin and /skinbox FREE\r\n\\t- Auto Base Upgrade FREE\r\n\\t- Full Base Workbench\r\n\\t- Instant Craft & Faster Smelting\r\n\\t- T1 BPs + All Electrical Unlocked\r\n\\t- Custom Map with Improved FPS (No Swamps, Merged Outpost/Bandit)\r\n\\t- Always Day (No nights)\r\n\\t- Improved Loot (Component-Only Barrels)\r\n\\t- Minis, Scrappies, RHIBs, Boats & Horses spawning\r\n\\t- Teleport Enabled (/outpost - /home)\r\n\\t- Loyal Ranks & Playtime Rewards – Earn ranks and perks by just playing.\r\n\\t- Custom Anti-Cheat\r\n\\t- Discord, Twitch & Steam Rewards\r\n\r\nJoin Our Discord: https://discord.gg/trustyourskill",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780045421,
    "last_online": 1780552834,
    "icon": null,
    "name": "TRUST YOUR SKILL 5X SOLO/DUO/TRIO |KITS|LOOT+|BPS+ 03/06 WIPE",
    "connect": "205.178.168.197:28012",
    "request": "205.178.168.197:28014",
    "map": "discord.gg/trustyourskill",
    "gamemode": "Rust",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1716982669,
    "last_update": 1780552834,
    "banned": false,
    "wipe": 1780495438,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2368,
    "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/4523459");
$data = json_decode($json, true);
var_dump($data);