JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8781893
json
{
  "response": {
    "fps": 266,
    "fps_avg": 265,
    "entities_count": 91312,
    "world_seed": 551724276,
    "world_size": 3500,
    "steam_id": "90286618416685057",
    "domain": null,
    "id": 8781893,
    "ip": "37.230.162.30",
    "port": 10000,
    "query": 10001,
    "color": 0,
    "city": "Moscow",
    "description": "![B4 SOLO [X2 | TP | KITS | LOOT+]   #bear](https://cdn.bxrust.ru/b4.png)\nДорогой друг! Мы рады приветствовать тебя на широтах нашего сервера!\n\nСкорость добычи ресурсов x2 (+100%)\nДля соло игроков\nДополнительные переработчики в деревнях\nПродвинутая торговля, вывод батареек на деньги\nБесплатное оповещение о рейде",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780257846,
    "last_online": 1780672232,
    "icon": null,
    "name": "B4 SOLO [X2 | TP | KITS | LOOT+]   #bear",
    "connect": "37.230.162.30:10000",
    "request": "37.230.162.30:10001",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 3,
    "maxplayers": 250,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1746007803,
    "last_update": 1780672232,
    "banned": false,
    "wipe": 1780601353,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3722,
    "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/8781893");
$data = json_decode($json, true);
var_dump($data);