JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11645122
json
{
  "response": {
    "oxide": true,
    "modded": true,
    "fps": 67,
    "fps_avg": 66,
    "entities_count": 89860,
    "world_seed": 1788487232,
    "world_size": 3900,
    "steam_id": "90286576655190017",
    "domain": null,
    "id": 11645122,
    "ip": "103.91.210.249",
    "port": 28100,
    "query": 38103,
    "color": 0,
    "city": "Jinan",
    "description": "![『期盼』2倍|萌新|无权|6月4号新档|呲碴风云](https://pic1.imgdb.cn/item/6a1627b17e05763db3cfe65c.png)\n↗欢迎来到【期盼】服务器\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★限制组队四人\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★禁挂.办宏.禁卡石头.\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n★轻松娱乐!\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\n————————————————————————",
    "game": 252490,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780567467,
    "last_online": 1780591831,
    "icon": null,
    "name": "『期盼』2倍|萌新|无权|6月4号新档|呲碴风云",
    "connect": "103.91.210.249:28100",
    "request": "103.91.210.249:38103",
    "map": "Procedural Map",
    "gamemode": "Survival",
    "version": "2625",
    "numplayers": 0,
    "maxplayers": 100,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1780177448,
    "last_update": 1780591831,
    "banned": false,
    "wipe": 1779233203,
    "official": null,
    "wipe_period": "weekly",
    "next_wipe": 1779838003,
    "pve": 0,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 5638,
    "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/11645122");
$data = json_decode($json, true);
var_dump($data);