JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/7965846
json
{
  "response": {
    "fps": 52,
    "fps_avg": 53,
    "entities_count": 86365,
    "world_seed": 1337,
    "world_size": 3400,
    "steam_id": "90286234261011485",
    "domain": null,
    "id": 7965846,
    "ip": "2.56.245.240",
    "port": 27009,
    "query": 27010,
    "color": 0,
    "city": "Frankfurt am Main",
    "description": "![[GER/EU] Rust Island | No BP Wipe | No Offlines |](https://rust-island.de/BILDER/RUST.jpg)\nRust Island Solo - Duo - Trio \r\nNo BP Wipe \r\nNo Offlines \r\n\r\nDiscord findet ihr unter https://discord.gg/ESZHeupvSq \r\n\r\nno BPs WIPE \r\nCustom Outpost mit Heli Shop. \r\nCustom Fishing Village mit Heli Shop und Recycler. \r\n\r\n-> RaidableBases \r\n-> Dangerous Treasures \r\n-> Sputnik - Event \r\n-> Crates - Event \r\n-> Backpacks \r\n-> AutoHover \r\n-> Voter /vote /reward \r\n-> Raid-Alarm für Rust+",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780607013,
    "last_online": 1779876021,
    "icon": null,
    "name": "[GER/EU] Rust Island | No BP Wipe | No Offlines |",
    "connect": "2.56.245.240:27009",
    "request": "2.56.245.240:27010",
    "map": "» kleine MAP alle Monumente «",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1741000546,
    "last_update": 1780607013,
    "banned": false,
    "wipe": 1778176845,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 9859,
    "language": "de",
    "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/7965846");
$data = json_decode($json, true);
var_dump($data);