JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11606731
json
{
  "response": {
    "fps": 231,
    "fps_avg": 233,
    "entities_count": 23513,
    "world_seed": 375731289,
    "world_size": 2500,
    "steam_id": "90286276357657629",
    "domain": null,
    "id": 11606731,
    "ip": "65.108.237.157",
    "port": 60401,
    "query": 60403,
    "color": 0,
    "city": "Helsinki",
    "description": "![(PVE) ALSTA[R]UST - RED max3/x2[Wiped: 16-05]](https://gspics.org/images/2021/09/26/0c7sQh.png)\nInformation about the server \r\n Wipe on Friday at 06:00 GMT+1 \r\n • Resource gathering: x2 \r\n • Map: Procedural 4500 \r\n • Resource stacks: 25000 \r\n • Players per team: 3 \r\n • Starter kits \r\n • Kits with additional privileges \r\n • Trade system /trade \r\n • Instant crafting \r\n • Building removal \r\n • Home teleportation \r\n • In-game store \r\n • A large variety of unique items \r\n • More details in chat /info \r\n\r\n\r\n https://alstarust.com\r\n https://vk.com/alstarust \r\n discord.gg/ZrGBVW2ryg Информация о сервере \r\n Вайп в пятницу в 06:00 GMT+1 \r\n • Добыча ресурсов: х2 \r\n • Карта: Procedural 4500 \r\n • Стаки ресурсов: 25000 \r\n • Кол-во игроков в одной команде: 3 \r\n • Стартовые киты \r\n • Киты с доп привелегиями \r\n • Система торговли /trade \r\n • Моментальный крафт \r\n • Ремув построек \r\n • Телепортация домой \r\n • Внутриигровой магазин\r\n • Большое количество уникальных предметов\r\n • Подробней в чат /info \r\n\r\n\r\n https://alstarust.com\r\n https://vk.com/alstarust \r\n discord.gg/ZrGBVW2ryg",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780633406,
    "last_online": 1779955223,
    "icon": null,
    "name": "(PVE) ALSTA[R]UST - RED max3/x2[Wiped: 16-05]",
    "connect": "65.108.237.157:60401",
    "request": "65.108.237.157:60403",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779915480,
    "last_update": 1780633406,
    "banned": false,
    "wipe": 1778948545,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11789,
    "language": "fi",
    "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/11606731");
$data = json_decode($json, true);
var_dump($data);