Rust
API для >>> ONLYFUN SERVER PVE x10+ <<<
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9259318json
{
"response": {
"fps": 35,
"fps_avg": 33,
"entities_count": 164297,
"world_seed": 558377569,
"world_size": 4500,
"steam_id": "90284722304587804",
"domain": null,
"id": 9259318,
"ip": "176.9.121.217",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Falkenstein",
"description": "\nSaving inventory on death\r\nBackpack\r\nMinicopter\r\nRaid bases\r\nSkins (/sb)\r\nNature market shop (/nm)\r\n\r\nTG: @onlyfun_rust",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775154731,
"score": 0,
"last_online": 1776825617,
"icon": null,
"name": ">>> ONLYFUN SERVER PVE x10+ <<<",
"connect": "176.9.121.217:28080",
"request": "176.9.121.217:28015",
"map": "Only for Fun",
"gamemode": "Survival",
"version": "2623",
"numplayers": 3,
"maxplayers": 50,
"bots": 0,
"secured": false,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 63,
"add_date": 1747587326,
"last_update": 1776825617,
"banned": false,
"wipe": 1775154803,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 1021,
"language": "de",
"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/9259318");
$data = json_decode($json, true);
var_dump($data);