JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11639254
json
{
  "response": {
    "fps": 190,
    "fps_avg": 195,
    "entities_count": 112277,
    "world_seed": 1,
    "world_size": 4500,
    "steam_id": "90286273562708995",
    "domain": null,
    "id": 11639254,
    "ip": "157.85.93.6",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Dallas",
    "description": "![[US] Vortex Prime 3x Solo Duo Trio Quad | Biweekly | Kits | TP](https://i.imgur.com/fpTSoUk.png)\nKits Availible at:  vortex-prime.paynow.store/\r\n3x Gather Rates: Spend less time hitting trees and more time raiding and roaming.  Monthly Wipes: We follow the official monthly blueprint and map wipe schedule for a long-term progression feel.  Custom Kits: Get a head start with balanced starter kits to get you geared and grounded.  Group Limit: Strictly enforced Solo, Solo/Duo/Trio/Quad\r\nClans\r\nKits\r\nDiscord- https://discord.gg/9RmyME3P",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780592014,
    "last_online": 1779954622,
    "icon": null,
    "name": "[US] Vortex Prime 3x Solo Duo Trio Quad | Biweekly | Kits | TP",
    "connect": "157.85.93.6:28015",
    "request": "157.85.93.6:28016",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779917957,
    "last_update": 1780592014,
    "banned": false,
    "wipe": 1778201279,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 12381,
    "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/11639254");
$data = json_decode($json, true);
var_dump($data);