Rust
VBEGHUB RUST #3 | X2 | CLANS | PIRATE 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/3949859json
{
"response": {
"steam_id": null,
"domain": null,
"id": 3949859,
"ip": null,
"port": null,
"query": null,
"color": 0,
"city": null,
"description": "[{\"id\":\"g7ggx0jgy\",\"type\":\"image\",\"data\":{\"file\":{\"url\":\"https://gspics.org/images/2024/04/23/0jrUBw.png\"},\"caption\":\"$VBEGHUB RUST #3 | FULL CLASSIC | NOLIMIT\",\"withBorder\":false,\"stretched\":true,\"withBackground\":false}},{\"id\":\"m2tu67x7z\",\"type\":\"paragraph\",\"data\":{\"text\":\"Сервер построенный по мотивам всеми любимого сайта! \\n\\n >Дискорд сервер -> discord.gg/vbeghub \\n\\n >Группа ВКонтакте -> vk.com/vbeghubrust \\n\\n >Телеграмм канал -> t.me/rustvbeghub \\n\\n >connect 37.230.137.16:20520 \\n\\n >Вайп каждую пятницу в 12:00 по МСК\"}}]",
"game": 252490,
"owner": 69701,
"boosts": 1,
"last_offline": 1750457066,
"score": 0,
"last_online": 1745355622,
"icon": null,
"name": "VBEGHUB RUST #3 | X2 | CLANS | PIRATE",
"connect": null,
"request": null,
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": null,
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1713949750,
"last_update": 1750457066,
"banned": false,
"wipe": 1744981153,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 7124,
"language": "ru",
"parked": true,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "Bizlich",
"avatar": "a5ad5d51-b6cf-49fe-9430-e4c5ef3cbbeb.jpg",
"last_online": 1746993841
},
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/3949859");
$data = json_decode($json, true);
var_dump($data);