JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10571432
json
{
  "response": {
    "fps": 485,
    "fps_avg": 494,
    "entities_count": 119051,
    "world_seed": 1337,
    "world_size": 3800,
    "steam_id": "90286789831564291",
    "domain": null,
    "id": 10571432,
    "ip": "5.141.88.140",
    "port": 20107,
    "query": 20108,
    "project_id": null,
    "color": 0,
    "city": "Shirokaya Rechka",
    "description": "![X1000000|ONLYPVP|X1000000000000000000|FUN|FPS++](https://panel.ptero-q.ru/extensions/resourcemanager/uploads/ddffh_AvfaEz89.png)\n★ Рейты X1000000 \r\n ★ Киты \r\n ★ Бесплатный коптер \r\n ★ Турели без электричества \r\n ★ Улучшенный лут \r\n ★ Турниры",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780662260,
    "last_online": 1781002829,
    "icon": null,
    "name": "X1000000|ONLYPVP|X1000000000000000000|FUN|FPS++",
    "connect": "5.141.88.140:20107",
    "request": "5.141.88.140:20108",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 5,
    "maxplayers": 500,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1762847071,
    "last_update": 1781002829,
    "banned": false,
    "wipe": 1780686359,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2671,
    "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/10571432");
$data = json_decode($json, true);
var_dump($data);