JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501295
json
{
  "response": {
    "fps": 206,
    "fps_avg": 203,
    "entities_count": 71378,
    "world_seed": 1095210706,
    "world_size": 3500,
    "steam_id": "90286399870113806",
    "domain": null,
    "id": 11501295,
    "ip": "31.57.151.130",
    "port": 28015,
    "query": 28014,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![EU Emparors X2/Vanilia Solo/Duo/Trio](https://prnt.sc/kn176_1oVfLT)\nWelcome to Emparor RUST, the ultimate competitive experience for small groups! We provide a smooth, lag-free environment where your skills matter more than your wallet. Group Limit: Strictly Solo, Duo, or Trio (Max 3). Performance: High FPS & Low Latency (High-end dedicated hardware). Fair Play: Absolutely No Pay-To-Win. Everyone starts equal. Active Staff: 24/7 Active Admins (Non-playing) to ensure a cheat-free environment. Quality of Life: Balanced loot tables and optimized plugins for the best experience. Rules: No toxicity, no griefing, and strictly no teaming over the limit. Join our community and claim your spot today!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207170,
    "last_online": 1780582242,
    "icon": null,
    "name": "EU Emparors X2/Vanilia Solo/Duo/Trio",
    "connect": "31.57.151.130:28015",
    "request": "31.57.151.130:28014",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 200,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207170,
    "last_update": 1780582242,
    "banned": false,
    "wipe": 1778352463,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4772,
    "language": "de",
    "parked": false,
    "app": {
      "id": 252490,
      "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/11501295");
$data = json_decode($json, true);
var_dump($data);