Counter-Strike: Source
SPb -=LobsteR=- 2026 [PUBLIC][18+] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/465121json
{
"response": {
"steam_id": null,
"domain": null,
"id": 465121,
"ip": "45.136.204.70",
"port": 27015,
"query": 27015,
"color": 0,
"city": "Moscow",
"description": "",
"game": 240,
"owner": 39057,
"boosts": 1,
"last_offline": 1777521798,
"score": null,
"last_online": 1778556619,
"icon": null,
"name": "SPb -=LobsteR=- 2026 [PUBLIC][18+]",
"connect": "45.136.204.70:27015",
"request": "45.136.204.70:27015",
"map": "de_dust2",
"gamemode": "[Скины CS:GO|Бесплатный VIP]",
"version": "1.0.0.34",
"numplayers": 1,
"maxplayers": 32,
"bots": 11,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1630827976,
"last_update": 1778556619,
"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": 198,
"language": "ru",
"parked": false,
"app": {
"id": 5,
"steam_id": 240,
"name": "Counter-Strike: Source",
"url": "counter-strike-source"
},
"server_owner": {
"username": "PRINCESSA",
"avatar": "30ed0f75-7cef-4a46-96a6-65f18a93a87d.jpg",
"last_online": 1715349404
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/465121");
$data = json_decode($json, true);
var_dump($data);