JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/4220832
json
{
  "response": {
    "fps": 53,
    "fps_avg": 56,
    "entities_count": 241823,
    "world_seed": 1337,
    "world_size": 5376,
    "steam_id": "90286717634915343",
    "domain": null,
    "id": 4220832,
    "ip": "168.100.163.3",
    "port": 28015,
    "query": 28017,
    "project_id": null,
    "color": 0,
    "city": "Dallas",
    "description": "![ZOMBZ 10X PVE | UGLY FACE = FREE LOOT | NO KILL & LOSS | QOL KI](https://zombz.com/maps/ZombzHeader.png)\n• PVE with PVP Zones & Events • Raidable Bases\n• Purge 24h before wipe • Armed NPCs and Bosses • Home/Warp\n• Skinbox • Remover Tool • Kits\n• Shop • Backpacks • Fast Smelting • InstaCraft\n• Personal Vehicles • Events • Giveaways\n• Most Vehicles don't need fuel\n• Personal Recyclers • Test Generators and Much More!!\n• Join the Community! https://discord.gg/zombz",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780600466,
    "last_online": 1780907424,
    "icon": null,
    "name": "ZOMBZ 10X PVE | UGLY FACE = FREE LOOT | NO KILL & LOSS | QOL KI",
    "connect": "168.100.163.3:28015",
    "request": "168.100.163.3:28017",
    "map": "DISCORD.GG/ZOMBZ",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 6,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 67,
    "add_date": 1715198827,
    "last_update": 1780907424,
    "banned": false,
    "wipe": 1780600921,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 783,
    "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/4220832");
$data = json_decode($json, true);
var_dump($data);