Rust
API для WARBANDITS.GG 2X |Solo/Duo/Trio/Quad/Max5|X2 JUST WIPED
JSON для программ, сайтов и прочего
text
https://api.gamemonitoring.ru/servers/10622939json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 60,
"entities_count": 230866,
"world_seed": 469704530,
"world_size": 3700,
"steam_id": "90284367304842245",
"domain": null,
"id": 10622939,
"ip": "216.39.240.5",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Ashburn",
"description": "\nWelcome to WarBandits.gg 2x Max 5! \r\nOn our servers we provide the best Rust gameplay. We run multiple balanced plugins to improve the quality of the game. Our servers also run on the best Network & Hardware possible to improve your ingame experience on our servers! \r\n - 2x Gather Rates \r\n - 2x Crafting Speed \r\n - 2x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Extended Workbench range \r\n - Long Days & Short Nights \r\n - Group Limit: 5 \r\n - Active Staff \r\n - Fast Smelt",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775194330,
"score": 0,
"last_online": 1776317409,
"icon": null,
"name": "WARBANDITS.GG 2X |Solo/Duo/Trio/Quad/Max5|X2 JUST WIPED",
"connect": "216.39.240.5:28010",
"request": "216.39.240.5:28015",
"map": "Wiped 35 Hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 129,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 102,
"add_date": 1763330656,
"last_update": 1776317409,
"banned": false,
"wipe": 1776189443,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 75,
"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/10622939");
$data = json_decode($json, true);
var_dump($data);