API для rusthurts.com - 5x Max8 (Just wiped)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 58742,
"world_seed": 1337,
"world_size": 3300,
"steam_id": "90286603580141588",
"domain": null,
"id": 761225,
"ip": "168.100.161.72",
"port": 28010,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nWelcome to rusthurts!\nModded Rust servers, built from the ground up.\n\n⚠ We're a brand new community, come check us out!\n\nSome features of our 5x Max8 server:\n- Team limit: 8\n- Dynamic server slots up to 175\n- Custom maps, rotating every wipe\n- 5x gather, 10x sulfur\n- No BPs\n- No workbench\n- Сustom events\n- Kits & Teleports\n- Instant crafting, smelting, recycling, cooking, and mixing\n- And many more exclusive features and QoL improvements",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780602635,
"icon": null,
"name": "rusthurts.com - 5x Max8 (Just wiped)",
"connect": "168.100.161.72:28010",
"request": "168.100.161.72:28015",
"map": "rusthurts.com/discord",
"gamemode": "Survival",
"version": "2627",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1680785342,
"last_update": 1780602635,
"banned": false,
"wipe": 1780595097,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2881,
"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/761225");
$data = json_decode($json, true);
var_dump($data);