Operation: Harsh Doorstop
[U777] Unit 777 GAMING — Teamwork Focused — dsc.gg/Unit777 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10824762json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10824762,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Frankfurt am Main",
"description": null,
"game": 736590,
"owner": 127792,
"boosts": 1,
"last_offline": 1774677106,
"score": 0,
"last_online": 1773742814,
"icon": null,
"name": "[U777] Unit 777 GAMING — Teamwork Focused — dsc.gg/Unit777",
"connect": null,
"request": null,
"map": "Khafji",
"gamemode": "Advance and Secure",
"version": null,
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1767406769,
"last_update": 1774677106,
"banned": false,
"wipe": null,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": true,
"hide_query": false,
"position_game": 20,
"language": "en",
"parked": true,
"app": {
"id": 52393,
"steam_id": 736590,
"name": "Operation: Harsh Doorstop",
"url": "operation-harsh-doorstop"
},
"server_owner": {
"username": "goldenpilot",
"avatar": "681b67ad-ab75-49db-ab6b-8825c3749852.png",
"last_online": 1772345923
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10824762");
$data = json_decode($json, true);
var_dump($data);