playing with ideas using python and REST