Rust
API для Rusticated.com - EU | 2x Vanilla | Monday | Shared Bps | 4/6
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/4811314json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 131796,
"world_seed": 440889491,
"world_size": 4000,
"steam_id": "90284217541661708",
"domain": null,
"id": 4811314,
"ip": "185.248.134.48",
"port": 28010,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nMonday weekly map wipes, Bps wipe on force wipe\r\nPurchase Vip at: www.rusticated.com/vip\r\nDiscord: rusticated.com/discord\r\n\r\nUse /rules in game to see our rules \r\n\r\nShared BP's with Team \r\nHalf Craft & Half Recycling \r\nFull Base WorkBench \r\nJunk removed from loot tables \r\nPlus More!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775157732,
"score": 0,
"last_online": 1775910015,
"icon": null,
"name": "Rusticated.com - EU | 2x Vanilla | Monday | Shared Bps | 4/6",
"connect": "185.248.134.48:28010",
"request": "185.248.134.48:28015",
"map": "Rusticated Generated Maps",
"gamemode": "Survival",
"version": "2623",
"numplayers": 18,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 65,
"add_date": 1718907460,
"last_update": 1775910015,
"banned": false,
"wipe": 1775480232,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1294,
"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/4811314");
$data = json_decode($json, true);
var_dump($data);