NOR Lendur 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": "90286458630716440",
"domain": null,
"id": 11710396,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Egersund",
"description": null,
"game": 346110,
"owner": null,
"boosts": 1,
"last_offline": 1780300617,
"last_online": 1780334509,
"icon": null,
"name": "NOR Lendur",
"connect": null,
"request": null,
"map": "Valguero_P",
"gamemode": "TestGameMode_C",
"version": "357.18",
"numplayers": 0,
"maxplayers": 10,
"bots": 0,
"secured": true,
"private": false,
"country": "NO",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1780300617,
"last_update": 1780334509,
"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": 16945,
"language": "no",
"parked": true,
"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/11710396");
$data = json_decode($json, true);
var_dump($data);