API pentru BattleGrounds 3x Weekly Solo/Duo/Trio/Quad
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 30,
"fps_avg": 30,
"entities_count": 92370,
"world_seed": 57297885,
"world_size": 4000,
"steam_id": "90286411332464647",
"domain": null,
"id": 10063347,
"ip": "108.74.19.235",
"port": 28052,
"query": 28053,
"color": 0,
"city": "Port Saint Lucie",
"description": "\nServer Wipes Every Thursday At 2pm EST, BP's wipe on force wipe \r\n 3x Gather Rates \r\n 3x Crafting Speed \r\n 3x Components and Scrap \r\n Recyclers at additional monuments \r\n Extended Workbench range \r\n Tier 1 BPs unlocked \r\n Long Days & Short Nights \r\n Group Limit: 4 \r\n Active Staff \r\n Fast Smelt \r\n Shared BP's \r\n Junk Removed From Loot",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780148616,
"last_online": 1780590637,
"icon": null,
"name": "BattleGrounds 3x Weekly Solo/Duo/Trio/Quad",
"connect": "108.74.19.235:28052",
"request": "108.74.19.235:28053",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 200,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1755187560,
"last_update": 1780590637,
"banned": false,
"wipe": 1780081014,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3467,
"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/10063347");
$data = json_decode($json, true);
var_dump($data);