Counter-Strike: Global Offensive
➡️ [AWP ARENA] Russia Snipers #5 | !KNIFE !GLOVES 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11492070json
{
"response": {
"steam_id": null,
"domain": null,
"id": 11492070,
"ip": "45.8.96.129",
"port": 27039,
"query": 27039,
"color": 0,
"city": "St Petersburg",
"description": null,
"game": 4465480,
"owner": null,
"boosts": 1,
"last_offline": 1778455339,
"score": 0,
"last_online": 1778243410,
"icon": null,
"name": "➡️ [AWP ARENA] Russia Snipers #5 | !KNIFE !GLOVES",
"connect": "45.8.96.129:27039",
"request": "45.8.96.129:27039",
"map": "awp_lego_2",
"gamemode": "Counter-Strike: Global Offensive",
"version": "1.38.8.1",
"numplayers": 0,
"maxplayers": 64,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1778065634,
"last_update": 1778455339,
"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": 2005,
"language": "ru",
"parked": false,
"app": {
"id": 1629104,
"steam_id": 4465480,
"name": "Counter-Strike: Global Offensive",
"url": "counter-strike-global-offensive"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11492070");
$data = json_decode($json, true);
var_dump($data);