JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11698881
json
{
  "response": {
    "fps": 92,
    "fps_avg": 96,
    "entities_count": 104471,
    "world_seed": 167789117,
    "world_size": 4250,
    "steam_id": "90286381083799582",
    "domain": null,
    "id": 11698881,
    "ip": "50.125.207.172",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Mount Vernon",
    "description": "![SeattleProcedural. Solo/Duo](https://uploads.visitseattle.org/2016/03/16131644/seattle-rainier1-940x485.jpg)\nWiped: May 7th 2026. Next wipe: June 4th 2026.\r\nOwner: RexIsGod. One Rule: Solo/Duo ONLY!!!\r\nServer Discord https://discord.gg/ZpqaKhXjkn \r\nA medium Pop Proceedural Server.\r\nNo Decay. Vanilla.\r\nMaterials given out on wipe day and randomly afterward. If you're playing in a group of 3 or more, admin will kick you and your base will be destroyed.\r\nCaught someone cheating or not following the One Rule? Send info to [email protected]",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780227279,
    "last_online": 1780562428,
    "icon": null,
    "name": "SeattleProcedural. Solo/Duo",
    "connect": "50.125.207.172:28015",
    "request": "50.125.207.172:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 65,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780227279,
    "last_update": 1780562428,
    "banned": false,
    "wipe": 1778178989,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6014,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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