[PVE] N.L.R x10 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 4938710,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"bMw2dx9mB4\",\"type\":\"paragraph\",\"data\":{\"text\":\"Уважаемый Игрок! Добро пожаловать на лучший [PVE] LightBeer х10 сервер RUST! Киты на оружие и компоненты Улучщенный Лут Легкий х10 фарм Скины для предметов и домов Разнообразные игровые ивенты Мы живем тут: https://newlegendrust.ru/\"}}]",
"game": 252490,
"owner": 72087,
"boosts": 1,
"last_offline": 1750457066,
"last_online": 1738183828,
"icon": null,
"name": "[PVE] N.L.R x10",
"connect": null,
"request": null,
"map": "Custom Map",
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 250,
"bots": 0,
"secured": false,
"private": false,
"country": "FI",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1720089962,
"last_update": 1750457066,
"banned": false,
"wipe": 1737325901,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 13084,
"language": "fi",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "79",
"avatar": "66537aa6-fa53-4cc3-b131-b9728fbf6138.jpg"
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/4938710");
$data = json_decode($json, true);
var_dump($data);