JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11511759
json
{
  "response": {
    "fps": 50,
    "fps_avg": 49,
    "entities_count": 63030,
    "world_seed": 1746873934,
    "world_size": 3500,
    "steam_id": "90286604856688659",
    "domain": null,
    "id": 11511759,
    "ip": "104.129.132.29",
    "port": 28015,
    "query": 28013,
    "color": 0,
    "city": "Dallas",
    "description": "![SF ThirtyTwo-3x PvP | AC130 | SFAI | DroneFighter](https://i.imgur.com/Bm0vuQy.png)\nSF ThirtyTwo 3x is a PvPvE server with a curated combat stack you won't find anywhere else. Hostile DRONES sky-drop from 600 meters in a streaming fireball trail and sweep the map looking for you — Scouts buzz fast and light, Hunters track you for 50 meters with rifles, and Heavy gunships fire homing rockets at 95-meter range. Above them, an AC-130 GUNSHIP circles map-wide at altitude, banking left to fire long-range AutoTurrets and rocket volleys at any unlucky player it locks.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780598666,
    "last_online": 1780647629,
    "icon": null,
    "name": "SF ThirtyTwo-3x PvP | AC130 | SFAI | DroneFighter",
    "connect": "104.129.132.29:28015",
    "request": "104.129.132.29:28013",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 300,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779353864,
    "last_update": 1780647629,
    "banned": false,
    "wipe": 1780598672,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4954,
    "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/11511759");
$data = json_decode($json, true);
var_dump($data);