Rust
API для HollowServers.co 2x Monthly Solo/Duo|No BP Wipes|50% Upkeep
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10870888json
{
"response": {
"fps": 29,
"fps_avg": 28,
"entities_count": 125449,
"world_seed": 1337,
"world_size": 3250,
"steam_id": "90284362145795083",
"domain": null,
"id": 10870888,
"ip": "62.233.59.67",
"port": 28015,
"query": 28010,
"color": 0,
"city": "New York",
"description": "Welcome to Hollow Servers, the heart of modded rust\r\n\r\n\\t - 2x Gather Rate\r\n\\t - Max Team: 2\r\n\\t - Custom Loot Tables\r\n\\t - Tier 1 BPs unlocked\r\n\\t - Recyclers at Dome, Oilrigs, Cargo, Ranches & Fishing Villages\r\n\\t - Long Days & Short Nights\r\n\\t - Automated Teaming Detection\r\n\\t - Custom AntiCheat",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775819525,
"score": 0,
"last_online": 1776834016,
"icon": null,
"name": "HollowServers.co 2x Monthly Solo/Duo|No BP Wipes|50% Upkeep",
"connect": "62.233.59.67:28015",
"request": "62.233.59.67:28010",
"map": "Wiped - 19 Days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 13,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 67,
"add_date": 1768318484,
"last_update": 1776834016,
"banned": false,
"wipe": 1775151748,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 646,
"language": "en",
"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/10870888");
$data = json_decode($json, true);
var_dump($data);