JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11511100
json
{
  "response": {
    "fps": 164,
    "fps_avg": 147,
    "entities_count": 73788,
    "world_seed": 1300048288,
    "world_size": 4000,
    "steam_id": "90286329685509124",
    "domain": null,
    "id": 11511100,
    "ip": "51.75.128.71",
    "port": 28030,
    "query": 28031,
    "color": 0,
    "city": "Roubaix",
    "description": "![TempoRust #5 Solo | 2x | 30D | FULLWIPED 28/05 05.28](https://i.imgur.com/PE0zDGD.png)\nWelcome to TempoRust ! \r\n  \r\n - Monthly Fullwipes @ 19:00 \r\n - PVP focus for GiggaChads \r\n - No Turrets/Shotgun traps \r\n - 2x Rates & more \r\n - No Night & Radiations \r\n - Roofcamp & Rocket PvP nerfed \r\n - Many small QoL unique plugins \r\n - No kit & no PayToWin \r\n - Active moderators \r\n  \r\n Use : TempoRust in your Steam name for bonus ! \r\n  \r\n VIP : Skip queue + Discord role. \r\n  \r\n Checkout our Discord for more !",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780640604,
    "last_online": 1780481428,
    "icon": null,
    "name": "TempoRust #5 Solo | 2x | 30D | FULLWIPED 28/05 05.28",
    "connect": "51.75.128.71:28030",
    "request": "51.75.128.71:28031",
    "map": "Procedural Map",
    "gamemode": "Vanilla",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "FR",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1779353838,
    "last_update": 1780640604,
    "banned": false,
    "wipe": 1778779066,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 11226,
    "language": "fr",
    "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/11511100");
$data = json_decode($json, true);
var_dump($data);