Rust
API pentru SFX RUST 2X MAIN
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10957532json
{
"response": {
"fps": 494,
"fps_avg": 492,
"entities_count": 82057,
"world_seed": 1180654885,
"world_size": 4000,
"steam_id": "90284383944992773",
"domain": null,
"id": 10957532,
"ip": "195.18.27.224",
"port": 35100,
"query": 35110,
"color": 0,
"city": "Moscow",
"description": "\nSFX RUST - Полуклассические сервера, мощное железо. Мы знаем чего хотят игроки - поэтому наш сервер лучшее решение для игры! \r\n-Активная администрация\r\n-Ускоренная плавка печей и ускоренные переработчики -Оптимизация для высокого ФПС \r\n-Увеличенный спавн животных и камней\r\n-Компоненты и руда Х2\r\n\r\nНаш дискорд - https://discord.gg/SFXRUST \r\nНаш телеграмм - https://t.me/SFXPUBLIC\r\nНаш магазин - https://sfxrust.gamestores.app",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776124917,
"score": 1,
"last_online": 1776254417,
"icon": null,
"name": "SFX RUST 2X MAIN",
"connect": "195.18.27.224:35100",
"request": "195.18.27.224:35110",
"map": "Custom Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 300,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768741701,
"last_update": 1776254417,
"banned": false,
"wipe": 1775829436,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4543,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/10957532");
$data = json_decode($json, true);
var_dump($data);