Counter-Strike
[ark]僵尸服生化q群[729878139] 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/8503125json
{
"response": {
"steam_id": null,
"domain": null,
"id": 8503125,
"ip": "47.102.119.100",
"port": 27018,
"query": 27018,
"color": 0,
"city": "Shanghai",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1768642800,
"score": 0,
"last_online": 1776207624,
"icon": null,
"name": "[ark]僵尸服生化q群[729878139]",
"connect": "47.102.119.100:27018",
"request": "47.102.119.100:27018",
"map": "zm_ugc2",
"gamemode": "Zombie Plague 5.0.8",
"version": "1.1.2.7/Stdio",
"numplayers": 2,
"maxplayers": 32,
"bots": 18,
"secured": false,
"private": false,
"country": "CN",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1743972099,
"last_update": 1776207624,
"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": 4045,
"language": "zh",
"parked": false,
"app": {
"id": 3,
"steam_id": 10,
"name": "Counter-Strike",
"url": "counter-strike"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/8503125");
$data = json_decode($json, true);
var_dump($data);