JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/9928892
json
{
  "response": {
    "steam_id": "90285158262151169",
    "domain": null,
    "id": 9928892,
    "ip": "98.190.115.38",
    "port": 3724,
    "query": 27016,
    "color": 0,
    "city": "Tulsa",
    "description": null,
    "game": 366220,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777536210,
    "score": 0,
    "last_online": 1777553521,
    "icon": null,
    "name": "Subsistence (Survival, 0.5x/1.5x, New Oct)",
    "connect": "98.190.115.38:3724",
    "request": "98.190.115.38:27016",
    "map": "Subsistence",
    "gamemode": "Wurm Unlimited Server",
    "version": "1.0.0.0",
    "numplayers": 0,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1754077274,
    "last_update": 1777553521,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 47,
    "language": "en",
    "parked": false,
    "app": {
      "id": 155,
      "steam_id": 366220,
      "name": "Wurm Unlimited",
      "url": "wurm-unlimited"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/9928892");
$data = json_decode($json, true);
var_dump($data);