JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/8726647
json
{
  "response": {
    "fps": 54,
    "fps_avg": 63,
    "entities_count": 171770,
    "world_seed": 1309420035,
    "world_size": 4500,
    "steam_id": "90284720661137412",
    "domain": null,
    "id": 8726647,
    "ip": "83.168.105.33",
    "port": 28015,
    "query": 28017,
    "color": 0,
    "city": "Radom",
    "description": "![[PL] Polish Island Raidbases Bots](https://i.imgur.com/pjK19mB.png)\nSerwer 100% PvE. \r\nPluginy to m.in.: Rangi i levele postaci, backpack, bossy, hordy, boty; customowe Helki, Bradleye i eventy; trade (również za $), $ przechodzące na następny miesiąc, skiny, pojazdy osobiste, powiększone stacki, teleporty, customowe koparki, niszczarka, opcja remove. \r\nWipe jest tylko jeden czyli w pierwszy czwartek miesiąca.",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775659327,
    "score": 0,
    "last_online": 1776823219,
    "icon": null,
    "name": "[PL] Polish Island Raidbases Bots",
    "connect": "83.168.105.33:28015",
    "request": "83.168.105.33:28017",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2623",
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 61,
    "add_date": 1745826057,
    "last_update": 1776823219,
    "banned": false,
    "wipe": 1775155304,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 1823,
    "language": "pl",
    "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/8726647");
$data = json_decode($json, true);
var_dump($data);