Real-time Balloon Updates
Receive live telemetry data from balloons including location and altitude information.
Connect to live balloon data with real-time updates and comprehensive tracking capabilities.
The Urban Sky SDK is available in two languages. Choose the one you prefer for your development environment:
Both SDKs provide identical functionality and real-time balloon telemetry access.
Get started with balloon updates in just a few lines of code:
// Load the SDK
const response = await fetch('https://sdk.atmosys.com/runtime/js/current/loader.js')
eval(await response.text())
// Initialize and connect to the SDK
const sdk = await UrbanSkySDK.init({
apiToken: 'your-api-token',
})
// Listen for real-time balloon updates
sdk.on('balloon:update', update => {
console.log('Balloon Update:', update.balloonId)
update.devices.forEach(device => {
console.log(`Device ${device.deviceId}:`)
console.log(` Location: ${device.lat}, ${device.lng}`)
if (device.altitude) {
console.log(` Altitude: ${device.altitude}m`)
}
})
})
// SDK is already connected via init()import requests
# Load the SDK
exec(requests.get('https://sdk.atmosys.com/runtime/py/current/loader.py').text)
sdk = await UrbanSkySDK.init({
'apiToken': 'your-api-token'
})
def on_balloon_update(update):
print(f"Balloon Update: {update.balloon_id}")
for device in update.devices:
print(f"Device {device.device_id}:")
print(f" Location: {device.lat}, {device.lng}")
if device.altitude:
print(f" Altitude: {device.altitude}m")
# Listen for balloon updates
sdk.on('balloon:update', on_balloon_update)
# SDK is already connected via .init()Stay connected to live balloon data with WebSocket-based real-time updates. No polling required.
Choose from JavaScript/TypeScript or Python SDKs, both with full feature parity and comprehensive documentation.
Need help getting started? We have an AI Assistant Guide that can generate a complete SDK implementation for your preferred language.
Ready to get started? Follow our Quick Start Guide →