JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11435636
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 85363,
    "world_seed": 492613457,
    "world_size": 3500,
    "steam_id": "90286737827092490",
    "domain": null,
    "id": 11435636,
    "ip": "185.97.255.43",
    "port": 28043,
    "query": 27596,
    "project_id": null,
    "color": 0,
    "city": "St Petersburg",
    "description": "BM-RUST | Semi Classic | PvP | 3000 \r\n Рейты 1.5: дерево сера 1.5, ткань 2.5 \r\n Печи x1.5, Карьеры x2, Ночь 5 мин \r\n Ящики без мусора, кастомный лут \r\n Донат https://sparkrust.gamestores.app /, автовыдача \r\n IP: 185.97.255.43:28043",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780596862,
    "last_online": 1780915832,
    "icon": null,
    "name": "BM RUST|Small Map|Для Новичков|X1.5",
    "connect": "185.97.255.43:28043",
    "request": "185.97.255.43:27596",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 2,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774977196,
    "last_update": 1780915832,
    "banned": false,
    "wipe": 1780664293,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4587,
    "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/11435636");
$data = json_decode($json, true);
var_dump($data);