JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/5395621
json
{
  "response": {
    "fps": 76,
    "fps_avg": 76,
    "entities_count": 101979,
    "world_seed": 13825,
    "world_size": 4096,
    "steam_id": "90286577127001108",
    "domain": null,
    "id": 5395621,
    "ip": "152.228.223.2",
    "port": 28310,
    "query": 28245,
    "color": 0,
    "city": "Gravelines",
    "description": "![EU - The Golden Knights 2x | Monthly | Vanilla | 25% Upkeep](https://imgur.com/8Sw2jXE.png)\nSchedule: Map wipes every force-wipe & Blueprints in January.\r\n\r\nDiscord @ discord.gg/8VgRrgC (press ext. website)\r\n\r\nFeatures:\r\n- Experienced staff support\r\n- Raidblock between 12AM - 8AM CET\r\n- Custom maps & monuments\r\n- Increased Turret Limit (18)\r\n- 2x Resources & Stack size\r\n- 25% Upkeep cost\r\n- Rust:IO live map\r\n\r\nRules:\r\n- Follow Facepunch TOS\r\n- Group limit of 8",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780193034,
    "last_online": 1780584633,
    "icon": null,
    "name": "EU - The Golden Knights 2x | Monthly | Vanilla | 25% Upkeep",
    "connect": "152.228.223.2:28310",
    "request": "152.228.223.2:28245",
    "map": "Synecdoche",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1722428399,
    "last_update": 1780584633,
    "banned": false,
    "wipe": 1778181858,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2891,
    "language": "fr",
    "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/5395621");
$data = json_decode($json, true);
var_dump($data);