API für [DMH] Dead Man's Hand #1 | New Player Friendly | Discord.gg/DMH

JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/11142737
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11142737,
    "ip": "212.192.28.26",
    "port": 10001,
    "query": 10001,
    "color": 0,
    "city": "Ashburn",
    "description": null,
    "game": 393380,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775021599,
    "score": 0,
    "last_online": 1776459632,
    "icon": null,
    "name": "[DMH] Dead Man's Hand #1 | New Player Friendly | Discord.gg/DMH",
    "connect": "212.192.28.26:10001",
    "request": "212.192.28.26:10001",
    "map": "Sumari_Seed_v1",
    "gamemode": "Seed",
    "version": "v10.3.1.576590.1719",
    "numplayers": 26,
    "maxplayers": 98,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 48,
    "add_date": 1770815407,
    "last_update": 1776459632,
    "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": 101,
    "language": "en",
    "parked": false,
    "app": {
      "id": 137,
      "steam_id": 393380,
      "name": "Squad",
      "url": "squad"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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