JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11710942
json
{
  "response": {
    "fps": 162,
    "fps_avg": 185,
    "entities_count": 73268,
    "world_seed": 784512,
    "world_size": 3500,
    "steam_id": "90286580798743562",
    "domain": null,
    "id": 11710942,
    "ip": "157.85.91.13",
    "port": 27384,
    "query": 27385,
    "color": 0,
    "city": "Dallas",
    "description": "![Buzzard Games PvE](https://i.imgur.com/rR3IEeT.png)\nWelcome to Buzzard Games PvE  A New PvE Community  --- BASIC RULES --- 1. NO RAIDING OR GRIEFING: This is a strictly PVE environment. 2. NO STEALING: Respect player property and loot. 3. NO KOS: No player-vs-player combat allowed. 4. BE RESPECTFUL: No toxic behavior, racism, or harassment.  --- SERVER MODS --- * INCREASED HARVEST: Gather resources at a boosted rate! * BOOSTED LOOT: Enhanced loot tables in all crates. * PVE FOCUSED: Safe environment for building and exploring.  --- JOIN OUR COMMUNITY --- Join Discord for full rules, events, and support: https://discord.gg/2mYQAJnJPA,",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780597404,
    "last_online": 1780559425,
    "icon": null,
    "name": "Buzzard Games PvE",
    "connect": "157.85.91.13:27384",
    "request": "157.85.91.13:27385",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 25,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1780300742,
    "last_update": 1780597404,
    "banned": false,
    "wipe": 1778790765,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12750,
    "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/11710942");
$data = json_decode($json, true);
var_dump($data);