JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11639144
json
{
  "response": {
    "fps": 233,
    "fps_avg": 232,
    "entities_count": 78814,
    "world_seed": 1505101015,
    "world_size": 3750,
    "steam_id": "90286591405767711",
    "domain": null,
    "id": 11639144,
    "ip": "158.69.26.13",
    "port": 28017,
    "query": 27019,
    "color": 0,
    "city": "Montreal",
    "description": "![[NA] WAR Weekly | 3X | No BP Wipe | Duo/Trio/Squad](https://imgur.com/HZFzRKI.png)\nSetting up and balancing a modded server is difficult. I appreciate any feedback to help improve the game experience and overall fun. \r\n- Wipe: every Thursday of the month 14:30 ET-New York \r\n- No BP Wipe \r\n- 3x Resource, Scrap & Component Rates \r\n- 3x Smelting & Recycling Speed \r\n- 3x Stack Size & Crafting Speed \r\n- Max Team Size: 4 \r\n- Gun PVP +20% Time To Kill",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780416856,
    "last_online": 1780585835,
    "icon": null,
    "name": "[NA] WAR Weekly | 3X | No BP Wipe | Duo/Trio/Squad",
    "connect": "158.69.26.13:28017",
    "request": "158.69.26.13:27019",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 150,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CA",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779917955,
    "last_update": 1780585835,
    "banned": false,
    "wipe": 1780057001,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5596,
    "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/11639144");
$data = json_decode($json, true);
var_dump($data);