JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11710951
json
{
  "response": {
    "fps": 240,
    "fps_avg": 240,
    "entities_count": 4828,
    "world_seed": 217,
    "world_size": 1000,
    "steam_id": "90286594528739349",
    "domain": null,
    "id": 11710951,
    "ip": "157.85.91.120",
    "port": 22000,
    "query": 22001,
    "color": 0,
    "city": "Dallas",
    "description": "![UncleJoey's | Solo/Duo/Trio/Quad | VanillaPlus | Noob Friendly](https://imgur.com/N0i2hYa)\nUncleJoey's | Solo/Duo/Trio/Quad | VanillaPlus | Noob Friendly  Balanced Vanilla+ Rust with lower grind and fair progression. Perfect for new and experienced players alike.  ⚒️ Rates • Wood 1.5x • Sulfur 1.25x • Quarries 1.5x • Excavator 1.5x  ✔ Noob Friendly ✔ Balanced PvP & Raiding ✔ Vanilla Feel, Faster Progression  🚫 Cheaters and known associates will be permanently banned.\r\nWIPES FRIDAYS MIDNIGHT EST",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780408395,
    "last_online": 1780591832,
    "icon": null,
    "name": "UncleJoey's | Solo/Duo/Trio/Quad | VanillaPlus | Noob Friendly",
    "connect": "157.85.91.120:22000",
    "request": "157.85.91.120:22001",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 40,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780300742,
    "last_update": 1780591832,
    "banned": false,
    "wipe": 1780579225,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5878,
    "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/11710951");
$data = json_decode($json, true);
var_dump($data);