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

text
https://api.gamemonitoring.in/servers/7920798
json
{
  "response": {
    "fps": 47,
    "fps_avg": 47,
    "entities_count": 116113,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286585439248398",
    "domain": null,
    "id": 7920798,
    "ip": "83.147.29.243",
    "port": 28035,
    "query": 28036,
    "color": 0,
    "city": "City of London",
    "description": "![-2stoned | Monthly | Solo/Duos | Beginner Friendly | Low Decay](https://files.2stonedrust.com/storage/uploads/banner3.png)\nBetter Anti-Cheat | Anti-Teaming | AI Admin Protection\r\n\r\nWelcome to 2stoned Rust — a protected, fair, and community-focused Rust server.\r\n\r\nJoin our Discord to claim your role, get updates, report issues, and stay connected:\r\ndiscord.2stonedrust.com\r\n\r\nMain Features:\r\n|> AI Admin Chat & Voice Protection\r\n|> In-House Anti-Cheat System\r\n|> Anti-Teaming System\r\n|> Beginner Friendly\r\n|> 0.5x Decay\r\n|> Custom Events & Plugins\r\n|> Custom Maps & Monuments\r\n|> Non-Playing Admins\r\n|> High-Performance Hardware\r\n\r\nRules:\r\n|> No Racism\r\n|> No Homophobic Slurs\r\n|> No Hate Speech\r\n|> No Extreme Toxicity\r\n|> No Alliances / Teaming\r\n|> No Blocking Monuments\r\n|> English Only in Public Chat\r\n|> No Cheating or Exploiting\r\n|> No EAC Game Bans Under 150 Days\r\n\r\nPlay fair, follow the rules, and enjoy 2stoned.\r\n\r\nDiscord: discord.2stonedrust.com",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780470419,
    "last_online": 1780582831,
    "icon": null,
    "name": "-2stoned | Monthly | Solo/Duos | Beginner Friendly | Low Decay",
    "connect": "83.147.29.243:28035",
    "request": "83.147.29.243:28036",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 7,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 62,
    "add_date": 1740791945,
    "last_update": 1780582831,
    "banned": false,
    "wipe": 1780243012,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1410,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

कोड उदाहरण

php
<?php
$json = file_get_contents("https://api.gamemonitoring.in/servers/7920798");
$data = json_decode($json, true);
var_dump($data);