• ʀʏᴢᴇɢʀɪᴇꜰ • ЖДЕМ ТЕБЯ! • 1.16.5 - 1.21.X • ЛУЧШАЯ КОПИЯ РВ! için API

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11489112
json
{
  "response": {
    "steam_id": null,
    "domain": null,
    "id": 11489112,
    "ip": "95.217.100.36",
    "port": 25870,
    "query": 25870,
    "color": 0,
    "city": "Helsinki",
    "description": null,
    "game": 9000034,
    "owner": 187887,
    "boosts": 1,
    "last_offline": 1776091069,
    "score": 0,
    "last_online": 1776108617,
    "icon": null,
    "name": "• ʀʏᴢᴇɢʀɪᴇꜰ • ЖДЕМ ТЕБЯ! • 1.16.5 - 1.21.X • ЛУЧШАЯ КОПИЯ РВ!",
    "connect": "95.217.100.36:25870",
    "request": "95.217.100.36:25870",
    "map": null,
    "gamemode": null,
    "version": "RyzeGrief",
    "numplayers": 0,
    "maxplayers": 2026,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "FI",
    "status": true,
    "votes": 0,
    "points": 60,
    "add_date": 1776091069,
    "last_update": 1776108617,
    "banned": false,
    "wipe": null,
    "official": null,
    "wipe_period": null,
    "next_wipe": null,
    "pve": null,
    "pvp": 1,
    "list_hidden": false,
    "hide_address": false,
    "hide_query": false,
    "position_game": 154,
    "language": "ru",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": {
      "username": "xoda4ri",
      "avatar": "7a057018-24f0-485c-ac6a-53811285bbb2.png",
      "last_online": 1776091424
    },
    "mods": [
      {
        "id": 1710,
        "name": "TAB"
      },
      {
        "id": 1601,
        "name": "Essentials"
      },
      {
        "id": 1596,
        "name": "ViaVersion"
      },
      {
        "id": 1699,
        "name": "LuckPerms"
      },
      {
        "id": 1718,
        "name": "WorldEdit"
      },
      {
        "id": 1720,
        "name": "WorldGuard"
      }
    ],
    "disabled_modules": [
      "chat"
    ]
  }
}

Kod örnekleri

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