ARK: MASPO-Z2-Server PL - PvE - RPG (evo) 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286785625964571",
"domain": null,
"id": 11756972,
"ip": "146.59.71.175",
"port": 2805,
"query": 2668,
"project_id": null,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1780931468,
"last_online": 1781083401,
"icon": null,
"name": "ARK: MASPO-Z2-Server PL - PvE - RPG (evo)",
"connect": "146.59.71.175:2805",
"request": "146.59.71.175:2668",
"map": "TheIsland",
"gamemode": "ARK: Survival Evolved",
"version": "361.7",
"numplayers": 0,
"maxplayers": 20,
"bots": 0,
"secured": true,
"private": true,
"country": "PL",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1780931468,
"last_update": 1781083401,
"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": 12847,
"language": "pl",
"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/11756972");
$data = json_decode($json, true);
var_dump($data);