JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10871065
json
{
  "response": {
    "fps": 33,
    "fps_avg": 37,
    "entities_count": 150523,
    "world_seed": 495421946,
    "world_size": 5000,
    "steam_id": 90286621238875150,
    "domain": null,
    "id": 10871065,
    "ip": "144.48.106.189",
    "port": 28035,
    "query": 28037,
    "color": 0,
    "city": "Chicago",
    "description": "OLDSKOOl RUST SERVER ACTIVE ADMINS SKILL TREE TO ENHANCE YOUR PLAY, EVENTS= DUNGEONS OPERATIONAL FORTRESS, TRAINYARD, SUBMARINE EVEN, BRADLEY DROPS, FERRY TERMINAL EVENT, HARBOUR, HEAVY OIL RIG, KING OF THE HILL, DOME EVENT, CARGO  CONVOY, RADTOWN, ARTIC BASE EVENT, POWER PLANT EVENT",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780597470,
    "last_online": 1780647626,
    "icon": null,
    "name": "OLDSKOOL GUYS PVE 2X GATHER  ACTIVE ADMINS",
    "connect": "144.48.106.189:28035",
    "request": "144.48.106.189:28037",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2627",
    "numplayers": 1,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1768318512,
    "last_update": 1780647626,
    "banned": false,
    "wipe": 1780597925,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 2369,
    "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/10871065");
$data = json_decode($json, true);
var_dump($data);