Rust
API pentru WARBANDITS.GG EU 2X |Solo/Duo/Trio|X2 JUST WIPED
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/4458346json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 60,
"entities_count": 298703,
"world_seed": 624913331,
"world_size": 4000,
"steam_id": "90284654013192218",
"domain": null,
"id": 4458346,
"ip": "205.178.168.192",
"port": 28010,
"query": 28015,
"color": 0,
"city": "London",
"description": "\nWelcome to WarBandits.gg 2x Solo/Duo/trio! \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: 3 \r\n - Active Staff \r\n - Fast Smelt",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1775778122,
"score": 0,
"last_online": 1776811216,
"icon": null,
"name": "WARBANDITS.GG EU 2X |Solo/Duo/Trio|X2 JUST WIPED",
"connect": "205.178.168.192:28010",
"request": "205.178.168.192:28015",
"map": "Wiped 2 Days ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 61,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 79,
"add_date": 1716539904,
"last_update": 1776811216,
"banned": false,
"wipe": 1776603495,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 431,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Exemple de cod
php
<?php
$json = file_get_contents("https://api.gamemonitoring.ro/servers/4458346");
$data = json_decode($json, true);
var_dump($data);