JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10533760
json
{
  "response": {
    "fps": 43,
    "fps_avg": 45,
    "entities_count": 178900,
    "world_seed": 3636852079,
    "world_size": 4000,
    "steam_id": "90286733298252826",
    "domain": null,
    "id": 10533760,
    "ip": "212.22.93.128",
    "port": 28014,
    "query": 28015,
    "project_id": null,
    "color": 0,
    "city": "Moscow",
    "description": "![MAGIC WORLD #2 [NOLIMIT | VANILLA X2 | FRIDAY] 04.06](https://i.ibb.co/JRttZR2t/shapka-server2.png)\nЛимит игроков в команде: без лимита\r\n\r\nХарактеристики сервера:\r\n- Рейты добычи ресурсов Х2\r\n- Скорость крафта Х2\r\n- Магические карты\r\n- Мини-магазин\r\n- БОНУСЫ ЗА ИГРУ НА СЕРВЕРЕ КАЖДЫЙ ЧАС\r\n\r\n Вайп карты: каждую пятницу в 14:00 по мск\r\n Вайп рецептов: каждые две недели, начиная с первого вайпа",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780877054,
    "last_online": 1780906227,
    "icon": null,
    "name": "MAGIC WORLD #2 [NOLIMIT | VANILLA X2 | FRIDAY] 04.06",
    "connect": "212.22.93.128:28014",
    "request": "212.22.93.128:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1762518607,
    "last_update": 1780906227,
    "banned": false,
    "wipe": 1780660287,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2553,
    "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/10533760");
$data = json_decode($json, true);
var_dump($data);