Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 584 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 584 Bytes

python_lift_api

A python API to the Lift simulator for the Box Lift competition at Pycon 2015.

REG_ID = 'the checkin number sent to you in email from Pycon 2015. It is printed with your barcode'

Usage

lift_api = BoxLift('MyAwesomeBot', plan='training_1', email='[email protected]',
    registration_id=REG_ID, event_name=PYCON2015_EVENT_NAME)
state = lift_api.send_commands()
# setup building with elevators from returned state
while state['status'] != 'finished':
    commands = decide_on_commands()
    state = lift_api.send_commands(commands)