JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7174598
json
{
  "response": {
    "fps": 93,
    "fps_avg": 92,
    "entities_count": 115378,
    "world_seed": 121315421,
    "world_size": 3800,
    "steam_id": "90286425511763981",
    "domain": null,
    "id": 7174598,
    "ip": "195.18.27.40",
    "port": 35100,
    "query": 35110,
    "color": 0,
    "city": "Moscow",
    "description": "![Trading-Rust x50-x100 Nolimite|Building|HARDPVP|FPS++](https://i.yapx.ru/aFHiG.png)\nTrading Rust x50-x100\r\n Сайт сервера - https://tradingrust.gamestores.app\r\n > Турели без электричества.\r\n >Еженедельный вайп без сброса чертежей\r\n >Ночная защита от рейда\r\n > Отсутствие лимита команды\r\n > Рейты х50-х100, Компоненты х25\r\n gm.link/u130999",
    "game": 252490,
    "owner": 130999,
    "boosts": 1,
    "last_offline": 1780108414,
    "last_online": 1780315218,
    "icon": null,
    "name": "GRAND RUST #1 [SOLO | X2 | FRIDAY] Wipe 29.05",
    "connect": "195.18.27.40:35100",
    "request": "195.18.27.40:35110",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 8,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 92,
    "add_date": 1736279718,
    "last_update": 1780315218,
    "banned": false,
    "wipe": 1780048796,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 216,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 12,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": {
      "username": "DeDoK_DEN",
      "avatar": "0d9f5233-913f-4569-b8dc-6b7329f00e63.jpg"
    },
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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