API pentru 2stoned | Battle Royale | Gun Game | Aim Training
JSON pentru programe, site-uri și altele
text
json
{
"response": {
"fps": 40,
"fps_avg": 39,
"entities_count": 17325,
"world_seed": 1337,
"world_size": 6000,
"steam_id": "90286392008519696",
"domain": null,
"id": 11501903,
"ip": "83.151.204.153",
"port": 28031,
"query": 28033,
"color": 0,
"city": "Reading",
"description": ".png)\nWelcome to 2stoned MiniGames\r\n\r\nJump straight into Rust PvP. All game modes are played on custom-built monuments made exclusively for 2stoned, giving you a unique PvP environment you won’t experience anywhere else.\r\n\r\nGame Modes:\r\n|> Battle Royale – Drop in, loot up, last player standing wins.\r\n|> Gun Game – Each kill upgrades your weapon, reach the final gun to win.\r\n|> Aim Training – Practice recoil, tracking, and flicks before fighting.\r\n\r\nRules:\r\n|> No Racism\r\n|> No Homophobic Slurs\r\n|> English Only\r\n|> No Cheating\r\n|> No EAC Bans <150 Days\r\n\r\nJust PvP. No nonsense.\r\nDiscord: discord.2stonedrust.com",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1779226982,
"last_online": 1780188026,
"icon": null,
"name": "2stoned | Battle Royale | Gun Game | Aim Training",
"connect": "83.151.204.153:28031",
"request": "83.151.204.153:28033",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 800,
"bots": 0,
"secured": true,
"private": false,
"country": "GB",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207184,
"last_update": 1780188026,
"banned": false,
"wipe": 1778224495,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 5008,
"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/11501903");
$data = json_decode($json, true);
var_dump($data);