Rust
API для Rusty Island Paradise AU 5X PVE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11160113json
{
"response": {
"fps": 92,
"fps_avg": 88,
"entities_count": 101961,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90285630159670273",
"domain": null,
"id": 11160113,
"ip": "103.192.80.159",
"port": 7103,
"query": 7105,
"color": 0,
"city": "Melbourne",
"description": "\nRusty Island Paradise is an old server reborn! \r\n Become part of an inclusive fun community. \r\n • Airfield Drops Event \r\n • Convoy Event \r\n • Harbour Event \r\n • Raidable Bases \r\n • 5x Gather rate \r\n • 5x Loot \r\n • Backpacks \r\n • Kits..and more.",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778518986,
"score": 0,
"last_online": 1778554817,
"icon": null,
"name": "Rusty Island Paradise AU 5X PVE",
"connect": "103.192.80.159:7103",
"request": "103.192.80.159:7105",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1772228152,
"last_update": 1778554817,
"banned": false,
"wipe": 1778180182,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2016,
"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/11160113");
$data = json_decode($json, true);
var_dump($data);