Unturned
Russia Paradise#1|KITS|TPA|HOME|AIRDROP|LootX5| 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/10495035json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10495035,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"yh1Y63IKK1\",\"type\":\"paragraph\",\"data\":{\"text\":\"💭Выживай🧟♂️🧟♀️ с удовольствием👻\"}},{\"id\":\"C-FFhIOrDf\",\"type\":\"paragraph\",\"data\":{\"text\":\"💬Модовый👊 спавн Лута 👻\"}},{\"id\":\"ah67_sbXJ_\",\"type\":\"paragraph\",\"data\":{\"text\":\"👻Заходи проверяй👀 играй Получай удовольствие🤤\\n☠Попробуй ВЫЖИТЬ☠\\n\"}}]",
"game": 304930,
"owner": 142086,
"boosts": 1,
"last_offline": 1767247259,
"score": 5,
"last_online": 1766372411,
"icon": "https://gspics.org/images/2020/07/25/qTFvK.png",
"name": "Russia Paradise#1|KITS|TPA|HOME|AIRDROP|LootX5|",
"connect": null,
"request": null,
"map": "Winter PEI",
"gamemode": "ПВП В УДОВОЛЬСТВИЕ",
"version": null,
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1761124315,
"last_update": 1767247259,
"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": 604,
"language": "ru",
"parked": true,
"app": {
"id": 48,
"steam_id": 304930,
"name": "Unturned",
"url": "unturned"
},
"server_owner": {
"username": "Bekker",
"avatar": "6e0004aa-27e8-4cca-bddd-8ec95bee7773.jpg",
"last_online": 1775634809
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10495035");
$data = json_decode($json, true);
var_dump($data);