[1.16+] gm.link/u147979 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"steam_id": null,
"domain": null,
"id": 10655317,
"ip": null,
"port": null,
"query": null,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": "[{\"id\":\"Oakp5mdkJm\",\"type\":\"paragraph\",\"data\":{\"text\":\"Выживание без правил! Анархия, PVP и полный гриферский беспредел. Здесь каждый сам за себя. Готов испытать свои силы?\"}}]",
"game": 9000034,
"owner": 147979,
"boosts": 1,
"last_offline": 1766901060,
"last_online": 1765966211,
"icon": null,
"name": "[1.16+] gm.link/u147979",
"connect": null,
"request": null,
"map": null,
"gamemode": null,
"version": null,
"numplayers": 0,
"maxplayers": 170,
"bots": 0,
"secured": false,
"private": null,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1763903200,
"last_update": 1766901060,
"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": 5640,
"language": "ru",
"parked": true,
"app": {
"id": 169,
"steam_id": 9000034,
"name": "Minecraft",
"url": "minecraft"
},
"server_owner": {
"username": "xeoni_m",
"avatar": "d45b8482-8fe2-4479-a453-9f5e0448bf1d.jpg"
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/10655317");
$data = json_decode($json, true);
var_dump($data);