API для Hustle Rust - [2X, VANILLA]
JSON для программ, сайтов и прочего
text
json
{
"response": {
"fps": 48,
"fps_avg": 49,
"entities_count": 161326,
"world_seed": 1337,
"world_size": 4250,
"steam_id": "90286747668443144",
"domain": null,
"id": 11492501,
"ip": "185.207.214.114",
"port": 35000,
"query": 35003,
"project_id": null,
"color": 0,
"city": "Moscow",
"description": "![Hustle Rust - [2X, VANILLA]](https://github.com/Hustle-Industries/Photos/blob/main/Vanilla/banner3.png?raw=true)\ngm.link/u194706Вайп каждый Понедельник в 14:00 по МСК\r\nУдаление чертежей каждые 2 недели\r\n\r\nИнформация:\r\n▪ Удалён в",
"game": 252490,
"owner": 194706,
"boosts": 1,
"last_offline": 1780914257,
"last_online": 1780945212,
"icon": null,
"name": "Hustle Rust - [2X, VANILLA]",
"connect": "185.207.214.114:35000",
"request": "185.207.214.114:35003",
"map": "WIPED 8 HOURS AGO",
"gamemode": "Survival",
"version": "2627",
"numplayers": 370,
"maxplayers": 400,
"bots": 0,
"secured": true,
"private": false,
"country": "RU",
"status": true,
"votes": 0,
"points": 141,
"add_date": 1778856934,
"last_update": 1780945212,
"banned": false,
"wipe": 1780914783,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 29,
"language": "ru",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": {
"username": "hustle_rust",
"avatar": "73723e35-cf87-4149-a2c8-bad90acd101b.jpg"
},
"mods": [],
"disabled_modules": []
}
}Примеры кода
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ru/servers/11492501");
$data = json_decode($json, true);
var_dump($data);