API для rusthurts.com - 2x Max8 (Just wiped)
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 57240,
"world_seed": 1337,
"world_size": 3300,
"steam_id": "90286603535758354",
"domain": null,
"id": 1832346,
"ip": "168.100.161.70",
"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 2x Max8 server:\n- Team limit: 8\n- Dynamic server slots up to 175\n- Custom maps, rotating every wipe\n- Shorter nights, longer days\n- Full base workbench\n- Cars spawn ready to drive\n- 50% Upkeep\n- Fast Travel NPC\n- Crafting, smelting, researching, recycling, cooking, and mixing times cut in half\n- And many more exclusive features and QoL improvements",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780595060,
"last_online": 1780597231,
"icon": null,
"name": "rusthurts.com - 2x Max8 (Just wiped)",
"connect": "168.100.161.70:28010",
"request": "168.100.161.70:28015",
"map": "rusthurts.com/discord",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1700086830,
"last_update": 1780597231,
"banned": false,
"wipe": 1780595101,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2076,
"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/1832346");
$data = json_decode($json, true);
var_dump($data);