JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501940
json
{
  "response": {
    "fps": 235,
    "fps_avg": 235,
    "entities_count": 13543,
    "world_seed": 1337,
    "world_size": 2000,
    "steam_id": "90286576949821441",
    "domain": null,
    "id": 11501940,
    "ip": "46.174.55.42",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Moscow",
    "description": "СОВЕРШЕННО НОВЫЙ PVP ИГРОВОЙ РЕЖИМ! \n КАЖДЫЙ ВАЙП - ДЕНЕЖНЫЕ ПРИЗЫ! \n ЕЖЕНЕДЕЛЬНЫЙ Вайп каждую субботу в 14:00 (по МСК) \n ТУРНИР КАЖДЫЙ ВАЙП! \n NO LIMIT по количеству игроков! \n Активная администрация! \n Рейты х2! \n Улучшенный лут! \n Таблица лидеров! \n Награды за онлайн! \n Свои плагины! \n Российский хостинг! \n Контролируй сервер по-настоящему!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780625599,
    "last_online": 1780576235,
    "icon": null,
    "name": "MyArena.ru GameHosting",
    "connect": "46.174.55.42:28015",
    "request": "46.174.55.42:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207186,
    "last_update": 1780625599,
    "banned": false,
    "wipe": 1778432435,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10883,
    "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/11501940");
$data = json_decode($json, true);
var_dump($data);