API dla BACKWOOD BANDIT PVP Solo/Duo/Trio No BP WIPE
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 112,
"fps_avg": 113,
"entities_count": 100343,
"world_seed": 56,
"world_size": 4300,
"steam_id": "90286350485566493",
"domain": null,
"id": 11639200,
"ip": "66.51.99.75",
"port": 28005,
"query": 28006,
"color": 0,
"city": "Dallas",
"description": "\nDont be a Dick! Enjoy the game as it should be.\r\nClose to Official style server with only a few plugins.\r\nNO BP WIPE\r\n25% cheaper upkeep for those that dont have time farm but want a close to original game.\r\n\r\nhttps://discord.gg/A2cAsGDk",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780605213,
"last_online": 1780165227,
"icon": null,
"name": "BACKWOOD BANDIT PVP Solo/Duo/Trio No BP WIPE",
"connect": "66.51.99.75:28005",
"request": "66.51.99.75:28006",
"map": "Procedural Map",
"gamemode": "Survival",
"version": "2625",
"numplayers": 0,
"maxplayers": 75,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": false,
"votes": 0,
"points": 0,
"add_date": 1779917956,
"last_update": 1780605213,
"banned": false,
"wipe": 1778461114,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 12142,
"language": "en",
"parked": false,
"app": {
"id": 12,
"steam_id": 252490,
"name": "Rust",
"url": "rust"
},
"server_owner": null,
"mods": [],
"disabled_modules": []
}
}Przykłady kodu
php
<?php
$json = file_get_contents("https://api.gamemonitoring.pl/servers/11639200");
$data = json_decode($json, true);
var_dump($data);