Rust
API для WARCAMPS.RU EU 3X |Solo/Duo/Trio|LootX3| JUST WIPED
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10922438json
{
"response": {
"fps": 59,
"fps_avg": 58,
"entities_count": 93884,
"world_seed": 1337,
"world_size": 3700,
"steam_id": "90284723630048276",
"domain": null,
"id": 10922438,
"ip": "89.125.181.220",
"port": 29015,
"query": 29017,
"color": 0,
"city": "Helsinki",
"description": "\n!!! What makes us special?\r\n! 3x Gather Rates – three times more loot!\r\n! Trio Mode – a team for two players only!\r\n! Custom Map – everything for adventures and events!\r\n! Teleport Commands: /tpr, /outpost, /home – easy survival for newcomers!\r\n! Fast Craft & Smelt – save time on PVE!\r\n! Tier 1 Workbench Learned – instant mid-game content!\r\n! Workbench in Tool Cupboard Zone – craft right in your build area!\r\n! Clans: auto-authorization, solo locks, blueprint sharing!\r\n! Raid/Combat Block – fair fights, no teleport or trade during combat!\r\n! 5-Min Nights + 55-Min Clear Days – more daylight to play!\r\n! Auto-Loot Barrels – collect loot right after harvesting in the area!\r\n! Animals without AI – BOTS WORK, bears, crocodiles and wolves are asleep!\r\n! No Friendly Fire – use /cff in chat and shoot your teammate, no damage dealt!\r\n! Recyclers: at RT, Cargo, Fishing Villages!\r\n! Improved Airdrop – everything for PVP!\r\n! Shops: no markups and no cooldowns!\r\n! Increased Stack Sizes – 50k for stone, sulfur, gunpowder, metal, etc.!\r\n! Build Limits: 45 sleeping bags, 36 turrets – X3 not just for loot!\r\n! Trades – exchange items anywhere!\r\n! Free Starter Kits: house, bow, resources!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776744202,
"score": 0,
"last_online": 1776825623,
"icon": null,
"name": "WARCAMPS.RU EU 3X |Solo/Duo/Trio|LootX3| JUST WIPED",
"connect": "89.125.181.220:29015",
"request": "89.125.181.220:29017",
"map": "Wiped 4 Days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768476939,
"last_update": 1776825623,
"banned": false,
"wipe": 1776434185,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4211,
"language": "fi",
"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/10922438");
$data = json_decode($json, true);
var_dump($data);