NoRulesNoBullsh*t EU Vanilla+ PVPPVE 1PP discord.gg/nTnyWpt4cq 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286650742312985",
"domain": null,
"id": 11647001,
"ip": "86.120.81.19",
"port": 2350,
"query": 27028,
"project_id": null,
"color": 0,
"city": "Timișoara",
"description": "Sick of being bossed around by power-hungry Discord mods telling you what you can and can't do in a",
"game": 221100,
"owner": null,
"boosts": 1,
"last_offline": 1780470419,
"last_online": 1780717231,
"icon": null,
"name": "NoRulesNoBullsh*t EU Vanilla+ PVPPVE 1PP discord.gg/nTnyWpt4cq",
"connect": "86.120.81.19:2350",
"request": "86.120.81.19:27028",
"map": "raman",
"gamemode": null,
"version": "1.29.163047",
"numplayers": 0,
"maxplayers": 40,
"bots": 0,
"secured": true,
"private": false,
"country": "RO",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1780177583,
"last_update": 1780717231,
"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": 3814,
"language": "ro",
"parked": false,
"app": {
"id": 63,
"steam_id": 221100,
"name": "DayZ",
"url": "dayz"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11647001");
$data = json_decode($json, true);
var_dump($data);