ARK: Survival Evolved
Black Thunder RP : Primal Fear -- PvE 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11253171json
{
"response": {
"steam_id": "90285623656022043",
"domain": null,
"id": 11253171,
"ip": "57.128.202.7",
"port": 7010,
"query": 7020,
"color": 0,
"city": "Warsaw",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1778508179,
"score": 0,
"last_online": 1778567433,
"icon": null,
"name": "Black Thunder RP : Primal Fear -- PvE",
"connect": "57.128.202.7:7010",
"request": "57.128.202.7:7020",
"map": "Ragnarok",
"gamemode": "TestGameMode_Primal_Fear_C",
"version": "361.7",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 31,
"add_date": 1774554534,
"last_update": 1778567433,
"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": 2410,
"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/11253171");
$data = json_decode($json, true);
var_dump($data);