GoblinRustbelt Solo/Duo 2X | No BP Wipes | Offline Protect için API
Programlar, siteler ve diğerleri için JSON
text
json
{
"response": {
"fps": 60,
"fps_avg": 53,
"entities_count": 51406,
"world_seed": 1337,
"world_size": 3100,
"steam_id": "90286549125781521",
"domain": null,
"id": 11502623,
"ip": "91.229.114.155",
"port": 28015,
"query": 28017,
"color": 0,
"city": "Chicago",
"description": "\nWipe: Weekly Every Thursday | No BP Wipes | PVP\r\n\r\nMax Teams of 2 (Strictly Enforced)\r\nPrimitive Lock Progression Wipe \r\nSmart Offline Raid Protection (24H Decaying)\r\n2.0X Gather Rate for Basic Mats (1.5X Sulfur)\r\nBlueprint Sharing Enabled\r\n\r\nVisit the website below and join our Discord!\r\n\r\nClick the button \"External Website\" <-\r\nEnjoy and have fun!",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780478056,
"last_online": 1780556435,
"icon": null,
"name": "GoblinRustbelt Solo/Duo 2X | No BP Wipes | Offline Protect",
"connect": "91.229.114.155:28015",
"request": "91.229.114.155:28017",
"map": "Custom Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1779207206,
"last_update": 1780556435,
"banned": false,
"wipe": 1780008409,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 4951,
"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/11502623");
$data = json_decode($json, true);
var_dump($data);