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

text
https://api.gamemonitoring.in/servers/7866089
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 172442,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90284731077583896",
    "domain": null,
    "id": 7866089,
    "ip": "194.69.160.110",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "City of London",
    "description": "![Reddit.com/r/PlayRust - EU Trio](https://cdn3.mapstr.gg/fc1c5e6301c9da0664ff31945955c8a2.jpg)\nWelcome to Reddit's official /r/PlayRust EU Trio server! \r\n - No cheating or exploiting. \r\n - No spam, racism/slurs, discrimination. \r\n \r\n VIP: vip.redditplayrust.com \r\n Rules & Support: redditplayrust.com \r\n Discord: discord.gg/playrust \r\n Weekly Map: Thursdays @ 3PM UK / BP Wipe @ Forced \r\n \r\n Trio Server Rules \r\n \r\n -Max 3 players living in a base. \r\n -Max 3 players authorized on TC, codelocks and turrets. \r\n -Max 3 players roaming/raiding together. \r\n -No roaming/raiding with players not authorized on your TC. \r\n -No alliances/teaming. \r\n -No slaves. \r\n -No giving away bases. \r\n -No hotels. \r\n -Do not allow people outside of your trio into your base/compound. \r\n -Trading with another team should only be done through shopfronts or a vending machine. \r\n No swapping out players. The 3 you start with is the 3 you finish with. \r\n \r\n The rules may not cover every possible scenario, therefore the r/PlayRust staff reserves the right to handle unique situations on a case by case basis.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775152338,
    "score": 0,
    "last_online": 1776820817,
    "icon": null,
    "name": "Reddit.com/r/PlayRust - EU Trio",
    "connect": "194.69.160.110:28015",
    "request": "194.69.160.110:28017",
    "map": "Reddit Maps",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 12,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 64,
    "add_date": 1740323854,
    "last_update": 1776820817,
    "banned": false,
    "wipe": 1776348003,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 967,
    "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/7866089");
$data = json_decode($json, true);
var_dump($data);