Rust
API для BLACK ZONE X2 | KITS | PVP | NOLIMIT | CLAN | EVENT |
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11259984json
{
"response": {
"fps": 83,
"fps_avg": 83,
"entities_count": 78545,
"world_seed": 1121224751,
"world_size": 3500,
"steam_id": "90284790450166791",
"domain": null,
"id": 11259984,
"ip": "146.59.54.7",
"port": 20550,
"query": 20551,
"color": 0,
"city": "Warsaw",
"description": "\nBLACK ZONE x2 Территория сильнейших. Зона без правил. Выживает только лучший. Rust Server — Black Zone x2 Рейты: x2 Быстрый старт — лут, крафт и развитие без гринда Частые рейды — максимум экшена Баланс PvP / PvE Кастомные плагины Удобное строительство Увеличенный лут Уникальная карта Активная администрация Нет вайпов без предупреждения Высокий FPS / стабильный пинг",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776643996,
"score": 0,
"last_online": 1776819025,
"icon": null,
"name": "BLACK ZONE X2 | KITS | PVP | NOLIMIT | CLAN | EVENT |",
"connect": "146.59.54.7:20550",
"request": "146.59.54.7:20551",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "PL",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1774555185,
"last_update": 1776819025,
"banned": false,
"wipe": 1776349029,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4862,
"language": "pl",
"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/11259984");
$data = json_decode($json, true);
var_dump($data);