API pentru BLACKVANILLA [ 1.12-1.21.11 ] ВК vk.com/blackvanillaru

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/6191214
json
{
  "response": {
    "steam_id": null,
    "domain": "mc.blackvanilla.ru",
    "id": 6191214,
    "ip": "188.168.41.46",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "St Petersburg",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775266367,
    "score": 0,
    "last_online": 1776823310,
    "icon": null,
    "name": "BLACKVANILLA [ 1.12-1.21.11 ] ВК vk.com/blackvanillaru",
    "connect": "mc.blackvanilla.ru:25565",
    "request": "188.168.41.46:25565",
    "map": null,
    "gamemode": "FML",
    "version": "BungeeCord 1.8.x-26.1.x",
    "numplayers": 0,
    "maxplayers": 299,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1728260792,
    "last_update": 1776823310,
    "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": 2136,
    "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/6191214");
$data = json_decode($json, true);
var_dump($data);