BESTRPG.PL - NOWE WYZWANIA! Monety Decarda, Wzmacniacze i nagrody dla najlepszych! için API

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/6783558
json
{
  "response": {
    "steam_id": null,
    "domain": "bestrpg.pl",
    "id": 6783558,
    "ip": "51.75.36.116",
    "port": 25565,
    "query": 25565,
    "color": 0,
    "city": "Wroclaw",
    "description": null,
    "game": 9000034,
    "owner": null,
    "boosts": 1,
    "last_offline": 1776049327,
    "score": 0,
    "last_online": 1776095453,
    "icon": null,
    "name": "BESTRPG.PL - NOWE WYZWANIA! Monety Decarda, Wzmacniacze i nagrody dla najlepszych!",
    "connect": "bestrpg.pl:25565",
    "request": "51.75.36.116:25565",
    "map": null,
    "gamemode": null,
    "version": "Velocity 1.7.2-1.21.11",
    "numplayers": 1,
    "maxplayers": 300,
    "bots": 0,
    "secured": null,
    "private": null,
    "country": "PL",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1733145886,
    "last_update": 1776095453,
    "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": 2695,
    "language": "pl",
    "parked": false,
    "app": {
      "id": 169,
      "steam_id": 9000034,
      "name": "Minecraft",
      "url": "minecraft"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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