Rust
API для [US] DuckHunt's Survivor Haven |PVE|SKILLS|QUESTS|5X|
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/8198299json
{
"response": {
"fps": 185,
"fps_avg": 175,
"entities_count": 58701,
"world_seed": 1088510336,
"world_size": 3700,
"steam_id": "90285029189462026",
"domain": null,
"id": 8198299,
"ip": "162.245.189.10",
"port": 28080,
"query": 28015,
"color": 0,
"city": "Secaucus",
"description": "![[US] DuckHunt's Survivor Haven |PVE|SKILLS|QUESTS|5X|](https://www.dropbox.com/scl/fi/k92rp7caydu58ahxfay0b/ServerBanner.png?rlkey=l7lwfhqsu8ml7bs87tgup4n8r&st=jhx44mnu&dl=1)\nPVE with PVP ZONES... 5X Gather New and Seasoned player friendly. We have plugins like Raidable Bases, Boss Monster, Vehicle License, and others... Be chill and most importantly Have Fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1777284752,
"score": 0,
"last_online": 1777712420,
"icon": null,
"name": "[US] DuckHunt's Survivor Haven |PVE|SKILLS|QUESTS|5X|",
"connect": "162.245.189.10:28080",
"request": "162.245.189.10:28015",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1742388545,
"last_update": 1777712420,
"banned": false,
"wipe": 1776999609,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3284,
"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/8198299");
$data = json_decode($json, true);
var_dump($data);