Rust
API для La Cueva Corp. - EU 2x Main | LootX2 | Events | Just Wiped 02.0
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10870079json
{
"response": {
"fps": 215,
"fps_avg": 211,
"entities_count": 74762,
"world_seed": 1,
"world_size": 3500,
"steam_id": "90284727065943067",
"domain": null,
"id": 10870079,
"ip": "148.251.134.120",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Falkenstein",
"description": "\n[WIPE SCHEDULE] \r\n Map - Fridays # 5PM UK / 6PM CEST (or when force updates occur.) \r\n BPs - Monthly # Force \r\n \r\n VIP - vip.lacuevacorp.es \r\n \r\n [RULES] \r\n - No intentional bug abuse \r\n - No hacking/scripting \r\n - No EAC / FP banned alts \r\n - No ban evading \r\n - No racism \r\n \r\n [EXTRA INFO] \r\n - Group Max 5 \r\n - Good performance \r\n - Semi-Vanilla Experience \r\n - If you wish to open a ticket, you can do so on our Discord \r\n - Hosted on AlienHost.es \r\n \r\n [Discord] \r\n https://discord.gg/AVc7TNE",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776099112,
"score": 0,
"last_online": 1776814826,
"icon": null,
"name": "La Cueva Corp. - EU 2x Main | LootX2 | Events | Just Wiped 02.0",
"connect": "148.251.134.120:28015",
"request": "148.251.134.120:28017",
"map": "Procedural+",
"gamemode": "Survival",
"version": "2623",
"numplayers": 2,
"maxplayers": 150,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1768318388,
"last_update": 1776814826,
"banned": false,
"wipe": 1776441969,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4237,
"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/10870079");
$data = json_decode($json, true);
var_dump($data);