This library provides Python functions to interact with the Springboard VR API for managing sessions and other functionalities.
| IMPORTANT: In its current state, this package can only manage sessions. See Usage below.
- Python 3.9+
pip install springboardvr
import springboardvr
client = springboardvr.SpringboardVR(account_email="your_email@example.com", account_password="your_password")
location_id = "1234" # Replace with your location ID
experience_id = "5678" # Replace with your experience ID
station_id = "9012" # Replace with your station ID
experience_start_time = datetime.datetime(2024, 3, 1, 10, 0) # Replace with your start time
duration = 60 # Duration in minutes
booking_id, station_session_id = client.sessions.create_session(
location_id, experience_id, station_id, experience_start_time, duration
)
print(f"Booking ID: {booking_id}")
print(f"Station Session ID: {station_session_id}")
booking_id = "your_booking_id"
station_session_id = "your_station_session_id"
new_start_time = datetime.datetime(2024, 3, 2, 11, 0)
new_duration = 30
client.sessions.update_session(booking_id, station_session_id, new_start_time, new_duration)
booking_id = "your_booking_id"
client.sessions.delete_session(booking_id)
booking_id = "your_booking_id"
station_id = "your_station_id"
station_session_id = "your_station_session_id"
experience_start_time = datetime.datetime(2024, 3, 1, 10, 0)
duration = 60
start_time, end_time = client.sessions.start_session(
booking_id, station_id, station_session_id, experience_start_time, duration
)
print(f"Session started at: {start_time}")
print(f"Session ends at: {end_time}")