JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11511370
json
{
  "response": {
    "fps": 20,
    "fps_avg": 20,
    "entities_count": 9766,
    "world_seed": 1187334143,
    "world_size": 1250,
    "steam_id": "90286461886448644",
    "domain": null,
    "id": 11511370,
    "ip": "185.206.151.148",
    "port": 27170,
    "query": 27176,
    "color": 0,
    "city": "Solihull",
    "description": "★ CRAFTGAMES HOSTING ★\r\n[EU] Random Items #1\r\n\r\nEvery action = CHAOS! Can you survive when all your loot is random?\r\n\r\n• Random Loot in every crate, corpse & drop\r\n• Military-only Airdrops (guns + ammo + explosives)\r\n• Custom Map (Riverrun Isle)\r\n• Raidable Bases\r\n• 3-second Crafting + 90% Recyclers\r\n• Deployable Recyclers - place one in your base!\r\n• All Vehicles work without engine parts\r\n• All Workbenches unlocked from day 1\r\n• Low Latency (EU)\r\n\r\n• Team Limit: Solo / Duo / Trio\r\n• Wipe: 1st of every month\r\n• 100% Fair Play - NO pay-to-win, NO shop!\r\n\r\nGood luck, have fun, try not to die!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780599810,
    "last_online": 1780351234,
    "icon": null,
    "name": "[EU] CraftGames Random Items [Next Wipe 01.06.2026]",
    "connect": "185.206.151.148:27170",
    "request": "185.206.151.148:27176",
    "map": "Custom 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": 1779353842,
    "last_update": 1780599810,
    "banned": false,
    "wipe": 1778254291,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11463,
    "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/11511370");
$data = json_decode($json, true);
var_dump($data);