[GER] usa-life.net - Altis Life | Neuanfang am 24.10.25 (WIPE) 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286156293191709",
"domain": null,
"id": 1306692,
"ip": "51.195.61.187",
"port": 2302,
"query": 2303,
"color": 0,
"city": "Limburg an der Lahn",
"description": "",
"game": 107410,
"owner": null,
"boosts": 1,
"last_offline": 1778083389,
"last_online": 1779646318,
"icon": null,
"name": "[GER] usa-life.net - Altis Life | Neuanfang am 24.10.25 (WIPE)",
"connect": "51.195.61.187:2302",
"request": "51.195.61.187:2303",
"map": "altis",
"gamemode": "Altis Life RPG - USA LIFE 3.0",
"version": "2.20.152984",
"numplayers": 0,
"maxplayers": 255,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 30,
"add_date": 1692617082,
"last_update": 1779646318,
"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": 728,
"language": "de",
"parked": false,
"app": {
"id": 61,
"steam_id": 107410,
"name": "Arma 3",
"url": "arma-3"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/1306692");
$data = json_decode($json, true);
var_dump($data);