API pentru UnderTheRadar's PvE |Limestone|AntiGrief|Economy|

JSON pentru programe, site-uri și altele

text
https://api.gamemonitoring.ro/servers/9558022
json
{
  "response": {
    "steam_id": "85568392934911667",
    "domain": null,
    "id": 9558022,
    "ip": "162.120.2.38",
    "port": 2320,
    "query": 2320,
    "color": 0,
    "city": "New York",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1774156929,
    "score": 0,
    "last_online": 1776093620,
    "icon": "https://i.imgur.com/xMj1hVl.jpeg",
    "name": "UnderTheRadar's PvE |Limestone|AntiGrief|Economy|",
    "connect": "162.120.2.38:2320",
    "request": "162.120.2.38:2320",
    "map": "Limestone",
    "gamemode": "DailyQuests|CarShopUI|TPA|Home|Garage|Vault",
    "version": "3.26.2.2",
    "numplayers": 8,
    "maxplayers": 30,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "US",
    "status": true,
    "votes": 0,
    "points": 42,
    "add_date": 1750585643,
    "last_update": 1776093620,
    "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": 47,
    "language": "en",
    "parked": false,
    "app": {
      "id": 48,
      "steam_id": 304930,
      "name": "Unturned",
      "url": "unturned"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Exemple de cod

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