Counter-Strike: Source
[FR] LES VIEUX DE LA VIEILLE - MULTIMAP FUN - 16k$ - TICK100 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11043554json
{
"response": {
"steam_id": "90284164119353359",
"domain": null,
"id": 11043554,
"ip": "54.36.127.125",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Roubaix",
"description": null,
"game": 240,
"owner": 180356,
"boosts": 1,
"last_offline": 1775102530,
"score": 0,
"last_online": 1775831413,
"icon": null,
"name": "[FR] LES VIEUX DE LA VIEILLE - MULTIMAP FUN - 16k$ - TICK100",
"connect": "54.36.127.125:27016",
"request": "54.36.127.125:27016",
"map": "de_assault_1622",
"gamemode": "★ MULTIMAPS ★",
"version": "9540945",
"numplayers": 5,
"maxplayers": 24,
"bots": 0,
"secured": true,
"private": false,
"country": "FR",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1769953391,
"last_update": 1775831413,
"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": 263,
"language": "fr",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "adrian_haha",
"avatar": "5351ef48-9f17-4ac8-96ce-370abec52253.jpg",
"last_online": 1773868522
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11043554");
$data = json_decode($json, true);
var_dump($data);