API для RustaRoo Monthly AU | 25% Upkeep | Noob Friendly | Vanilla
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 89499,
"world_seed": 1337,
"world_size": 3850,
"steam_id": "90286327898104856",
"domain": null,
"id": 9357389,
"ip": "51.161.198.94",
"port": 28050,
"query": 28051,
"color": 0,
"city": "North Sydney",
"description": "\nMonthly wipe @ Force wipe.\r\nMonthly blueprint wipes.\r\nRaidable Bases can be found around the map!\r\n25% upkeep. \r\nDaily restart and backup at 2AM AEST.\r\n\r\n~Rules~\r\nActive admins - join our discord by clicking external website below to make a ticket for support or to report cheating.\r\nRacism or player abuse will result in an in-game mute of varying length depending on the severity.\r\nCheating is not tolerated.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780573417,
"last_online": 1779988229,
"icon": null,
"name": "RustaRoo Monthly AU | 25% Upkeep | Noob Friendly | Vanilla",
"connect": "51.161.198.94:28050",
"request": "51.161.198.94:28051",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1747782730,
"last_update": 1780573417,
"banned": false,
"wipe": 1778181304,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 10499,
"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/9357389");
$data = json_decode($json, true);
var_dump($data);