API pentru -| BULLCRAFT |- ВАЙП СЕРВЕРА 1.16-26.1.2 АНАРХИЯ

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/11489280
json
{
  "response": {
    "steam_id": null,
    "domain": "mc.bullcraft.ru",
    "id": 11489280,
    "ip": "185.189.255.55",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Moscow",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776395017,
    "score": 0,
    "last_online": 1776433827,
    "icon": null,
    "name": "-| BULLCRAFT |- ВАЙП СЕРВЕРА 1.16-26.1.2 АНАРХИЯ",
    "connect": "mc.bullcraft.ru:25565",
    "request": "185.189.255.55:25565",
    "map": null,
    "gamemode": "FML",
    "version": "§7§l-| §6§lB§6§lU§6§lL§e§lL§e§lC§e§lR§6§lA§6§lF§6§lT §7§l|-       §fВАЙП СЕРВЕРА \n       §a1.16-26.1.2                §e§lАНАРХИЯ",
    "numplayers": 162,
    "maxplayers": 250,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 53,
    "add_date": 1776240315,
    "last_update": 1776433827,
    "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": 204,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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