JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11435343
json
{
  "response": {
    "fps": 30,
    "fps_avg": 30,
    "entities_count": 86742,
    "world_seed": 1337,
    "world_size": 3700,
    "steam_id": "90286584585376791",
    "domain": null,
    "id": 11435343,
    "ip": "144.76.91.226",
    "port": 28010,
    "query": 28011,
    "color": 0,
    "city": "Falkenstein",
    "description": "![[EU/ESP] RustyLife Vanilla | Weekly | NoLimit](https://i.ibb.co/fVZfGvZt/descarga-1.png)\nJoin our Discord: https://discord.gg/n2Ebu5qhu9 \r\n• NO Hacks | NO Scripts | NO StreamSniping \r\n• Server Wipe Every Thursday 20:00 Time Zone SPAIN \r\n• Max Group: No Limit\r\n• Active Staff 24/7 | Custom Anti-Cheat / Anti-Teaming Detection",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777605194,
    "last_online": 1780591830,
    "icon": null,
    "name": "[EU/ESP] RustyLife Vanilla | Weekly | NoLimit",
    "connect": "144.76.91.226:28010",
    "request": "144.76.91.226:28011",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 1,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1774977186,
    "last_update": 1780591830,
    "banned": false,
    "wipe": 1779990993,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1951,
    "language": "de",
    "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/11435343");
$data = json_decode($json, true);
var_dump($data);