JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11159201
json
{
  "response": {
    "fps": 131,
    "fps_avg": 123,
    "entities_count": 117834,
    "world_seed": 1910550662,
    "world_size": 4500,
    "steam_id": 90286577347653650,
    "domain": null,
    "id": 11159201,
    "ip": "195.18.27.77",
    "port": 35400,
    "query": 35410,
    "color": 0,
    "city": "Moscow",
    "description": "![MANGO RUST X2 | VANILLA+ | NEW | WIPE 27.05 | NOOB FRIENDLY](https://pic.survivalhost.org/images/2026/05/15/409a14d3-8b69-42bb-bc9c-1101d1c140f2.md.png)\nx2 рейты\r\nx2 стаки\r\nбыстрые печи\r\nдроны в рыбацких деревнях\r\nустрицы\r\nактивная администрация\r\nрасход шкафа -50%\r\nнет лимита на продажу цветов\r\nвайп каждые 2 недели\r\nрестарт в 05:00 МСК",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779868405,
    "last_online": 1780579233,
    "icon": null,
    "name": "MANGO RUST X2 | VANILLA+ | NEW | WIPE 27.05 | NOOB FRIENDLY",
    "connect": "195.18.27.77:35400",
    "request": "195.18.27.77:35410",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 2,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228124,
    "last_update": 1780579233,
    "banned": false,
    "wipe": 1779868867,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4230,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 252490,
      "steam_id": 252490,
      "name": "Rust",
      "url": "rust"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11159201");
$data = json_decode($json, true);
var_dump($data);