Rust
[EU]Carnage Classic - Main | Для новичков 的 API
面向程序、网站等的 JSON
text
https://api.gamemonitoring.cn/servers/11435553json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 65165,
"world_seed": 104095229,
"world_size": 3500,
"steam_id": "90285649174290437",
"domain": null,
"id": 11435553,
"ip": "185.172.175.236",
"port": 28035,
"query": 28036,
"color": 0,
"city": "City of London",
"description": "![[EU]Carnage Classic - Main | Для новичков](https://i.ibb.co/7NrFZhtd/BANNNER.jpg)\nWelcome to CARNAGE Classic! [RU/EU]\r\n\r\n--- RU ОПИСАНИЕ ---\r\nДобро пожаловать на Carnage! Мы за честный и качественный Rust.\r\n• Группа: Без лимита (No Limit).\r\n• Геймплей: Чистая ванилла (No kits/TP).\r\n• Новичкам рады: Адекватное комьюнити.\r\n• Честная игра: Активная модерация.\r\n• Вайп: Каждые 2 недели (Четверг).\r\n\r\n--- EN DESCRIPTION ---\r\n• Group Limit: No Limit.\r\n• Experience: Pure Vanilla (No kits/TP).\r\n• Rules: No Cheating / Fair Play.\r\n• Wipe: Every 2 weeks (Thursday).\r\n\r\nWebsite: carnage.com.ua\r\nJoin us and prove your skills!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778218336,
"score": 0,
"last_online": 1778573421,
"icon": null,
"name": "[EU]Carnage Classic - Main | Для новичков",
"connect": "185.172.175.236:28035",
"request": "185.172.175.236:28036",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774977194,
"last_update": 1778573421,
"banned": false,
"wipe": 1778218412,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4690,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}代码示例
php
<?php
$json = file_get_contents("https://api.gamemonitoring.cn/servers/11435553");
$data = json_decode($json, true);
var_dump($data);