Rust
API для Rustless.gg - 2X Fridays Max 8 | Vanilla+ | 4/5
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/5941980json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 92734,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90284201590079518",
"domain": null,
"id": 5941980,
"ip": "91.229.114.200",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nRustless.gg | Knock off some Rust!\n\nMap Wipes Fridays (2pm EST)\nBPs Wipe on Force Wipe\nMax Team Size 8\n\nFeatures:\n-2x Gather Rate\n-Optimized Loot Tables (Removed Junk)\n -Optimized for 2x Progression\n-Slightly adjusted Smelt/Recycling speeds\n-Recyclers at additional Monuments\nLong Days & Short Nights\n-QOL Features\nFair Kits\n -Including Free Bow/Base Kits\n -All Kits have lengthy cooldowns\n-Active Staff (Non Playing)\n\nLinks\n-discord.gg/rustless\n-store.rustless.gg",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1771351898,
"score": 0,
"last_online": 1775904616,
"icon": null,
"name": "Rustless.gg - 2X Fridays Max 8 | Vanilla+ | 4/5",
"connect": "91.229.114.200:28015",
"request": "91.229.114.200:28017",
"map": "Wiped - 5d ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1726346842,
"last_update": 1775904616,
"banned": false,
"wipe": 1775387035,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3454,
"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/5941980");
$data = json_decode($json, true);
var_dump($data);