JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/1204602
json
{
  "response": {
    "fps": 29,
    "fps_avg": 28,
    "entities_count": 84818,
    "world_seed": 1,
    "world_size": 3300,
    "steam_id": "90286551350394887",
    "domain": null,
    "id": 1204602,
    "ip": "104.129.132.49",
    "port": 28129,
    "query": 28126,
    "color": 0,
    "city": "Dallas",
    "description": "![The Working Class | 2X | Solo Only | Raid Hours | Wiped 5/28 |](https://www.dropbox.com/scl/fi/qghb20yi2pz52jv2v7qpi/weeklyheader5121.png?rlkey=slwdrfrivs6bn1mjg09fhyxly&dl=1)\nWant to have a life and play Rust? Are you stuck at work knowing that some little punk is off-lining you? Does your wife, husband, or partner hate this game?\n\nThis server is aimed at those of us who can't dedicate their lives to Rust. \n- Raiding is only allowed between 6PM-12AM EST (7PM-1AM AST).\n- Tier 1 and Elec BPs Unlocked\n- Reduced upkeep, Safe Zone Recyclers Etc. Check /info in game!\n- Weekly map wipes, and Monthly BP wipes (On Force Wipe).\n- No pay2win kits or plugins, everyone has the same access.\n- Custom generated maps.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780394654,
    "last_online": 1780563636,
    "icon": null,
    "name": "The Working Class | 2X | Solo Only | Raid Hours | Wiped 5/28 |",
    "connect": "104.129.132.49:28129",
    "request": "104.129.132.49:28126",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1691954559,
    "last_update": 1780563636,
    "banned": false,
    "wipe": 1779991537,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1897,
    "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/1204602");
$data = json_decode($json, true);
var_dump($data);