JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11501775
json
{
  "response": {
    "fps": 57,
    "fps_avg": 57,
    "entities_count": 92652,
    "world_seed": 772688602,
    "world_size": 4000,
    "steam_id": "90286575420404755",
    "domain": null,
    "id": 11501775,
    "ip": "66.51.97.60",
    "port": 28050,
    "query": 28051,
    "color": 0,
    "city": "City of London",
    "description": "![Samhain SOLO/DUO noob friendly .](https://i.ibb.co/TwnSdCM/Rust-Header-Image-Raised.png)\nRULES\r\nMax 2 per team . \r\nNakeds obvious noobs not kill onsite .Exception are base stalking and going for crates on monuments\r\nNo repeated raiding of the same player . \r\nExperienced players looking for easy kill with be banned without warning.\r\nSupporting new players is welcomed .",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1779207180,
    "last_online": 1780567829,
    "icon": null,
    "name": "Samhain SOLO/DUO noob friendly .",
    "connect": "66.51.97.60:28050",
    "request": "66.51.97.60:28051",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 75,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "GB",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1779207180,
    "last_update": 1780567829,
    "banned": false,
    "wipe": 1778178144,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 4753,
    "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/11501775");
$data = json_decode($json, true);
var_dump($data);