Rust
API для [RU] ULTRA RUST x50 Max 10 | Loot+ | Events | Custom
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/11394270json
{
"response": {
"oxide": true,
"modded": true,
"fps": 52,
"fps_avg": 53,
"entities_count": 47478,
"world_seed": 1337,
"world_size": 2500,
"steam_id": "90284737669378056",
"domain": null,
"id": 11394270,
"ip": "95.217.107.239",
"port": 10010,
"query": 10011,
"color": 0,
"city": "Helsinki",
"description": "Самый лучший сервер по х50 /n Loot+ очень много лута /n Кастомная карта /n Нет дверей в рт /n Турели без электричества /n Киты /n Рюкзак /n Статистика и топ игроков",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776489199,
"score": 0,
"last_online": 1776825618,
"icon": null,
"name": "[RU] ULTRA RUST x50 Max 10 | Loot+ | Events | Custom",
"connect": "95.217.107.239:10010",
"request": "95.217.107.239:10011",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2388",
"numplayers": 2,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "FI",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1774596930,
"last_update": 1776825618,
"banned": false,
"wipe": 1776517848,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1603,
"language": "fi",
"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/11394270");
$data = json_decode($json, true);
var_dump($data);