Rust
API для Aqua Rust | x2 Monthly | No BP Wipes | 50% Upkeep
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10622727json
{
"response": {
"fps": 106,
"fps_avg": 102,
"entities_count": 101642,
"world_seed": 1337,
"world_size": 4250,
"steam_id": "90285022355192836",
"domain": null,
"id": 10622727,
"ip": "45.92.36.103",
"port": 28015,
"query": 28016,
"color": 0,
"city": "Maidenhead",
"description": "\nBi-Weekly Vanilla Server\r\n\r\nFeatures:\r\n - 24h Offline Raid Protection\r\n - Team Limit: 8\r\n - Turret Limit: 25\r\n - 50% Upkeep\r\n - No BP Wipes\r\n - Noob Friendly\r\n - Heli's spawn on roads\r\n\r\nWebsite: aquarust.co.uk",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777269805,
"score": 0,
"last_online": 1777324220,
"icon": null,
"name": "Aqua Rust | x2 Monthly | No BP Wipes | 50% Upkeep",
"connect": "45.92.36.103:28015",
"request": "45.92.36.103:28016",
"map": "by klauz24",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1763330617,
"last_update": 1777324220,
"banned": false,
"wipe": 1775153530,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3954,
"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/10622727");
$data = json_decode($json, true);
var_dump($data);