Sven Co-op
[TW] F.Z. Club [XP|ChatSound|BUYMENU|RTD] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10614662json
{
"response": {
"steam_id": "90285143280125971",
"domain": null,
"id": 10614662,
"ip": "1.34.127.6",
"port": 27014,
"query": 27014,
"color": 0,
"city": "New Taipei City",
"description": null,
"game": 225840,
"owner": null,
"boosts": 1,
"last_offline": 1776854001,
"score": 0,
"last_online": 1777539629,
"icon": null,
"name": "[TW] F.Z. Club [XP|ChatSound|BUYMENU|RTD]",
"connect": "1.34.127.6:27014",
"request": "1.34.127.6:27014",
"map": "extreme_uboa",
"gamemode": "Sven Co-op 5.26",
"version": "5.0.1.8",
"numplayers": 2,
"maxplayers": 32,
"bots": 0,
"secured": true,
"private": false,
"country": "TW",
"status": true,
"votes": 0,
"points": 41,
"add_date": 1763324986,
"last_update": 1777539629,
"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": 10,
"language": "zh",
"parked": false,
"app": {
"id": 65,
"steam_id": 225840,
"name": "Sven Co-op",
"url": "sven-co-op"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10614662");
$data = json_decode($json, true);
var_dump($data);