API для Rusty Tortoise
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 92273,
"world_seed": 490966443,
"world_size": 4000,
"steam_id": 90286641581333520,
"domain": null,
"id": 8808625,
"ip": "47.206.72.241",
"port": 28015,
"query": 28016,
"project_id": null,
"color": 0,
"city": "Tampa",
"description": "\nWelcome to the Rusty Tortoise!\r\n\r\nThis server is vanilla.\r\n\r\nPlease follow these simple rules:\r\n\r\n1. No cheating or exploiting.\r\n2. Be respectful to all players.\r\n3. No griefing or toxic behavior.\r\n\r\nDecay rates are set low to allow more relaxed base upkeep.\r\n\r\nLooking ahead: We plan to introduce raid windows in the future. During these times, bases will only be vulnerable to raids, offering a fairer and more balanced experience.\r\n\r\nThank you for playing and enjoy your time!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780679066,
"last_online": 1780710631,
"icon": null,
"name": "Rusty Tortoise",
"connect": "47.206.72.241:28015",
"request": "47.206.72.241:28016",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1746050045,
"last_update": 1780710631,
"banned": false,
"wipe": 1780680631,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3388,
"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.ru/servers/8808625");
$data = json_decode($json, true);
var_dump($data);