JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10661773
json
{
  "response": {
    "fps": 48,
    "fps_avg": 44,
    "entities_count": 144416,
    "world_seed": 433116451,
    "world_size": 5000,
    "steam_id": "90285704898679824",
    "domain": null,
    "id": 10661773,
    "ip": "67.146.3.161",
    "port": 28015,
    "query": 28016,
    "color": 0,
    "city": "Mount Joy",
    "description": "![DYSFUNCTIONAL FAMILY RUST](https://i.imgur.com/toEDsrC.png)\nFamily friendly server PvE no raiding other players wipes when needed\r\n\r\n-Noob Friendly\r\n-10x Drop and Gather\r\n-Guarded Crates\r\n-No Building Stability\r\n-Craftable Recycler\r\n-Increased Stack Sizes\r\n\r\n There is even more come check us out.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778677379,
    "score": 0,
    "last_online": 1778689220,
    "icon": null,
    "name": "DYSFUNCTIONAL FAMILY RUST",
    "connect": "67.146.3.161:28015",
    "request": "67.146.3.161:28016",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1764544811,
    "last_update": 1778689220,
    "banned": false,
    "wipe": 1778186365,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3859,
    "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/10661773");
$data = json_decode($json, true);
var_dump($data);