JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7596163
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 7596163,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"pn4y52s2n\",\"type\":\"image\",\"data\":{\"caption\":\"DOGFIGHT | BOW FFA/MAZE/ROAM/SCRIM/SHOPFRONT/HELI/MINI/KIT/PVP/AIMTRAIN TARGETS\",\"withBorder\":true,\"withBackground\":false,\"stretched\":false,\"file\":{\"url\":\"https://i.postimg.cc/7ZYf531D/dogfight-banner.jpg\"}}},{\"id\":\"b2aurh0eq\",\"type\":\"paragraph\",\"data\":{\"text\":\"DOGFIGHT — The Best Attack Helicopter server in Rust\\n\\n You need our help? Join - discord.gg/dogfight \\n\\n\\n\\n — Мейз | Maze\\n\\n — Роумс | Roams\\n\\n — Таргетс | Targets\\n\\n — ФФА Луки | Prim FFA\\n\\n — ПвП Гарпуны | Speargun PvP\\n\\n — Шопфронт | Shopfront\\n\\n — Вертолеты/Матчмейкинг | Helicopters/Matchmaking\\n\\n — ФПВ Дроны | FPV Drones\\n\\n — Рецепты | No BPs\\n\\n — Стаки | Increased stacks\\n\\n — Кланы | Clans\"}}]",
    "game": 252490,
    "owner": 82220,
    "boosts": 1,
    "last_offline": 1753435597,
    "last_online": 1749654623,
    "icon": null,
    "name": "Name is not set on server",
    "connect": null,
    "request": null,
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": null,
    "numplayers": 0,
    "maxplayers": 180,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "PL",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1739467197,
    "last_update": 1753435597,
    "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": 8360,
    "language": "pl",
    "parked": true,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "ANDRIEV",
      "avatar": "f3b1d308-da57-47fa-a89f-1e43b410705a.jpg",
      "last_online": 1744811056
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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