API für TorchCraft.nl Zondag 3 mei: Hardcore Eind-Event! ♥

JSON für Programme, Websites und mehr

text
https://api.gamemonitoring.de/servers/470924
json
{
  "response": {
    "steam_id": null,
    "domain": "server.torchcraft.nl",
    "id": 470924,
    "ip": "157.90.95.234",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Falkenstein",
    "description": "",
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775764961,
    "score": null,
    "last_online": 1776099625,
    "icon": null,
    "name": "TorchCraft.nl Zondag 3 mei: Hardcore Eind-Event! ♥",
    "connect": "server.torchcraft.nl:25565",
    "request": "157.90.95.234:25565",
    "map": null,
    "gamemode": null,
    "version": "Velocity 1.7.2-26.1.2",
    "numplayers": 17,
    "maxplayers": 300,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "DE",
    "status": true,
    "votes": 0,
    "points": 32,
    "add_date": 1630831767,
    "last_update": 1776099625,
    "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": 1425,
    "language": "de",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Codebeispiele

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