Rust
API pentru [AU] HollowServers.co 3x Solo/Duo/Trio | Shared BPs
JSON pentru programe, site-uri și altele
text
https://api.gamemonitoring.ro/servers/8390658json
{
"response": {
"steam_id": "90284681450642436",
"domain": null,
"id": 8390658,
"ip": "172.111.33.29",
"port": 28015,
"query": 28010,
"color": 0,
"city": "Sydney",
"description": "Welcome to Hollow Servers, the heart of modded rust\r\n\r\n\\t - 3x Gather Rate\r\n\\t - Max Team: 3\r\n\\t - Custom Loot Tables\r\n\\t - Tier 1 BPs unlocked\r\n\\t - Fullbase Workbench\r\n \\t - Instant Crafting/Faster Smelting\r\n\\t - Recyclers at Dome, Oilrigs, Cargo & Fishing Villages\r\n\\t - Long Days & Short Nights\r\n\\t - Automated Teaming Detection\r\n\\t - Custom AntiCheat\r\n\\t - Free skinbox for everyone",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1774156926,
"score": 0,
"last_online": 1776813016,
"icon": null,
"name": "[AU] HollowServers.co 3x Solo/Duo/Trio | Shared BPs",
"connect": "172.111.33.29:28015",
"request": "172.111.33.29:28010",
"map": "Wiped 1 Days ago",
"gamemode": "Rust",
"version": "2623",
"numplayers": 32,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "AU",
"status": true,
"votes": 0,
"points": 73,
"add_date": 1743673690,
"last_update": 1776813016,
"banned": false,
"wipe": 1776657522,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 551,
"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/8390658");
$data = json_decode($json, true);
var_dump($data);