Soulmask
Атмосфера [PVE][X3] ATMDS.RU 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/9536938json
{
"response": {
"steam_id": "90284150683333644",
"domain": null,
"id": 9536938,
"ip": "46.174.52.245",
"port": 18881,
"query": 18882,
"color": 0,
"city": "Moscow",
"description": null,
"game": 2646460,
"owner": null,
"boosts": 1,
"last_offline": 1774044717,
"score": 5,
"last_online": 1775770814,
"icon": null,
"name": "Атмосфера [PVE][X3] ATMDS.RU",
"connect": "46.174.52.245:18881",
"request": "46.174.52.245:18882",
"map": "Level01_Main",
"gamemode": "00",
"version": "1.0.0.0",
"numplayers": 3,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 11,
"points": 62,
"add_date": 1750540396,
"last_update": 1775770814,
"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": 14,
"language": "ru",
"parked": false,
"app": {
"id": 1625562,
"steam_id": 2646460,
"name": "Soulmask",
"url": "soulmask"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/9536938");
$data = json_decode($json, true);
var_dump($data);