JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11189130
json
{
  "response": {
    "fps": 20,
    "fps_avg": 31,
    "entities_count": 48708,
    "world_seed": 982510533,
    "world_size": 3000,
    "steam_id": "90285144425207819",
    "domain": null,
    "id": 11189130,
    "ip": "85.239.55.193",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Moscow",
    "description": "![#1 Rust404 - МОСКОВСКИЙ](https://image.myrustserver.com/logo/rust404_69b58290be3aa.png)\n#1RUST404 - ванильный сервер с оптимизацией процесса игры и продуманной экономией времени игрока.\r\n\r\nХАЛЯВНАЯ ПРИВИЛЕГИЯ и другие бонусы в ТГК: @rust404 (без ru)\r\nТГК Новости, конкурсы, розыгрыши и баны недели - @rust404 (без ru на конце)\r\n\r\nПРАВИЛА СЕРВЕРА:\r\n-читерство бан\r\n-рмт бан\r\nа больше правил нет, оскорбления в адрес администрации приветствуются!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777502603,
    "score": 0,
    "last_online": 1777558222,
    "icon": null,
    "name": "#1 Rust404 - МОСКОВСКИЙ",
    "connect": "85.239.55.193:28015",
    "request": "85.239.55.193:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772699032,
    "last_update": 1777558222,
    "banned": false,
    "wipe": 1777477288,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4643,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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