JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11159921
json
{
  "response": {
    "fps": 74,
    "fps_avg": 73,
    "entities_count": 151814,
    "world_seed": 812945105,
    "world_size": 3500,
    "steam_id": "90286581566116872",
    "domain": null,
    "id": 11159921,
    "ip": "63.143.56.251",
    "port": 28080,
    "query": 28015,
    "color": 0,
    "city": "Chicago",
    "description": "![[US] Void Servers PVE 1000X|Kits|Loot+|NoBPs|Events](https://i.imgur.com/eA2fROm.png)\n▼ Welcome to Void's PVE Server! (Wipe 5/7) ▼\r\n ----------------------------------------------------------------------------------- \r\n -> No Stability + No Blueprints \r\n -> Full Shop System + Player Economy \r\n -> 1000x Loot with Skill Tree + Custom Gear Perks/Abilities \r\n -> PvE Server Events + Scheduled Purge Events \r\n -> BGrade, Remover Tool, and Base Repair System \r\n -> Extended TC and Workshop Range \r\n -> Powerless Turrets + SAM Sites \r\n -> Abandoned Bases to Explore & Raid \r\n -> Never lose your gear on death \r\n \r\n • Void has a secure and high performance server, please enjoy your time here! \r\n • Void Discord: https://discord.gg/voidserversofficial \r\n • Commands list and more info can be found in our discord at #commands-1000x",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779880405,
    "last_online": 1780583624,
    "icon": null,
    "name": "[US] Void Servers PVE 1000X|Kits|Loot+|NoBPs|Events",
    "connect": "63.143.56.251:28080",
    "request": "63.143.56.251:28015",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 8,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 66,
    "add_date": 1772228146,
    "last_update": 1780583624,
    "banned": false,
    "wipe": 1778179800,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 690,
    "language": "en",
    "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/11159921");
$data = json_decode($json, true);
var_dump($data);