JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11756808
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 25964,
    "world_seed": 1337,
    "world_size": 2500,
    "steam_id": "90286693096391692",
    "domain": null,
    "id": 11756808,
    "ip": "77.94.203.3",
    "port": 28015,
    "query": 28016,
    "project_id": null,
    "color": 0,
    "city": "Saratov",
    "description": "[{\"id\":\"sIkpzo06K3\",\"type\":\"paragraph\",\"data\":{\"text\":\"Лутший проект раст  с онлайн овнером и админами с МАТЬ ЕГО оптимизацией\"}}]",
    "game": 252490,
    "owner": 199218,
    "boosts": 1,
    "last_offline": 1780779862,
    "last_online": 1780804817,
    "icon": null,
    "name": "Slime Rust x2",
    "connect": "77.94.203.3:28015",
    "request": "77.94.203.3:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 4,
    "points": 94,
    "add_date": 1780779154,
    "last_update": 1780804817,
    "banned": false,
    "wipe": 1780655988,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 198,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "bdaas__slime_rustx2",
      "avatar": "219893ad-3a83-4815-90fd-9bec4c5c96ed.webp"
    },
    "mods": [
      {
        "id": 979,
        "name": "Kits"
      },
      {
        "id": 1431,
        "name": "Teleportation"
      }
    ],
    "disabled_modules": []
  }
}

Codebeispiele

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