JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/5537723
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 5537723,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": null,
    "description": "[{\"id\":\"deVoWoD23x\",\"type\":\"paragraph\",\"data\":{\"text\":\"CRAZYPUB — это качественный игровой проект с высоким онлайном, отзывчивой администрацией и приятной атмосферой.\"}},{\"id\":\"Oe2uWaFEcm\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сайт проекта: https://crazypub.ru/\\nГруппа VK проекта: https://vk.com/csgocrazypublics\\nДискорд проект: dsc.gg/crazypub\"}},{\"id\":\"UqtHb8UtVM\",\"type\":\"paragraph\",\"data\":{\"text\":\"1. PUBLIC | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.85.52:27015\\n2. PUBLIC #2 | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.51:27015\\n3. AWP | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.85.52:27016\\n4. MIRAGE | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.51:27025\\n5. PUBLIC-FPS | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.51:27055\\n6. STANDOFF | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.93.45:27050\\n7. PUBLIC-BHOP | CRAZYPUB.RU | CS2 | !viptest, скины\\nIP - 212.22.85.48:27016\\n8. MiniGame | CRAZYPUB.RU | CS2 | !equip, !models\\nIP - 212.22.85.48:27015\\n9. PUBLIC | CRAZYPUB.RU | CS:GO | !viptest, скины\\nIP - 46.174.52.185:27015\"}}]",
    "game": 730,
    "owner": 50967,
    "boosts": 1,
    "last_offline": 1750457066,
    "score": 0,
    "last_online": 1740884425,
    "icon": null,
    "name": "⚫️ AWP | CRAZYPUB.RU | CS2 | 14+ !free",
    "connect": null,
    "request": null,
    "map": "awp_lego_2",
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 21,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1723107031,
    "last_update": 1750457066,
    "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": 12809,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 2,
      "steam_id": 730,
      "name": "Counter-Strike 2",
      "url": "counter-strike-2"
    },
    "server_owner": {
      "username": "ABKAMM",
      "avatar": "e0ff468b-b406-4375-8fcf-bbe9daf37528.jpg",
      "last_online": 1723212815
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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