JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10508458
json
{
  "response": {
    "fps": 221,
    "fps_avg": 217,
    "entities_count": 72085,
    "world_seed": 1829452327,
    "world_size": 3500,
    "steam_id": "90284791821824027",
    "domain": null,
    "id": 10508458,
    "ip": "65.109.102.54",
    "port": 27015,
    "query": 27017,
    "color": 0,
    "city": "Helsinki",
    "description": "![WhiteSummer.co 3x | Solo/Duo/Trio | Vanilla+](https://tbehosting.com/GBVeuUMM.png)\nOfficial WhiteSummer.co EU Weekly\r\n3x | Solo/Duo/Trio | Vanilla+\r\n\r\nWipe Schedule:\r\n• Weekly wipes every Thursday @ 19:00 (London Time)\r\n• Blueprints wipe biweekly\r\n\r\nFeatures:\r\n• 3x Gather Rate\r\n• 3x Loot (junk removed)\r\n• Free Quality of Life upgrades\r\n• No Pay-to-Win or Paid Features\r\n\r\nAbout Us:\r\nWhiteSummer.co delivers a balanced Vanilla+ experience built for solos, duos, and trios. Clean gameplay, active admins, and a fair environment — Rust the way it’s meant to be played.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775152930,
    "score": 0,
    "last_online": 1776846620,
    "icon": null,
    "name": "WhiteSummer.co 3x | Solo/Duo/Trio | Vanilla+",
    "connect": "65.109.102.54:27015",
    "request": "65.109.102.54:27017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1761421303,
    "last_update": 1776846620,
    "banned": false,
    "wipe": 1775153264,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3751,
    "language": "fi",
    "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/10508458");
$data = json_decode($json, true);
var_dump($data);