API dla Bates Legend -True PVE-Map Wipe 5/21-Deep Sea Fast Set.
JSON dla programów, stron i innych
text
json
{
"response": {
"fps": 60,
"fps_avg": 59,
"entities_count": 94935,
"world_seed": 1911546843,
"world_size": 4000,
"steam_id": "90286404021647391",
"domain": null,
"id": 9663132,
"ip": "89.28.237.37",
"port": 28000,
"query": 28001,
"color": 0,
"city": "Dallas",
"description": "\nBates Legend - Map Wipe 5/21\r\nMods = True PVE, Building Actions, Vehicle Locks, Sign Artist, Npc's Drop Guns.\r\nDemolish and adjust your buildings using your hammer at anytime.\r\nThis is the perfect server for beginners, base builders and those looking for relaxed gameplay with NO pvp or raiding available. Fast Deep Sea cooldown (15min)\r\nStandard Vanilla settings. Next Wipe on 6/04\r\n▼▼▼Use External Website link to join our Discord▼▼▼",
"game": 252490,
"owner": null,
"boosts": 1,
"last_offline": 1780470420,
"last_online": 1780584041,
"icon": null,
"name": "Bates Legend -True PVE-Map Wipe 5/21-Deep Sea Fast Set.",
"connect": "89.28.237.37:28000",
"request": "89.28.237.37:28001",
"map": "Procedural Map",
"gamemode": "Softcore",
"version": "2625",
"numplayers": 0,
"maxplayers": 50,
"bots": 0,
"secured": true,
"private": false,
"country": "US",
"status": true,
"votes": 0,
"points": 60,
"add_date": 1751634424,
"last_update": 1780584041,
"banned": false,
"wipe": 1779390757,
"official": null,
"wipe_period": null,
"next_wipe": null,
"pve": 0,
"pvp": null,
"list_hidden": false,
"hide_address": false,
"hide_query": false,
"position_game": 3422,
"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/9663132");
$data = json_decode($json, true);
var_dump($data);