JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/11502326
json
{
  "response": {
    "fps": 117,
    "fps_avg": 107,
    "entities_count": 72362,
    "world_seed": 164898,
    "world_size": 3500,
    "steam_id": "90286379842549774",
    "domain": null,
    "id": 11502326,
    "ip": "66.179.9.154",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Toronto",
    "description": "![ANGRY BEAVER - 2X - PVP/PVE](https://www.xphox.net/rust/ANGRY_BEAVER_SMALL.png)\nANGRY BEAVER - 2X - PvP/PvE\r\n\r\nTHE MAP\r\n- NORTH HALF = PvE. Build, farm, explore in peace. No player damage.\r\n- SOUTH HALF = PvP. Vanilla rules. Raid anyone, any time.\r\n- ALL MONUMENTS (Airfield, Launch Site, Military Tunnel, etc.) = PvP\r\n  inside, even on the PvE side. Step in = fair game.\r\n- SAFE ZONES (Outpost, Bandit Camp, Fishing Villages) = Vanilla rules.\r\n\r\nPEACEFUL PVE\r\n- Road Scientists, Heavy Scientists, Patrol Helicopter, and Bradley APC\r\n  ignore you in PvE territory. Animals don't aggro you in PvE either.\r\n\r\nYOUR BASE - RAID WINDOW (PvE Only)\r\n- Each PvE base has a 4-hour daily window when it can be raided.\r\n- Default: 8:00 PM to Midnight, US Eastern Time.\r\n- TO CHANGE IT: Place a TC, press E on it, the Raid Window panel\r\n  opens beside the cupboard. Pick your hour, minute, and timezone.\r\n  Click APPLY. 48-hour cooldown before you can change again.\r\n- Outside your window: Base is fully invulnerable.\r\n- Inside your window: Attackers can damage walls and loot.\r\n- If a raid is in progress when the window closes, it continues\r\n  until 10 minutes pass with no damage. Within 15 meters of a base\r\n  under active raid, PvP is enabled.\r\n\r\nGOOD TO KNOW\r\n- A 4-meter no-build strip runs along the PvE/PvP border.\r\n- 2x everything: gather, stack sizes, container loot (crates/barrels/airdrops).\r\n- Worldsize 3500. Biweekly wipes (Thursday 8 PM UTC).\r\n\r\nHave fun. Don't grief. Bugs/feedback in Discord.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780092766,
    "last_online": 1780563630,
    "icon": null,
    "name": "ANGRY BEAVER - 2X - PVP/PVE",
    "connect": "66.179.9.154:28015",
    "request": "66.179.9.154:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207197,
    "last_update": 1780563630,
    "banned": false,
    "wipe": 1780000973,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4925,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Code examples

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