JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11607103
json
{
  "response": {
    "fps": 47,
    "fps_avg": 45,
    "entities_count": 65738,
    "world_seed": 1337,
    "world_size": 6000,
    "steam_id": "90286628319323160",
    "domain": null,
    "id": 11607103,
    "ip": "73.164.18.155",
    "port": 30116,
    "query": 30118,
    "project_id": null,
    "color": 0,
    "city": "Minneapolis",
    "description": "![Cobalt City](https://www.dropbox.com/scl/fi/8jipkwig3n9q1lqyviy6b/cobalt-server-banner.png?rlkey=5ws8i2fd1f34tkj4s7k8445c0&st=i5x9zzd3&dl=1)\nPOWERED BY RamFusion.com \r\nMangoBump's Cobalt City\r\n Vanilla Survival in a heavy urban environment\r\n Free car and kits\r\n Wipes on 6/18 \r\n PVP Survival Vanilla with PVE",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780607655,
    "last_online": 1780688438,
    "icon": null,
    "name": "Cobalt City",
    "connect": "73.164.18.155:30116",
    "request": "73.164.18.155:30118",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779915494,
    "last_update": 1780688438,
    "banned": false,
    "wipe": 1780607942,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5427,
    "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/11607103");
$data = json_decode($json, true);
var_dump($data);