JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11159848
json
{
  "response": {
    "fps": 226,
    "fps_avg": 223,
    "entities_count": 38273,
    "world_seed": 310348762,
    "world_size": 2750,
    "steam_id": "90286595876993032",
    "domain": null,
    "id": 11159848,
    "ip": "192.135.117.142",
    "port": 25565,
    "query": 25568,
    "color": 0,
    "city": "Buffalo",
    "description": "![VPH | 2x Biweekly Solo/Duo/Trio | Vanilla | QoL | JUST WIPED](https://www.dropbox.com/scl/fi/dmhqmwt8j0kbtwp0kj4nw/VDKAS-PLAyhouse-1.png?rlkey=09a0t8gdaybw6l4ytq1wxgl8h&st=ve0w1s0j&dl=1)\nWelcome to VDKA’s Playhouse/nA 2x Vanilla Rust server built for players who want balanced progression, fair PvP, and a true Rust experience without the excessive grind./nDesigned for both new players and veterans who enjoy long-term progression and meaningful wipes./nServer Features:/n• 2x Gather, Loot, and Smelting Rates/n• Vanilla Gameplay Focus/n• BiWeekly Map Wipes/n• Monthly Blueprint Wipes/n• Active PvP & Raiding/n• No Pay-to-Win/n• Light Quality-of-Life Improvements/n• Optimized Performance & Stability/n• Fair Play & Active Moderation/nBuilt for players who want real Rust combat, strategic base building, and rewarding progression over a full wipe cycle./nNo gimmicks — just Rust, the way it’s meant to be played.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780235656,
    "last_online": 1780636229,
    "icon": null,
    "name": "VPH | 2x Biweekly Solo/Duo/Trio | Vanilla | QoL | JUST WIPED",
    "connect": "192.135.117.142:25565",
    "request": "192.135.117.142:25568",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1772228144,
    "last_update": 1780636229,
    "banned": false,
    "wipe": 1778248917,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4006,
    "language": "en",
    "parked": false,
    "app": {
      "id": 12,
      "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/11159848");
$data = json_decode($json, true);
var_dump($data);