TIRust BattleBay Solo Duo Trio için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"steam_id": "90286590983169051",
"domain": null,
"id": 8543233,
"ip": "208.103.169.182",
"port": 28010,
"query": 28015,
"color": 0,
"city": "Dallas",
"description": "\nMap Wipes Monthly on the First Thursday (Force Wipe)\r\nBlueprints Never Wipe - 50% Reduced Building Upkeep\r\nMinicopters Spawn on Roads - Locked Crates take 10 Minutes\r\nLonger Days & Shorter Nights - 50 minutes and 10 minutes\r\nCombined Outpost - Recyclers at Monuments\r\n\r\nChat Commands - !pop !ping !info !wipe\r\n\r\n\r\nWelcome aboard Treasure Island Battle Bay servers, where the seas are rough, and the battles are fierce! If you thrive on adrenaline-pumping action and high-stakes competition, then you've come to the right place. If you want a more friendly chill Rust experience, Check out our TIRust Chill servers",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1778769134,
"last_online": 1780571432,
"icon": null,
"name": "TIRust BattleBay Solo Duo Trio",
"connect": "208.103.169.182:28010",
"request": "208.103.169.182:28015",
"map": "Custom Map",
"gamemode": "Rust",
"version": "2625",
"numplayers": 0,
"maxplayers": 100,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1744755859,
"last_update": 1780571432,
"banned": false,
"wipe": 1778206638,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3126,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Kod örnekleri
php
<?php
$json = file_get_contents("https://api.gamemonitoring.tr/servers/8543233");
$data = json_decode($json, true);
var_dump($data);