- Ereb Altor - Marjura - PVP/Epic. Login from Ereb Altor. 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90285818114829312",
"domain": null,
"id": 11587272,
"ip": "92.35.27.216",
"port": 3725,
"query": 27017,
"project_id": null,
"color": 0,
"city": "Linköping",
"description": null,
"game": 366220,
"owner": null,
"boosts": 1,
"last_offline": 1781212975,
"last_online": 1781191300,
"icon": null,
"name": "- Ereb Altor - Marjura - PVP/Epic. Login from Ereb Altor.",
"connect": "92.35.27.216:3725",
"request": "92.35.27.216:27017",
"map": "marjura",
"gamemode": "Wurm Unlimited Server",
"version": "1.0.0.0",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "SE",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779357433,
"last_update": 1781212975,
"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": 98,
"language": "sv",
"parked": false,
"app": {
"id": 155,
"steam_id": 366220,
"name": "Wurm Unlimited",
"url": "wurm-unlimited"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11587272");
$data = json_decode($json, true);
var_dump($data);