Rust
#4 BroRust X5/X10|MAX 2|GLOBAL WIPE 21.04|TP|KIT|LOOT+|SHOP için API
Programlar, siteler ve diğerleri için JSON
text
https://api.gamemonitoring.tr/servers/11435583json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 89299,
"world_seed": 42104,
"world_size": 3600,
"steam_id": "90284836352030721",
"domain": null,
"id": 11435583,
"ip": "109.248.4.163",
"port": 28015,
"query": 40000,
"color": 0,
"city": "Moscow",
"description": "\n✓ У нас нет лагов!\r\n✓ Private AntiCheat!\r\n✓ X5/X10 | MAX 2 | TP | GLOBAL WIPE 21.04 | CraftSystem | KIT | InstaCraft\r\n✓ Ресурсы X5/X10, Лут X2.5/X5, Карьер X5\r\n✓ Добавь в ник BroRust и получи /kit daily и 50 рублей бонуса!\r\n\r\n✓ Site: BroRust.com\r\n✓ Группа VK: vk.com/brorustsrv\r\n✓ Discord: Dc.BroRust.com\r\n✓ Telegram: t.me/brorust\r\nSteam: Steam.BroRust.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775268127,
"score": 2.3,
"last_online": 1776976219,
"icon": null,
"name": "#4 BroRust X5/X10|MAX 2|GLOBAL WIPE 21.04|TP|KIT|LOOT+|SHOP",
"connect": "109.248.4.163:28015",
"request": "109.248.4.163:40000",
"map": "BroRust Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 6,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 62,
"add_date": 1774977194,
"last_update": 1776976219,
"banned": false,
"wipe": 1776769098,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1477,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/11435583");
$data = json_decode($json, true);
var_dump($data);