Minecraft

API dla ╌╌[╌ RAGEMINE ⚔ ВСЕМ ДОНАТ: /FREE ╌]╌╌ ⚔ БЛОКИ, ПРЕДМЕТЫ 1.16.5+ ⑀ КРУТЫЕ /event, FT АНАРХИЯ ⚔

JSON dla programów, stron i innych

text
https://api.gamemonitoring.pl/servers/1002580
json
{
  "response": {
    "steam_id": null,
    "domain": "play.ragemine.su",
    "id": 1002580,
    "ip": "195.18.27.199",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Moscow",
    "description": "",
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1775791921,
    "last_online": 1780594258,
    "icon": null,
    "name": "╌╌[╌ RAGEMINE ⚔ ВСЕМ ДОНАТ: /FREE ╌]╌╌ ⚔ БЛОКИ, ПРЕДМЕТЫ 1.16.5+ ⑀ КРУТЫЕ /event, FT АНАРХИЯ ⚔",
    "connect": "play.ragemine.su:25565",
    "request": "195.18.27.199:25565",
    "map": null,
    "gamemode": "FML",
    "version": "1.16.5",
    "numplayers": 57,
    "maxplayers": 999,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "RU",
    "status": true,
    "votes": 0,
    "points": 32,
    "add_date": 1685031610,
    "last_update": 1780594258,
    "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": 1471,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Przykłady kodu

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