docopt and uber api function