Serious Sam Fusion 2017 (beta)
UFO Dedicated TFE Coop 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11394911json
{
"response": {
"steam_id": "90284099562493954",
"domain": null,
"id": 11394911,
"ip": "173.17.254.144",
"port": 27061,
"query": 27062,
"color": 0,
"city": "Pleasant Hill",
"description": null,
"game": 564310,
"owner": null,
"boosts": 1,
"last_offline": 1776341623,
"score": 0,
"last_online": 1776411067,
"icon": null,
"name": "UFO Dedicated TFE Coop",
"connect": "173.17.254.144:27061",
"request": "173.17.254.144:27062",
"map": "0_01_Hatshepsut",
"gamemode": "Serious Sam Fusion 2017",
"version": "0.1.200.142",
"numplayers": 0,
"maxplayers": 16,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1774597217,
"last_update": 1776411067,
"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": 6,
"language": "en",
"parked": false,
"app": {
"id": 13492,
"steam_id": 564310,
"name": "Serious Sam Fusion 2017 (beta)",
"url": "serious-sam-fusion-2017-beta"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11394911");
$data = json_decode($json, true);
var_dump($data);