JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11126961
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11126961,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"xsFRdtpqGA\",\"type\":\"paragraph\",\"data\":{\"text\":\"Exo Sphere — это сервер, посвященный PVP-дуэлям 1 vs 1!\\n\"}},{\"id\":\"uXSM6aWuMn\",\"type\":\"paragraph\",\"data\":{\"text\":\"На сервере\"}},{\"id\":\"omdR4RGOud\",\"type\":\"paragraph\",\"data\":{\"text\":\"- Кастомные PvP-дуэли: Перед каждым боем доступна система закупки. Выбирайте стратегию и формируйте идеальный набор перед выходом на арену.\"}},{\"id\":\"Q58HUfb5wq\",\"type\":\"paragraph\",\"data\":{\"text\":\"- Арены: Каждый новый ранг открывает доступ к новым, более сложным и зрелищным аренам.\"}},{\"id\":\"2ARDtGxPcg\",\"type\":\"paragraph\",\"data\":{\"text\":\"- Система кейсов: Открывайте кейсы, чтобы получать разнообразное снаряжение: новое оружие, броню для ваших сражений.\"}},{\"id\":\"bP6rSmO-7u\",\"type\":\"paragraph\",\"data\":{\"text\":\"Присоединяйтесь к серверу и получите Стартовый PvP-набор, а также 3 бесплатных кейса!\"}}]",
    "game": 9000061,
    "owner": 165356,
    "boosts": 1,
    "last_offline": 1772431255,
    "score": 0,
    "last_online": 1771500012,
    "icon": null,
    "name": "Exo Sphere",
    "connect": null,
    "request": null,
    "map": null,
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1770119829,
    "last_update": 1772431255,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 3,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 269,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 1665415,
      "steam_id": 9000061,
      "name": "Hytale",
      "url": "hytale"
    },
    "server_owner": {
      "username": "vlavi",
      "avatar": "4da0299b-935a-4060-bb19-17329567052e.jpg",
      "last_online": 1770120504
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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