Rust
API pentru WARBANDITS.GG EU 3X Weekly |Solo/Duo|LootX3| Just Wiped
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/10815456json
{
"response": {
"modded": true,
"fps": 60,
"fps_avg": 60,
"entities_count": 106491,
"world_seed": 1122041692,
"world_size": 3700,
"steam_id": "90284608150041618",
"domain": null,
"id": 10815456,
"ip": "185.29.166.119",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Amsterdam",
"description": "\nWelcome to WarBandits.gg 3x Solo/Duo Weekly!\r\n - 3x Gather Rates \r\n - 3x Crafting Speed \r\n - 3x Components and Scrap \r\n - Recyclers at additional monuments \r\n - Custom High Performance Maps \r\n - Extended Workbench range\r\n - Tier 1 BPs unlocked \r\n - Long Days & Short Nights \r\n - Group Limit: 2 \r\n - Active Staff \r\n - Fast Smelt",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1773545564,
"score": 0,
"last_online": 1776535215,
"icon": null,
"name": "WARBANDITS.GG EU 3X Weekly |Solo/Duo|LootX3| Just Wiped",
"connect": "185.29.166.119:28010",
"request": "185.29.166.119:28015",
"map": "Wiped 5 Hours ago",
"gamemode": "Survival",
"version": "2623",
"numplayers": 96,
"maxplayers": 125,
"bots": 0,
"secured": true,
"private": false,
"country": "NL",
"status": true,
"votes": 0,
"points": 93,
"add_date": 1767109904,
"last_update": 1776535215,
"banned": false,
"wipe": 1776517065,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 358,
"language": "nl",
"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/10815456");
$data = json_decode($json, true);
var_dump($data);