API для RUST-A-MANIA - PVE - VANILLA - NEWB FRIENDLY!
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 60,
"fps_avg": 60,
"entities_count": 46582,
"world_seed": 774201,
"world_size": 3000,
"steam_id": "90286603908946952",
"domain": null,
"id": 11607013,
"ip": "66.51.96.49",
"port": 28055,
"query": 28056,
"color": 0,
"city": "Ashburn",
"description": "\nWelcome to a chill place to mess around!\r\nPVE and Vanilla Style, Not to Modded.\r\nNewbs Welcome, Ask any questions.\r\nCalm Gameplay ASMR \r\nSmaller Maps\r\n/Remove and a couple more Plugins",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779915490,
"last_online": 1780600231,
"icon": null,
"name": "RUST-A-MANIA - PVE - VANILLA - NEWB FRIENDLY!",
"connect": "66.51.96.49:28055",
"request": "66.51.96.49:28056",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2627",
"numplayers": 1,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1779915490,
"last_update": 1780600231,
"banned": false,
"wipe": 1780596035,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2465,
"language": "en",
"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/11607013");
$data = json_decode($json, true);
var_dump($data);