Can someone provide clear instructions on how to use Python API? I have spent more than 10 hours on it now.