JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11511110
json
{
  "response": {
    "fps": 28,
    "fps_avg": 26,
    "entities_count": 71018,
    "world_seed": 549266,
    "world_size": 3500,
    "steam_id": "90286227275096095",
    "domain": null,
    "id": 11511110,
    "ip": "51.254.134.250",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Roubaix",
    "description": "![ZERO-G RUST x2 SHOP & KITS • MONTHLY • TOXIC ZOMBIES](https://files.catbox.moe/nmktze.png)\nZERO-G RUST x2 - Shop & Kits - Monthly - Toxic Zombies\r\n\r\nBienvenido a la nueva era Modded de Zero-G. Supervivencia x2 amplificada, tienda in-game y noches invadidas por horrores radiactivos.\r\n\r\n⚙️ CARACTERÍSTICAS DEL SERVIDOR:\r\n• Recoleccion y Loot Global x2\r\n• Wipe Mensual (Jueves 20:00 CEST)\r\n• Kits Custom, VIPs y Vehiculos\r\n• Noches Infestadas de Zombies PvE\r\n• Bases Raideables NPC Automáticas\r\n• Tienda Virtual In-Game (/shop) activa\r\n• Máximo Grupo de 4 (No alianzas)\r\n\r\n📢 Discord: discord.gg/fwzVWj3RgE\r\n🌐 Tienda & Estadisticas: zero-g.website\r\n🔴 CERO TOLERANCIA HACKS: Active Admin Radar",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779353838,
    "last_online": 1780583440,
    "icon": null,
    "name": "ZERO-G RUST x2 SHOP & KITS • MONTHLY • TOXIC ZOMBIES",
    "connect": "51.254.134.250:28015",
    "request": "51.254.134.250:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353838,
    "last_update": 1780583440,
    "banned": false,
    "wipe": 1778193101,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5127,
    "language": "fr",
    "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/11511110");
$data = json_decode($json, true);
var_dump($data);