PixARK - Powered by GTXGaming.co.uk - (v1.29) 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": 90286309296185360,
"domain": null,
"id": 813991,
"ip": "5.226.141.94",
"port": 7777,
"query": 27015,
"color": 0,
"city": "City of London",
"description": "",
"game": 593600,
"owner": null,
"boosts": 1,
"last_offline": 1776229271,
"last_online": 1780560163,
"icon": null,
"name": "PixARK - Powered by GTXGaming.co.uk - (v1.29)",
"connect": "5.226.141.94:7777",
"request": "5.226.141.94:27015",
"map": "ShooterEntry",
"gamemode": "EntryLevelMenuGame_C",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1684360053,
"last_update": 1780560163,
"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": 83,
"language": "en",
"parked": false,
"app": {
"id": 188,
"steam_id": 593600,
"name": "PixARK",
"url": "pixark"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/813991");
$data = json_decode($json, true);
var_dump($data);