JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/10764189
json
{
  "response": {
    "fps": 120,
    "fps_avg": 119,
    "entities_count": 90232,
    "world_seed": 665926170,
    "world_size": 4000,
    "steam_id": "90286619154770956",
    "domain": null,
    "id": 10764189,
    "ip": "136.243.70.50",
    "port": 28025,
    "query": 28027,
    "project_id": null,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[EU]Gentle Rust Softcore  Monthly  25% Upkeep](https://images.mein-mmo.de/magazin/medien/2016/12/Rust-Dark-Skined-miner-1024x503.jpg)\nLooking for a relaxed Rust experience with fair combat and freedom to build? You found the right spot!\r\n\r\n• True Vanilla with Softcore: The real Rust feeling, but with a softer edge.\r\n• Low Upkeep: Build bigger, and your bases last longer.\r\n• Massive 4000 Map: Plenty of room for large-scale building and exploration.\r\n• No Heli Decay Inside: Your loot is safe inside your base.\r\n• Crates in 5 Minutes: Hackable Crate timer reduced to 5 min for a faster action loop.\r\n\r\n• Monthly Map Wipes: For relaxed and safe Wipes.\r\n• Pure Rust: No kits, no TP, no shop – skill is all that matters.\r\n• Increased Limits: 20 Sleeping Bags and 20 Map Markers per player.\r\n\r\n• Fair Play & Active Moderation: A growing community.\r\n\r\nJoin us and survive the island your way!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780693397,
    "last_online": 1780642229,
    "icon": null,
    "name": "[EU]Gentle Rust Softcore  Monthly  25% Upkeep",
    "connect": "136.243.70.50:28025",
    "request": "136.243.70.50:28027",
    "map": "Procedural Map",
    "gamemode": "Softcore",
    "version": "2627",
    "numplayers": 0,
    "maxplayers": 70,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1766261031,
    "last_update": 1780693397,
    "banned": false,
    "wipe": 1780597163,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 10010,
    "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/10764189");
$data = json_decode($json, true);
var_dump($data);