Rust
API для Vitality - US 10x | No BPs | Kits | Shop
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10398765json
{
"response": {
"modded": true,
"fps": 67,
"fps_avg": 67,
"entities_count": 581421,
"world_seed": 1337,
"world_size": 5500,
"steam_id": "90284621064039438",
"domain": null,
"id": 10398765,
"ip": "195.60.167.10",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Ashburn",
"description": "\nVitality Rust Servers | Made for the most competitive\r\n\r\nWipe times\r\n5:00 PM EST Wednesday\r\n3:00 PM EST Saturday\r\n\r\nLinks\r\n• discord.gg/vitalityservers\r\n• vitalityrust.com/store\r\nFeatures\r\n• 10X Gather\r\n• 15X Sulfur\r\n• 10X Loot\r\n• Custom events\r\n• Custom Kits",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775977916,
"score": 0,
"last_online": 1776651609,
"icon": null,
"name": "Vitality - US 10x | No BPs | Kits | Shop",
"connect": "195.60.167.10:28010",
"request": "195.60.167.10:28015",
"map": "Vitality Custom Map",
"gamemode": "Survival",
"version": "2623",
"numplayers": 175,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 113,
"add_date": 1758732675,
"last_update": 1776651609,
"banned": false,
"wipe": 1776538949,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 53,
"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/10398765");
$data = json_decode($json, true);
var_dump($data);