JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11744587
json
{
  "response": {
    "fps": 174,
    "fps_avg": 148,
    "entities_count": 21983,
    "world_seed": 2546254,
    "world_size": 2250,
    "steam_id": "90286566494734362",
    "domain": null,
    "id": 11744587,
    "ip": "152.53.37.237",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Manassas",
    "description": "![[IN DEVELOPMENT] Smingus' Z Island](https://i.postimg.cc/Bndx8xmT/content.png)\nAn in-development, not-ready-for-play zombie server. I'd love for you to come check stuff out and keep up with the development and show early support!\r\n\r\nI will be providing all community members exclusive benefits for being around from day 1.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780518709,
    "last_online": 1780549227,
    "icon": null,
    "name": "[IN DEVELOPMENT] Smingus' Z Island",
    "connect": "152.53.37.237:28015",
    "request": "152.53.37.237:28017",
    "map": "Custom Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780518709,
    "last_update": 1780549227,
    "banned": false,
    "wipe": 1779728305,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 6150,
    "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/11744587");
$data = json_decode($json, true);
var_dump($data);