Rust
API для #1 Omsk-Rust X50 MAX5
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10399119json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 65292,
"world_seed": 94843820,
"world_size": 3500,
"steam_id": "90284580404595738",
"domain": null,
"id": 10399119,
"ip": "94.137.28.90",
"port": 35400,
"query": 35403,
"color": 0,
"city": "Omsk",
"description": "\nСайт - rust-omsk.gamestores.app\r\nVK - vk.com/rust_omsk55\r\nКиты /kit\r\nСкины /skin\r\nТелепорты /tpr\r\nВнутриигровой магазин /shop\r\nМиникоптер /mymini\r\nМеню друзей /fmenu\r\nВайп Блок /block\r\nДля крафта не требуется верстак",
"game": 252490,
"owner": 95361,
"boosts": 1,
"last_offline": 1776423819,
"score": 5,
"last_online": 1776525010,
"icon": null,
"name": "#1 Omsk-Rust X50 MAX5",
"connect": "94.137.28.90:35400",
"request": "94.137.28.90:35403",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 1,
"maxplayers": 100,
"bots": 0,
"secured": false,
"private": false,
"country": "RU",
"status": true,
"votes": 46,
"points": 141,
"add_date": 1759223197,
"last_update": 1776525010,
"banned": false,
"wipe": 1776423704,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": 1,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 28,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "Hooligan55rus",
"avatar": "dcd4fabb-a7c5-4581-bec6-c1a9511dce51.jpg",
"last_online": 1776184312
},
"mods": [
{
"id": 379,
"name": "VIP"
},
{
"id": 343,
"name": "Skins"
},
{
"id": 435,
"name": "VIP FREE"
},
{
"id": 436,
"name": "Weapon Skins"
},
{
"id": 979,
"name": "Kits"
},
{
"id": 1323,
"name": "Shop"
},
{
"id": 370,
"name": "Time VIP"
},
{
"id": 926,
"name": "IQChat"
},
{
"id": 1388,
"name": "Stack Size Controller"
},
{
"id": 1227,
"name": "RaidBlock"
},
{
"id": 947,
"name": "IQRates"
},
{
"id": 1589,
"name": "No Steam"
},
{
"id": 361,
"name": "SystemReport (Discord)"
},
{
"id": 1528,
"name": "Wipe Block"
},
{
"id": 1578,
"name": "XStatistics"
},
{
"id": 952,
"name": "IQTeleportation"
},
{
"id": 935,
"name": "IQGradeRemove"
},
{
"id": 1357,
"name": "Skip Night"
},
{
"id": 954,
"name": "IQWipeBlock"
}
],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/10399119");
$data = json_decode($json, true);
var_dump($data);