[PL/EN][PVE/PVP/RP]Wikingowie[Jorvik][TP]Start:24.03.26 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286860282527748",
"domain": null,
"id": 11637997,
"ip": "5.226.142.82",
"port": 39260,
"query": 39262,
"project_id": null,
"color": 0,
"city": "City of London",
"description": null,
"game": 290080,
"owner": null,
"boosts": 1,
"last_offline": 1779917167,
"last_online": 1781215243,
"icon": null,
"name": "[PL/EN][PVE/PVP/RP]Wikingowie[Jorvik][TP]Start:24.03.26",
"connect": "5.226.142.82:39260",
"request": "5.226.142.82:39262",
"map": null,
"gamemode": "Life is Feudal: Your Own",
"version": "yo_1.4.4.5",
"numplayers": 1,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 37,
"add_date": 1779917167,
"last_update": 1781215243,
"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": 25,
"language": "en",
"parked": false,
"app": {
"id": 85,
"steam_id": 290080,
"name": "Life is Feudal: Your Own",
"url": "life-is-feudal-your-own"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11637997");
$data = json_decode($json, true);
var_dump($data);