JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501812
json
{
  "response": {
    "fps": 36,
    "fps_avg": 40,
    "entities_count": 83068,
    "world_seed": 2128,
    "world_size": 3500,
    "steam_id": "90286311246099476",
    "domain": null,
    "id": 11501812,
    "ip": "81.106.11.138",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Sheffield",
    "description": "![WARBORN 3X SOLO/DUO PVE](https://i.ibb.co/wZCr68dP/512-2.jpg)\n⚡ WARBORN | Modded PvP & PvE Events ⚡\nWelcome to WARBORN, a war-torn wasteland where survivors battle for dominance and glory.\n💥 Features:\n• 3x Gather & Loot Rates• Raidable Bases & Custom Monuments\n• PvE Events (Bradley, Heli, Cargo, Convoy, Caravan)\n• Kits, Teleports, Clans, and Leaderboards\n• Active, fair admins and balanced economy\n \n🌍 Wipes: Map every Thursday @ 19:00 GMT | BP wipes biweekly\n🧠 Fight, farm, or explore — only the strongest survive.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780659212,
    "last_online": 1780152625,
    "icon": null,
    "name": "WARBORN 3X SOLO/DUO PVE",
    "connect": "81.106.11.138:28015",
    "request": "81.106.11.138:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207181,
    "last_update": 1780659212,
    "banned": false,
    "wipe": 1778493589,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10766,
    "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/11501812");
$data = json_decode($json, true);
var_dump($data);