JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11305985
json
{
  "response": {
    "fps": 52,
    "fps_avg": 48,
    "entities_count": 124621,
    "world_seed": 667590845,
    "world_size": 3700,
    "steam_id": "90286439013941267",
    "domain": null,
    "id": 11305985,
    "ip": "156.59.232.194",
    "port": 27030,
    "query": 27023,
    "color": 0,
    "city": "Manila",
    "description": "![[SEA] Chill Philippines | Quad](https://i.imgur.com/QzxKmXs.png)\nWelcome to [SEA] Chill Philippines | Quad!\n------------------------------------------\nMax Team Size: 4\nWebsite: chillrust.org - stats, leaderboards, hall of fame (+ skip queue with Discord link)\nServer Map wipe, Friday @ 2pm weekly (force @ 2am)\nhttps://discord.gg/DeTp64fJvQ\nTop Tier Hosting - Very Fast Server\nActive Admin\nCommands: /help\nNeed English translation? try /tlchat",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780034622,
    "last_online": 1780241425,
    "icon": null,
    "name": "[SEA] Chill Philippines | Quad",
    "connect": "156.59.232.194:27030",
    "request": "156.59.232.194:27023",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 50,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PH",
    "status": true,
    "votes": 0,
    "points": 81,
    "add_date": 1774592906,
    "last_update": 1780241425,
    "banned": false,
    "wipe": 1780034917,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 531,
    "language": "tl",
    "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/11305985");
$data = json_decode($json, true);
var_dump($data);