Python Bits - Using a Rest API