JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/10870078
json
{
  "response": {
    "fps": 60,
    "fps_avg": 59,
    "entities_count": 116073,
    "world_seed": 1337,
    "world_size": 4000,
    "steam_id": "90286613303614465",
    "domain": null,
    "id": 10870078,
    "ip": "176.9.63.179",
    "port": 28000,
    "query": 28001,
    "color": 0,
    "city": "Falkenstein",
    "description": "![GrubLand - EU 3X Weekly - Offline Protected](https://i.postimg.cc/sD1knP3h/Chat-GPT-Image-May-6-2026-11-22-34-AM.png)\nWelcome to GrubLand 3X Weekly\r\n- Offline raids are disabled, giving protection to offline bases for 24 hours\r\n- 3x Gather Rates\r\n- 3x Crafting Speed\r\n- 3x Components and Scrap\r\n- Trade & Teleport\r\n- Recyclers at additional monuments\r\n- Custom High Performance Maps\r\n- Extended Workbench range\r\n- Free Custom SkilBox\r\n- Free sorter button with custom filter \r\n- Free Base Upgrades From TC\r\n- Long Days & Short Nights\r\n- Kits\r\n- Active Staff\r\n\r\nThis server wipes weekly on Friday",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780359251,
    "last_online": 1780624828,
    "icon": null,
    "name": "GrubLand - EU 3X Weekly - Offline Protected",
    "connect": "176.9.63.179:28000",
    "request": "176.9.63.179:28001",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1768318388,
    "last_update": 1780624828,
    "banned": false,
    "wipe": 1780596380,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3808,
    "language": "de",
    "parked": false,
    "app": {
      "id": 12,
      "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/10870078");
$data = json_decode($json, true);
var_dump($data);