Added API python example