ARK: Survival Evolved
Drake Lost World PvPvE 5x Island 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11143622json
{
"response": {
"steam_id": "90284639282413587",
"domain": null,
"id": 11143622,
"ip": "185.203.18.59",
"port": 7740,
"query": 27040,
"color": 0,
"city": "Čabdin",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1776422022,
"score": 0,
"last_online": 1776653437,
"icon": null,
"name": "Drake Lost World PvPvE 5x Island",
"connect": "185.203.18.59:7740",
"request": "185.203.18.59:27040",
"map": "TheIsland",
"gamemode": "TestGameMode_C",
"version": "361.7",
"numplayers": 1,
"maxplayers": 33,
"bots": 0,
"secured": true,
"private": false,
"country": "HR",
"status": true,
"votes": 0,
"points": 32,
"add_date": 1772227111,
"last_update": 1776653437,
"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": 2845,
"language": "hr",
"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/11143622");
$data = json_decode($json, true);
var_dump($data);