JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501165
json
{
  "response": {
    "fps": 224,
    "fps_avg": 225,
    "entities_count": 47934,
    "world_seed": 1591117625,
    "world_size": 3000,
    "steam_id": "90286385405206534",
    "domain": null,
    "id": 11501165,
    "ip": "79.241.83.181",
    "port": 30015,
    "query": 30017,
    "color": 0,
    "city": "Bingen am Rhein",
    "description": "![[EU] Old Man's Club | NO DECAY | FREE KITS | RAID & DOMINATE](https://terrorpander.de/BILDER/OMC2.png)\nAttention! This is a PVP Server.\r\nDaily Server Restart & Updates at 5:00 a.m. German Time.\r\n\r\nFeatures:\r\n- Various Kits are available via the /kit command.\r\n- Free Skins are available via the /skin command.\r\n- Reserved slots for VIP players.\r\n- One reserved slot is included in every VIP kit!\r\n\r\nFeatures:\r\n- No Decay & No Upkeep.\r\n- Anti-offline Raid Protection.\r\n- No Blueprints Wipes, all Blueprints unlock.\r\n- No vehicles Decay.\r\n- No Auto Turret limit.\r\n- Drone range 10000.\r\n- Hackablelockedcrate 5 Min.\r\n- Free Minicopter.\r\n- Free Transporthelicopter.\r\n\r\nGood luck & Bonne Chance!",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780592012,
    "last_online": 1780167025,
    "icon": null,
    "name": "[EU] Old Man's Club | NO DECAY | FREE KITS | RAID & DOMINATE",
    "connect": "79.241.83.181:30015",
    "request": "79.241.83.181:30017",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 777,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779207168,
    "last_update": 1780592012,
    "banned": false,
    "wipe": 1778209561,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11080,
    "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/11501165");
$data = json_decode($json, true);
var_dump($data);