JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/754670
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 754670,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "Сервер [EU] TMW RUST [Loot x2] [Team x4] для Rust версии 2370.\nРасположен в стране Германия.\nПодключение к серверу: 142.132.144.177:28238.\nНа данный момент сервер Онлайн, текущая карта Procedural Map.\nНовый сервер RUST.\nАдекватная администрация.\nКачественный подход к делу.",
    "game": 252490,
    "owner": 33394,
    "boosts": 1,
    "last_offline": 1750457067,
    "last_online": 1686740463,
    "icon": null,
    "name": "![WIPE 16.04] TMW RUST [Loot x2] [MAX4]!",
    "connect": null,
    "request": null,
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 0,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1677393292,
    "last_update": 1750457067,
    "banned": false,
    "wipe": 1685927917,
    "official": false,
    "wipe_period": "weekly",
    "next_wipe": 1686532717,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12972,
    "language": "de",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "ArtemTemow",
      "avatar": "9f3a4ce4-ed16-4ee6-bedd-4326eb6fa16e.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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