Counter-Strike
::. [E-Sports] GaMinG CSDM Small Maps ︻デ═一 |V͇̿I͇̿P •亗• 24/7*::. 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/468659json
{
"response": {
"steam_id": null,
"domain": null,
"id": 468659,
"ip": "139.99.90.2",
"port": 27016,
"query": 27016,
"color": 0,
"city": "Singapore",
"description": "",
"game": 10,
"owner": null,
"boosts": 1,
"last_offline": 1768642740,
"score": null,
"last_online": 1776210021,
"icon": null,
"name": "::. [E-Sports] GaMinG CSDM Small Maps ︻デ═一 |V͇̿I͇̿P •亗• 24/7*::.",
"connect": "139.99.90.2:27016",
"request": "139.99.90.2:27016",
"map": "aim_headshot",
"gamemode": "CSO-DeathMatcH",
"version": "1.1.2.7/Stdio",
"numplayers": 3,
"maxplayers": 23,
"bots": 0,
"secured": true,
"private": false,
"country": "SG",
"status": true,
"votes": 0,
"points": 38,
"add_date": 1630828255,
"last_update": 1776210021,
"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": 2682,
"language": "en",
"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/468659");
$data = json_decode($json, true);
var_dump($data);