JSON for programs, websites and more

text
https://api.gamemonitoring.net/servers/1031104
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 81605,
    "world_seed": 1,
    "world_size": 3650,
    "steam_id": "90286582388641823",
    "domain": null,
    "id": 1031104,
    "ip": "64.40.9.99",
    "port": 28059,
    "query": 28056,
    "color": 0,
    "city": "London",
    "description": "![[EU] VisionRust - Solo Monthly Vanilla](https://i.imgur.com/7CDoOHE.png)\nSOLO ONLY (Max Team 1) | Monthly Force Wipe (First Thursday)\r\n\r\nRules\r\n- No teaming, roaming, or raiding with others.\r\n- No base sharing, code sharing, or loot handouts.\r\n- Don’t assist other bases or counter as a 'duo'.\r\n- Keep doors locked if quitting the wipe — no giveaways.\r\n\r\nInfo\r\n- EU location — Chill PvP — Active moderation\r\n- Discord: https://discord.gg/dakZvFks7P | Website: https://tirust.fun\r\n\r\nTips\r\n- Use /link in chat to connect Discord.\r\n- Report cheats with F7 or rule breaks with /report <player> <reason>.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779502413,
    "last_online": 1780587218,
    "icon": null,
    "name": "[EU] VisionRust - Solo Monthly Vanilla",
    "connect": "64.40.9.99:28059",
    "request": "64.40.9.99:28056",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 160,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1688487250,
    "last_update": 1780587218,
    "banned": false,
    "wipe": 1778177050,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2641,
    "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/1031104");
$data = json_decode($json, true);
var_dump($data);