Rust
API для EU RENEGADE 2x Monthly Low - Medium Pop | 50% Upkeep | No BP Wi
Мы предлагаем широкий выбор методов интеграции. Вы можете воспользоваться любым из них или создать свой собственный с помощью JSON API. Если у вас есть предложение по добавлению нового метода интеграции, пожалуйста, свяжитесь с нами. Связаться с нами
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/688452json
{
"response": {
"fps": 25,
"fps_avg": 24,
"entities_count": 455183,
"world_seed": 1337,
"world_size": 4000,
"steam_id": "90284212366823426",
"domain": null,
"id": 688452,
"ip": "45.88.230.188",
"port": 28017,
"query": 28015,
"color": 0,
"city": "Poplar",
"description": "===Welcome to EU RENEGADERUST.COM 2x Monthly Low Pop=== Wipes on the first Thur",
"game": 252490,
"owner": 34811,
"boosts": 1,
"last_offline": 1775887918,
"score": null,
"last_online": 1775913010,
"icon": null,
"name": "EU RENEGADE 2x Monthly Low - Medium Pop | 50% Upkeep | No BP Wi",
"connect": "45.88.230.188:28017",
"request": "45.88.230.188:28015",
"map": "discord.gg/RenegadeRust",
"gamemode": "Survival",
"version": "2623",
"numplayers": 230,
"maxplayers": 255,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 138,
"add_date": 1672001981,
"last_update": 1775913010,
"banned": false,
"wipe": 1775151514,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": null,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 45,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "GeoSciencegeek",
"avatar": "6bd50a36-573e-4532-b65d-d3f80795e956.jpg",
"last_online": 1680594104
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/688452");
$data = json_decode($json, true);
var_dump($data);