API für 『神樱幻梦』PVP | 纯净对战 | 死亡不掉 #05

JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11173121
json
{
  "response": {
    "steam_id": "85568392935882795",
    "domain": null,
    "id": 11173121,
    "ip": "103.39.66.69",
    "port": 22338,
    "query": 22338,
    "color": 0,
    "city": "Shiyan",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775743280,
    "score": 0,
    "last_online": 1776114037,
    "icon": "https://i.ibb.co/zHLCJXxt/IMG-0334.jpg",
    "name": "『神樱幻梦』PVP | 纯净对战 | 死亡不掉 #05",
    "connect": "103.39.66.69:22338",
    "request": "103.39.66.69:22338",
    "map": "A6 Polaris",
    "gamemode": "- 死亡不掉 | 高倍刷新 -",
    "version": "3.26.2.2",
    "numplayers": 0,
    "maxplayers": 36,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1772229139,
    "last_update": 1776114037,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 515,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 48,
      "steam_id": 304930,
      "name": "Unturned",
      "url": "unturned"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

php
<?php
$json = file_get_contents("https://api.gamemonitoring.de/servers/11173121");
$data = json_decode($json, true);
var_dump($data);