DonTNT 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286544322026506",
"domain": null,
"id": 11623656,
"ip": "178.59.13.6",
"port": 9876,
"query": 9877,
"color": 0,
"city": "Larissa",
"description": null,
"game": 1604030,
"owner": null,
"boosts": 1,
"last_offline": 1780573405,
"last_online": 1780536721,
"icon": null,
"name": "DonTNT",
"connect": "178.59.13.6:9876",
"request": "178.59.13.6:9877",
"map": "VRisingWorld",
"gamemode": "3439b366-a41d-4bcd-9060-21fda0bf7a2f",
"version": "0.0.0.1",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": true,
"country": "GR",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779916122,
"last_update": 1780573405,
"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": 4348,
"language": "el",
"parked": false,
"app": {
"id": 55075,
"steam_id": 1604030,
"name": "V Rising",
"url": "v-rising"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11623656");
$data = json_decode($json, true);
var_dump($data);