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

text
https://api.gamemonitoring.in/servers/7596185
json
{
  "response": {
    "fps": 35,
    "fps_avg": 33,
    "entities_count": 315774,
    "world_seed": 66617,
    "world_size": 5000,
    "steam_id": "90286332543481881",
    "domain": null,
    "id": 7596185,
    "ip": "168.100.162.13",
    "port": 28015,
    "query": 28013,
    "color": 0,
    "city": "Dallas",
    "description": "![Stillwater Shores PVE | PVP](https://i.imgur.com/3wMIhvx.png)\nWelcome To Stillwater Shores PVE | PVP!\r\nPlease read the full list of rules on our discord server: https://discord.gg/J563SWextP\r\n\r\n\\tRULES\r\n\\t• PVP or killing on site (KOS) is NOT ALLOWED unless you AND THE TARGET are\r\n\\tin a designated PVP Zone!\r\n\\t• Raiding anyone or anything is NOT ALLOWED unless you are in the Raid Zone!\r\n\\t• Looting anything that is not yours or looting a sleeper is NOT ALLOWED,\r\n\\t unless it is a decaying base, but do not kill anyone or break anything.\r\n\r\n\\tINFO\r\n\\t• This is a Vanilla, PVE and PVP Server!\r\n\\t\r\n\\tWIPE SCHEDULES\r\n\\t• Map and BPs wipe monthly with the Facepunch update\r\n\r\nRemember to have fun and stay Rusty!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780580623,
    "last_online": 1779996625,
    "icon": null,
    "name": "Stillwater Shores PVE | PVP",
    "connect": "168.100.162.13:28015",
    "request": "168.100.162.13:28013",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1739467244,
    "last_update": 1780580623,
    "banned": false,
    "wipe": 1778180761,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10364,
    "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/7596185");
$data = json_decode($json, true);
var_dump($data);