JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/11260915
json
{
  "response": {
    "fps": 32,
    "fps_avg": 34,
    "entities_count": 85934,
    "world_seed": 8675309,
    "world_size": 3000,
    "steam_id": "90286449362195464",
    "domain": null,
    "id": 11260915,
    "ip": "73.159.76.233",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Middleboro",
    "description": "![SOLO GOD'S SERVER](http://sologods.hopto.org/rust_header.png)\nThe Best SOLO Server on rust\r\nSolo only\r\nTeaming will get you kicked\r\n2nd violation BAN\r\n\r\nNext Wipe time: 2026-03-19T19:00:00\r\n\r\n\r\nNext 10 Wipe Dates:\r\n  0. 2026-03-19T19:00:00\r\n  1. 2026-03-26T19:00:00\r\n  2. 2026-04-02T19:00:00\r\n  3. 2026-04-09T19:00:00\r\n  4. 2026-04-16T19:00:00\r\n  5. 2026-04-23T19:00:00\r\n  6. 2026-04-30T19:00:00\r\n  7. 2026-05-07T19:00:00\r\n  8. 2026-05-14T19:00:00\r\n  9. 2026-05-21T19:00:00",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780217587,
    "last_online": 1780591234,
    "icon": null,
    "name": "Rust Gods & Legends |Solo|Duo|Trio|Quads|Clans Welcome",
    "connect": "73.159.76.233:28015",
    "request": "73.159.76.233:28017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 500,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1774555211,
    "last_update": 1780591234,
    "banned": false,
    "wipe": 1780001874,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4362,
    "language": "en",
    "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/11260915");
$data = json_decode($json, true);
var_dump($data);