Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11738098
json
{
  "response": {
    "steam_id": "90286244550813716",
    "domain": null,
    "id": 11738098,
    "ip": "110.90.44.94",
    "port": 51200,
    "query": 58200,
    "color": 0,
    "city": "Fuzhou",
    "description": null,
    "game": 346110,
    "owner": null,
    "boosts": 1,
    "last_offline": 1780412808,
    "last_online": 1780492946,
    "icon": null,
    "name": "!           新开 PVP 战斗/礼包 创Ⅱ 666",
    "connect": "110.90.44.94:51200",
    "request": "110.90.44.94:58200",
    "map": "Gen2",
    "gamemode": "TestGameMode_C",
    "version": "361.5",
    "numplayers": 1,
    "maxplayers": 127,
    "bots": 0,
    "secured": true,
    "private": false,
    "country": "CN",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1780412808,
    "last_update": 1780492946,
    "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": 3461,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 67,
      "steam_id": 346110,
      "name": "ARK: Survival Evolved",
      "url": "ark-survival-evolved"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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