Operation: Harsh Doorstop
CZSK OFPmafia.eu | Harsh Doorstop Server 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10733873json
{
"response": {
"steam_id": "90284928386103315",
"domain": null,
"id": 10733873,
"ip": "213.191.117.188",
"port": 7777,
"query": 27005,
"color": 0,
"city": "Prague",
"description": null,
"game": 736590,
"owner": null,
"boosts": 1,
"last_offline": 1777085595,
"score": 0,
"last_online": 1777536642,
"icon": null,
"name": "CZSK OFPmafia.eu | Harsh Doorstop Server",
"connect": "213.191.117.188:7777",
"request": "213.191.117.188:27005",
"map": "Monte Cassino",
"gamemode": "Advance and Secure",
"version": "89",
"numplayers": 0,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1765885605,
"last_update": 1777536642,
"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": 17,
"language": "cs",
"parked": false,
"app": {
"id": 52393,
"steam_id": 736590,
"name": "Operation: Harsh Doorstop",
"url": "operation-harsh-doorstop"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10733873");
$data = json_decode($json, true);
var_dump($data);