JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/10605683
json
{
  "response": {
    "fps": 30,
    "fps_avg": 29,
    "entities_count": 132146,
    "world_seed": 1337,
    "world_size": 4500,
    "steam_id": "90285639337806862",
    "domain": null,
    "id": 10605683,
    "ip": "110.42.9.72",
    "port": 28020,
    "query": 28022,
    "color": 0,
    "city": "Ningbo",
    "description": "![SCPVE | FarmServer | RICK](https://rustimg.rustpve.top/RustImage/服务器封面图.png)\n本服为生存PVE附属农场服,只有装有PVE保护插件。\r\n\r\n为避免在主服过多的种植导致卡顿,喜欢种植或者饲养动物的农业玩家可前往此服无限制种植,并且可以把收获的物资带回主服售卖。\r\n\r\n如需游玩正常模式的PVE服,可搜索 生存PVE 或者 RICK 进服\r\n\r\n玩家QQ群:342628。",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1778597581,
    "score": 0,
    "last_online": 1778604022,
    "icon": null,
    "name": "SCPVE | FarmServer | RICK",
    "connect": "110.42.9.72:28020",
    "request": "110.42.9.72:28022",
    "map": "Custom Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 10,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1763321672,
    "last_update": 1778604022,
    "banned": false,
    "wipe": 1777567503,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 3844,
    "language": "zh",
    "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/10605683");
$data = json_decode($json, true);
var_dump($data);