Public Official ASIA (Rookie) Powered by 4Netplayers için API

Programlar, siteler ve diğerleri için JSON

text
https://api.gamemonitoring.tr/servers/11016097
json
{
  "response": {
    "steam_id": "90285169683948566",
    "domain": null,
    "id": 11016097,
    "ip": "103.70.0.44",
    "port": 20100,
    "query": 20110,
    "color": 0,
    "city": "Chai Wan",
    "description": null,
    "game": 2218970,
    "owner": null,
    "boosts": 1,
    "last_offline": 1777423394,
    "score": 0,
    "last_online": 1777560117,
    "icon": null,
    "name": "Public Official ASIA (Rookie) Powered by 4Netplayers",
    "connect": "103.70.0.44:20100",
    "request": "103.70.0.44:20110",
    "map": "777125:21:6:768",
    "gamemode": "Plains of Pain v0.8.7.8",
    "version": "0.8.7.8",
    "numplayers": 0,
    "maxplayers": 20,
    "bots": 0,
    "secured": false,
    "private": false,
    "country": "HK",
    "status": true,
    "votes": 0,
    "points": 30,
    "add_date": 1769943354,
    "last_update": 1777560117,
    "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": 5,
    "language": "zh",
    "parked": false,
    "app": {
      "id": 1617062,
      "steam_id": 2218970,
      "name": "Plains of Pain",
      "url": "plains-of-pain"
    },
    "server_owner": null,
    "mods": [],
    "disabled_modules": []
  }
}

Kod örnekleri

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