JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11143191
json
{
  "response": {
    "steam_id": "85568392936077648",
    "domain": null,
    "id": 11143191,
    "ip": "185.248.101.227",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 300,
    "owner": 171996,
    "boosts": 1,
    "last_offline": 1775867518,
    "score": 5,
    "last_online": 1776219014,
    "icon": null,
    "name": "★ WAR ELITE ★ INTERNATIONAL ★",
    "connect": "185.248.101.227:27015",
    "request": "185.248.101.227:27015",
    "map": "3xi_trainmap",
    "gamemode": "Day of Defeat",
    "version": "9540945",
    "numplayers": 0,
    "maxplayers": 33,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1771442235,
    "last_update": 1776219014,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 8,
      "steam_id": 300,
      "name": "Day of Defeat: Source",
      "url": "day-of-defeat-source"
    },
    "server_owner": {
      "username": "waspik",
      "avatar": "d3bf73c3-16a0-4f02-bda8-6326df1f213f.jpg",
      "last_online": 1775476540
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

Codebeispiele

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