API pentru play.ruhyte.ru Test-Server [RU] play.ruhyte.ru | Экспериментальный сервер!

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/10972634
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 10972634,
    "ip": null,
    "port": null,
    "query": null,
    "color": 0,
    "city": "Moscow",
    "description": "[{\"id\":\"0U4m3iUSm2\",\"type\":\"paragraph\",\"data\":{\"text\":\"На данный момент чистая ванилла без модов.\"}}]",
    "game": 9000061,
    "owner": 161350,
    "boosts": 1,
    "last_offline": 1770011459,
    "score": 0,
    "last_online": 1769062212,
    "icon": null,
    "name": "play.ruhyte.ru Test-Server [RU] play.ruhyte.ru | Экспериментальный сервер!",
    "connect": null,
    "request": null,
    "map": null,
    "gamemode": null,
    "version": null,
    "numplayers": 0,
    "maxplayers": 50,
    "bots": 0,
    "secured": false,
    "private": null,
    "country": "RU",
    "status": false,
    "votes": 0,
    "points": 0,
    "add_date": 1768830383,
    "last_update": 1770011459,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": 1,
    "pvp": null,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 245,
    "language": "ru",
    "parked": true,
    "app": {
      "id": 1665415,
      "steam_id": 9000061,
      "name": "Hytale",
      "url": "hytale"
    },
    "server_owner": {
      "username": "miischan",
      "avatar": "1c7984dd-e05d-4492-8311-c6001ce18f13.jpg",
      "last_online": 1769191199
    },
    "mods": [],
    "disabled_modules": [
      "chat"
    ]
  }
}

Exemple de cod

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