ARK: Survival Evolved
[RU/EN] GreenEarth x5 [S+][Paleo] #1 的 API
我们提供多种集成方式。 你可以使用其中任意一种,也可以通过 JSON API 自行创建集成。 如果你希望我们新增其他集成方式,请联系我们。 联系我们
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/1569877json
{
"response": {
"steam_id": "90284140338308127",
"domain": null,
"id": 1569877,
"ip": "185.207.214.201",
"port": 29000,
"query": 29002,
"color": 0,
"city": "Moscow",
"description": "",
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1775748125,
"score": null,
"last_online": 1775761821,
"icon": null,
"name": "[RU/EN] GreenEarth x5 [S+][Paleo] #1",
"connect": "185.207.214.201:29000",
"request": "185.207.214.201:29002",
"map": "Ragnarok",
"gamemode": "TestGameMode_C",
"version": "358.24",
"numplayers": 11,
"maxplayers": 70,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 40,
"add_date": 1697981808,
"last_update": 1775761821,
"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": 1353,
"language": "ru",
"parked": false,
"app": {
"id": 67,
"steam_id": 346110,
"name": "ARK: Survival Evolved",
"url": "ark-survival-evolved"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/1569877");
$data = json_decode($json, true);
var_dump($data);