REALITY1 RUBY | CLASSIC 的 API
面向程序、网站等的 JSON
text
json
{
"response": {
"fps": 86,
"fps_avg": 83,
"entities_count": 73961,
"world_seed": 475389350,
"world_size": 3500,
"steam_id": "90286575535248385",
"domain": null,
"id": 805615,
"ip": "45.11.95.83",
"port": 9999,
"query": 10000,
"color": 0,
"city": "Moscow",
"description": "\nДобро пожаловать на сервер проекта Reality Rust, самый дружелюбный для новичка \\ Welcome to the Reality Rust project server, the friendliest for a beginner \r\n\r\n• полуклассика сервер \\ halfclassic server\r\n• нормал крафт \\ normal crafting\r\n• Добыча ресурсов Х2 \\ Resource extraction X2\r\n• Уникальные киты \\ Unique kits\r\n• Вайп каждую неделю в пятницу \\ Wipe every week on friday\r\n• Система античит и админы, готовые решать вопросы \\ Anti-cheat system and admins ready to resolve issues\r\n• Уникальная система монет, (больше играешь, больше зарабатываешь) \\ Unique coin system (the more you play, the more you earn)\r\n• Наш магазин - realityrust.ru\r\n• Над Дискорд Above Discord - https://discord.gg/gnye7ruvYH",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780039416,
"last_online": 1780567830,
"icon": null,
"name": "REALITY1 RUBY | CLASSIC",
"connect": "45.11.95.83:9999",
"request": "45.11.95.83:10000",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1684353809,
"last_update": 1780567830,
"banned": false,
"wipe": 1780039834,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2284,
"language": "ru",
"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/805615");
$data = json_decode($json, true);
var_dump($data);