JerkZ PVP DeathMatch / Kits&Home&TPA / #2 [AU/TH] 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "85568392936304846",
"domain": null,
"id": 11730044,
"ip": "109.122.24.30",
"port": 27017,
"query": 27017,
"color": 0,
"city": "Suphan Buri",
"description": null,
"game": 304930,
"owner": null,
"boosts": 1,
"last_offline": 1780389128,
"last_online": 1780439487,
"icon": null,
"name": "JerkZ PVP DeathMatch / Kits&Home&TPA / #2 [AU/TH]",
"connect": "109.122.24.30:27017",
"request": "109.122.24.30:27017",
"map": "PEI",
"gamemode": "PVP DeathMatch I TPA&KITS&HOME&ETC.I No MOD",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "TH",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780389128,
"last_update": 1780439487,
"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": 1904,
"language": "th",
"parked": false,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11730044");
$data = json_decode($json, true);
var_dump($data);