Rust
API для [EU] RustValley 10x PVE+ |Legendary Weapons| Raidable Bases|
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/9662786json
{
"response": {
"fps": 18,
"fps_avg": 18,
"entities_count": 331960,
"world_seed": 1337,
"world_size": 4500,
"steam_id": "90284725772254225",
"domain": null,
"id": 9662786,
"ip": "185.195.237.240",
"port": 10000,
"query": 9000,
"color": 0,
"city": "Frankfurt am Main",
"description": "![[EU] RustValley 10x PVE+ |Legendary Weapons| Raidable Bases|](https://image.myrustserver.com/logo/tedymt_6813310d976dc.png)\n[EU] New RustValley | PVE+ | ARMAS LENDÁRIAS | BASES RAIDAVEIS | SKILLS \r\nWipe: BI-WEEKLY @ 16:00 BR \r\n\r\nFeatures: \r\n✯ VIRTUAL QUARRIES /vq\r\n✯ LEGENDARY WEAPONS\r\n✯ CASINO /casino\r\n✯ RAIDABLE BASES\r\n✯ SKILL TREE\r\n✯ PURGE ON THE LAST DAY OF WIPE\r\n✯ STARTER KITS \r\n✯ /SHOP TO BUY ITEMS\r\n✯EPIC LOOT /el",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1776405817,
"score": 0,
"last_online": 1776825614,
"icon": null,
"name": "[EU] RustValley 10x PVE+ |Legendary Weapons| Raidable Bases|",
"connect": "185.195.237.240:10000",
"request": "185.195.237.240:9000",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 36,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "DE",
"status": true,
"votes": 0,
"points": 79,
"add_date": 1751634359,
"last_update": 1776825614,
"banned": false,
"wipe": 1776364776,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 384,
"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/9662786");
$data = json_decode($json, true);
var_dump($data);