Rust
API для WILDERNESS Romania Vanilla Solo/Duo/Trio No BP Wipe Mondays
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10740372json
{
"response": {
"fps": 57,
"fps_avg": 57,
"entities_count": 69379,
"world_seed": 842481,
"world_size": 3600,
"steam_id": "90284556196601866",
"domain": null,
"id": 10740372,
"ip": "49.12.146.141",
"port": 28035,
"query": 28036,
"color": 0,
"city": "Falkenstein",
"description": "\nMap Wipes: Monday 16:00 CET\r\n BPs Wipes: Monthly on Force\r\n\r\n ★ 100% Vanilla no P2W content\r\n ★ Group limit: 3\r\n ★ Map size: 3500\r\n ★ Admins do not play\r\n ★ Active Staff 24/7 • Friendly Community • No Teaming Abuse\r\n\r\n ★ Rules:\r\n Be a nice human being. Toxicity will not be tolerated.\r\n\r\n ★Click the external website below to join our Discord★",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776420221,
"score": 0,
"last_online": 1776525028,
"icon": null,
"name": "WILDERNESS Romania Vanilla Solo/Duo/Trio No BP Wipe Mondays",
"connect": "49.12.146.141:28035",
"request": "49.12.146.141:28036",
"map": "High FPS | Wiped - 5d ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1766250688,
"last_update": 1776525028,
"banned": false,
"wipe": 1776088722,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4405,
"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/10740372");
$data = json_decode($json, true);
var_dump($data);