JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11305913
json
{
  "response": {
    "fps": 60,
    "fps_avg": 60,
    "entities_count": 95229,
    "world_seed": 225714458,
    "world_size": 4050,
    "steam_id": "90286590836411393",
    "domain": null,
    "id": 11305913,
    "ip": "66.51.99.47",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![BNW Utopia PVE|RaidableBases|Events|Up to 2.5x|Jetpack](https://cdn.shopify.com/s/files/1/0698/8146/2921/files/BNW-Green-Utopia.png?v=1771283229)\nBrave New World - Utopia Easy Mode PVE • Vanilla NPC health and damage• No hordes  Relaxed survival experience • Events provide extra challenge  Custom PVE • Progression •80+ Plugins   RaidableBases • Convoy • Skill Tree up to 2.5x • Jetpacks • Safe Vehicles  and many quality-of-life improvements.  Join us and explore this Brave New World.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780433056,
    "last_online": 1780575635,
    "icon": null,
    "name": "BNW Utopia PVE|RaidableBases|Events|Up to 2.5x|Jetpack",
    "connect": "66.51.99.47:28015",
    "request": "66.51.99.47:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774592904,
    "last_update": 1780575635,
    "banned": false,
    "wipe": 1778180848,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4547,
    "language": "en",
    "parked": false,
    "app": {
      "id": 252490,
      "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/11305913");
$data = json_decode($json, true);
var_dump($data);