Counter-Strike
CSGO.PLAYARENA.RO - Always classy 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10682887json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10682887,
"ip": "45.82.249.39",
"port": 27620,
"query": 27620,
"color": 0,
"city": "Santiago",
"description": null,
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1775724680,
"score": 0,
"last_online": 1775805014,
"icon": null,
"name": "CSGO.PLAYARENA.RO - Always classy",
"connect": "45.82.249.39:27620",
"request": "45.82.249.39:27620",
"map": "de_abaddon",
"gamemode": "Counter-Strike",
"version": "1.1.2.7/Stdio",
"numplayers": 1,
"maxplayers": 64,
"bots": 1,
"secured": true,
"private": false,
"country": "CL",
"status": true,
"votes": 0,
"points": 95,
"add_date": 1764588249,
"last_update": 1775805014,
"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": 1609,
"language": "es",
"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/10682887");
$data = json_decode($json, true);
var_dump($data);