Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/5353892
json
{
  "response": {
    "steam_id": "85568392936200924",
    "domain": null,
    "id": 5353892,
    "ip": "118.25.99.112",
    "port": 27015,
    "query": 27015,
    "color": 0,
    "city": "Shanghai",
    "description": null,
    "game": 304930,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780317257,
    "last_online": 1780476815,
    "icon": "https://bochi-the-rocket.oss-cn-shanghai.aliyuncs.com/%E6%96%B9%E5%9B%BE/10036.webp",
    "name": "NoName|PEI|PVP|实验性|",
    "connect": "118.25.99.112:27015",
    "request": "118.25.99.112:27015",
    "map": "PEI",
    "gamemode": "实验性服务器 无限火力PVP",
    "version": "3.26.3.2",
    "numplayers": 2,
    "maxplayers": 32,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 34,
    "add_date": 1722069746,
    "last_update": 1780476815,
    "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": 125,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 48,
      "steam_id": 304930,
      "name": "Unturned",
      "url": "unturned"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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