Rust
API pentru BERLOGA | SIBERIA | ДЛЯ НОВИЧКОВ | monthly [RU]
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/11252650json
{
"response": {
"fps": 208,
"fps_avg": 207,
"entities_count": 124222,
"world_seed": 910630861,
"world_size": 4500,
"steam_id": "90285099851172870",
"domain": null,
"id": 11252650,
"ip": "82.147.67.177",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Novosibirsk Oblast",
"description": "BERLOGA | SIBERIA | ДЛЯ НОВИЧКОВ | monthly [RU]\r\nВайп раз в месяц, в пятницу в 16:00 по МСК gm.link/u100870\r\nПолностью классическое выживание, без доната\r\nОбслуживание дома снижено на 50%\r\nВ рыбацких деревнях устанолвены дополнительные переработчики и дрон магазины",
"game": 252490,
"owner": 100870,
"boosts": 1,
"last_offline": 1775153532,
"score": 5,
"last_online": 1777437010,
"icon": null,
"name": "BERLOGA | SIBERIA | ДЛЯ НОВИЧКОВ | monthly [RU]",
"connect": "82.147.67.177:28015",
"request": "82.147.67.177:28017",
"map": "Procedural Map",
"gamemode": "Vanilla",
"version": "2623",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 100,
"add_date": 1774435536,
"last_update": 1777437010,
"banned": false,
"wipe": 1775153593,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 94,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "KirillSysoev",
"avatar": "5acb95f8-3b23-49e8-a8a1-d41184b52379.jpg",
"last_online": 1777189906
},
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/11252650");
$data = json_decode($json, true);
var_dump($data);