Counter-Strike: Source
Turvassa-Gaming | Minigame | Timer | 100 Tick | FastDL 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8375361json
{
"response": {
"steam_id": "90284721512864781",
"domain": null,
"id": 8375361,
"ip": "95.217.215.91",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Helsinki",
"description": null,
"game": 240,
"owner": null,
"boosts": 1,
"last_offline": 1772053296,
"score": 0,
"last_online": 1776817235,
"icon": null,
"name": "Turvassa-Gaming | Minigame | Timer | 100 Tick | FastDL",
"connect": "95.217.215.91:27015",
"request": "95.217.215.91:27015",
"map": "mg_boatrace_v1c",
"gamemode": "Mg/Bhop/Surf",
"version": "9540945",
"numplayers": 1,
"maxplayers": 25,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 33,
"add_date": 1743667386,
"last_update": 1776817235,
"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": 497,
"language": "fi",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8375361");
$data = json_decode($json, true);
var_dump($data);