Rust
API для vendalized PVE
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10633081json
{
"response": {
"modded": true,
"fps": 90,
"fps_avg": 89,
"entities_count": 69273,
"world_seed": 76086432,
"world_size": 2500,
"steam_id": "90285682865694743",
"domain": null,
"id": 10633081,
"ip": "185.180.2.35",
"port": 28634,
"query": 27634,
"color": 0,
"city": "Prague",
"description": "\nIMPORTANT NOTICE:\r\nServer is currently still under heavy development!\r\nFeatures might change or get removed at any time without prior notice.\r\nJoin the Discord to get all the latest news and updates.\r\n(for link click website button)\r\n_____________________________________________________________\r\nIt is what it is ... take it or leave it!\r\n\r\nNo VIP!!!, just your time and effort!!!\r\n____________________________________________________________\r\npowered by Carbon Framework",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778198585,
"score": 0,
"last_online": 1778688619,
"icon": null,
"name": "vendalized PVE",
"connect": "185.180.2.35:28634",
"request": "185.180.2.35:27634",
"map": "WildValley",
"gamemode": "Survival",
"version": "2625",
"numplayers": 1,
"maxplayers": 30,
"bots": 0,
"secured": true,
"private": false,
"country": "CZ",
"status": true,
"votes": 0,
"points": 61,
"add_date": 1763713727,
"last_update": 1778688619,
"banned": false,
"wipe": 1778175683,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 2381,
"language": "cs",
"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/10633081");
$data = json_decode($json, true);
var_dump($data);